Torsdag 13 september 2007 18:18, skrev David Nalley: > Hi guys, I have a new batch of Lenovo T61s that I am attempting to install > to. What I have done thus far: > 4.6 livecd doesn't work due to NIC/SATA/potentially other hardware being > missing. > > I tried unattended-gui livecd but had a nic issue or two. > > I then compiled my own livecd from CVS with parted 1.6.22 (as per the wiki) > as well as 1.8.8. 1.8.8 failed to find an active partition and doesn't > appear to do more than create a partition beginning at 512B and ending at > 4000MB. 1.6.22- despite claims to the contrary produces the NTLDR is > missing error. I have tried the install.pl patch from Warran Volz that is > on the wiki, and again, same NTLDR problem. > > I thought, based on my reading that reverting to 1.6.22 was supposed to > resolve the NTLDR issue with the daily builds. Have I missed something?
Im not sure.., but anyway; I used a little script to fix the boot partition after the initial win-installer had run in dosemu (before the first reboot). This fixed my Lenovo/IBM laptop troubles. This was some months ago, and I don't have one of these machines to test on now. The idea was picked up on this mail-list; (Thanks!) First you have to patch the master script with some hooks Second, create a 'hooks' folder on the 'z' install share. I used to prepend the 'postdosemu.sh' script with a underscore when not installing Thinkpads.. ..se attached files :) I hope this can help you get something running. Its very clear that we need a better solution than we have today.. Parted and Dosemu has always been troublesome
_postdosemu.sh
Description: application/shellscript
--- 2007-04-10-work/unattended/linuxboot/misc/master 2006-09-20 15:03:07.000000000 +0200
+++ 2007-03-26/unattended/linuxboot/misc/master 2007-03-28 10:47:47.000000000 +0200
@@ -280,6 +280,10 @@
[ -d /z/linuxaux ] \
|| die "Invalid install share: /z/linuxaux directory not found."
+#Just a hook
+[ -f /z/hooks/zmountedhook.sh ] \
+ && . /z/hooks/zmountedhook.sh
+
echo "*** Excellent. Now, let's see about mass storage controllers..."
# PCI classes 0x01nnnn are mass storage controllers.
@@ -336,6 +340,12 @@
edd_dir=/sys/firmware/edd/int13_dev80
echo "*** ...and look for legacy BIOS disk geometry in $edd_dir"
+#When booting from a memory stick on a SATA system we sometimes get the
+#memory stick as int13_dev80. This is a chance to fix this
+[ -f /z/hooks/fixbootdevice.sh ] \
+ && . /z/hooks/fixbootdevice.sh
+
+
# Here we shamelessly assume that we have found the boot device (BIOS
# disk 80h), and that this is the device the user wanted. Need to do
# better someday. FIXME.
@@ -383,6 +393,9 @@
# Used as staging area by install.pl
[ -d /c ] || mkdir /c
+[ -f /z/hooks/preinstallpl.sh ] \
+ && . /z/hooks/preinstallpl.sh
+
perl -I/z/lib /z/dosbin/install.pl \
|| die "install.pl exited non-zero"
@@ -399,9 +412,15 @@
cp /etc/dosemu/dosemu.conf /tmp
echo \$_hdimage = \"/dev/dsk$active_part\" >> /tmp/dosemu.conf
+[ -f /z/hooks/predosemu.sh ] \
+ && . /z/hooks/predosemu.sh
+
# DOSEMU always exits non-zero. FIXME.
dosemu.bin -f /tmp/dosemu.conf
+[ -f /z/hooks/postdosemu.sh ] \
+ && . /z/hooks/postdosemu.sh
+
sync
reboot
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ unattended-info mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-info
