Hello,

Fredag 28 juli 2006 19:59, skrev Tobias 'tri' Richter:
> 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:

hm, I cant get it to work.
This is my postinst.sh:

echo "--- this is postinst.sh ---"

if [ -n $LEGACY_BIOS_HEAD ] ; then
    echo "We have $LEGACY_BIOS_HEAD legacy bios heads to work with"
    if [ "$LEGACY_BIOS_HEAD" == "240" ] ; then
         echo "..ohoa 240 heads,.. ..patching disk manually..: "
         #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
    fi
fi

echo "--- end postinst.sh ---"

The Thinkpads is the only machines I have that report 240 heads so I was 
thinking I could get away with the extra ifs..
..and they seem to be correct for me..

dd is patching both places.
But, windows wont start up. I dont get the ntdlr missing message , It just 
loops on the first windows startup screen.

So, now I wonder what differences we have in our setups...



-- 
mvh
Nils Olav Fossum
IT-Kontoret
Midtre Gauldal Kommune

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to