preserving dos partitions

Nicolas Courtel courtel at cena.fr
Tue Sep 28 16:06:51 CEST 2010


mamadou diop a écrit :
> Hello, i have configured my /srv/fai/config/disk_config/FAIBASE so 
> that after installation the Windows
> partition is preserved. I am sure that the Windows partition is 
> preserved because during installation,
> setup_harddisks told me that the /dev/sda1 driver was going to be 
> preserved. Also, i have added the GRUB class to
> my host. After installation, i didn't see Windows in the OS choice 
> menu. There are only Ubuntu in the menu of choice of
> Operating Systems. What have i forgotten to do?
man grub?

When using grub legacy, you need to add a few lines at the end of 
/boot/grub/menu.lst, like the following:

title Windows
rootnoverify (hd0,0)
makeactive
chainloader  +1
boot

If you use grub-pc, just install os-prober, and run update-grub, Windows 
should show up.

-- 
Nicolas


More information about the linux-fai mailing list