Hi,

i had Problems with the IBM Thinkpad R52 and R51 - i run unattended and then
got the wellknown "NTLDR Missing" Failure.

Now i solved it (with the message from this thread, but can't find this thread
anymore)...
It is a bit of a workaround but he! it is working... and save me a lot of time:

First you have to edit your master.pl

------------------------------------------------
--- master.org  2006-06-10 12:45:21.828736942 +0200
+++ master      2006-06-10 12:47:04.144845228 +0200
@@ -399,9 +399,15 @@
 cp /etc/dosemu/dosemu.conf /tmp
 echo \$_hdimage = \"/dev/dsk$active_part\" >> /tmp/dosemu.conf

+[ -f /z/site/preinst.sh ] \
+  && . /z/site/preinst.sh
+
 # DOSEMU always exits non-zero.  FIXME.
 dosemu.bin -f /tmp/dosemu.conf

+[ -f /z/site/postinst.sh ] \
+  && . /z/site/postinst.sh
+
 sync
 reboot
------------------------------------------------

And then create a postinst.sh script inside the site folder:

----postinst.sh----
#FOR "NORMAL" USE if you have 255 HEADs but you don't have to use this because
the linuxbootdisk
#is working for "NORMAL" PCs
#echo -e -n "\xff" |dd of=/dev/sda1 bs=1 seek=26 conv=notrunc
#mkdir -p /mnt/drive
#mount -t msdos /dev/dsk1 /mnt/drive
#echo -e -n "\xff" |dd of=/mnt/drive/\$win_nt\$.~bt/bootsect.dat bs=1 seek=26
conv=notrunc

#FOR IBM R52 AND R51
echo -e -n "\xf0" |dd of=/dev/sda1 bs=1 seek=26 conv=notrunc
mkdir -p /mnt/drive
mount -t msdos /dev/dsk1 /mnt/drive
echo -e -n "\xf0" |dd of=/mnt/drive/\$win_nt\$.~bt/bootsect.dat bs=1 seek=26
conv=notrunc
sleep 30
-------------------

Run unattended and have fun...

I use unattended with a mysql database - so if i ever have more time, i will do
a mysql based of the postinst.sh script. For now i manuel edit this file...

To solve the problem the "right" way, i though a bartpe or a complete new linux
bootdisk would be a good way. Also we have to find a way to add "Windows Vista
Support".

Have fun... ;)

--
Best regards
Tobias 'tri' Richter

Visit me at:
http://tobias.datenwerkstatt-richter.de/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to