hard disks chaos + dual boot install

Rashkae ubuntu at tigershaunt.com
Thu May 10 20:24:32 UTC 2007

Wolfgang wrote:
> Hi,
> I got some chaos in my computer, but to start from the beginning: first 
> I had only one hd and I've installed feisty on it. Now I've put a second 
> disk in the computer to install win2k on it. For safety reasons I'd 
> unplugged the linux drive during install of win. Now I have each OS on 
> one hd.
> Now to the problem: I can only boot linux when I change the boot order 
> in the bios. How can I adapt grub to load windows as well? An other 
> possibility would be that I copy all linux files into the empty space of 
> the new disk (there is enough unallocated place left). But then I will 
> probably also have to adapt fstab, but I'm not sure if there are other 
> things I have to take care of.

Fortunately, this is very easy (if not at all intuitive.).

you need to edit the the /boot/grub/menu.lst file and add the following. 
    You need only save the file for the changes to take effect; no other 
steps are necessary.

# For booting Windows NT or Windows95

title Windows 2000
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd1,0)
chainloader  +1

> So, many thanks in advance for help and/or suggestions what to do.
> Kind regards
> Wolfgang

More information about the ubuntu-users mailing list