Which version of systemimager are you using? Have you tried to add <boel devstyle="devfs"/>
in your autoinstallscript.conf (and run si_mkautoinstallscript again)? Regards, -Andrea Craig West wrote: > Hi All, > > I've had the same problem to this and I think I understand what is > happening and have a temporary work around. > > It appears that the /dev/ partition isn't mounted correctly inside the > chroot. You can see this from the /tmp/si.log > I will list select lines from the log here -- you will notice there is > no mention of "devfs" > > ----- > mount /dev/hda1 /a/ -t ext3 -o defaults || shellout > mount /dev/hda3 /a/tmp -t ext3 -o defaults || shellout > mount proc /a/proc -t proc -o defaults || shellout > mount sysfs /a/sys -t sysfs -o defaults || shellout > ----- > > As such I have written a post install script that mounts devfs (inside > the chroot) lets grub setup itself correctly, and then unmounts the > devfs. I have tested this myself, but give no promises. Of course if > your device is something other than "/dev/hda" please correct this. You > will notice that I have let grub-install modify the device.map. > > ------- > mount devfs /dev -t devfs -o defaults > /usr/sbin/grub-install --recheck --no-floppy /dev/hda > umount /dev > ------- > > P.S. As I am new to system imager and this list, I am not sure if there > is some official means of posting a bug report? > > Cheers, > Craig. > > >> Very true! the correct file was device.map... sorry for the double >> error! I wrote too quickly... >> >> Moreover I missed to say that after setting-up the correct device.map >> you need to run grub-install... so the final (now correct, I suppose) >> post-install script should be: >> >> -------------------------------------- >> #!/bin/sh >> cat << EOF > /boot/grub/device.map >> (fd0) /dev/fd0 >> (hd0) /dev/sda >> EOF >> /usr/sbin/grub-install --force-lba --no-floppy /dev/sda >> -------------------------------------- >> >> Anyway, have you tried to update systemconfigurator to 2.2.2? >> >> -Andrea >> >> Jason McCoy wrote: >>> Andrea, >>> I tried your script. I even put the right file name(device.map) instead >>> of menu.lst ;-) >>> It still did not work. >>> I do not understand why I can install the box with the install CD and >>> make a golden client, yet I can not install it with SystemInstaller. It >>> makes no sense. >>> I even tried doing 'dd if=/dev/zero of=/dev/sda' from the install disk >>> just to make sure without a doubt that the mbr, partition table and all >>> data were in fact gone. Still it does not seem to work. >>> >>> On 11/14/06, *Andrea Righi* <[EMAIL PROTECTED] >>> <mailto:[EMAIL PROTECTED]>> wrote: >>> >>> Sorry.... obviously the correct script is the following: >>> >>> -------------------------------------- >>> #!/bin/sh >>> cat << EOF > /boot/grub/menu.lst >>> (fd0) /dev/fd0 >>> (hd0) /dev/sda >>> EOF >>> -------------------------------------- >>> >>> or /dev/hda if you have not a scsi disk... >>> >>> Best regards, >>> -Andrea >>> >>> Andrea Righi wrote: >>> > Jason, >>> > >>> > so you could try to define a simple post-install script like the >>> > following (see /var/lib/systemimager/scripts/post-install/README for >>> > more informations about post-install scripts): >>> > >>> > -------------------------------------- >>> > #!/bin/sh >>> > cat << EOF > /boot/grub/menu.lst >>> > (fd0) /dev/fd0 >>> > (hd0) /dev/hd0 >>> > EOF >>> > -------------------------------------- >>> > >>> > Moreover, which versions of grub and systemconfigurator are you using? >>> > >>> > Regards, >>> > -Andrea ------------------------------------------------------------------------- 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 _______________________________________________ Sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
