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

Reply via email to