Dual-boot with W2K / Ubuntu on GRUB (SOLVED!)
The scenario is this:
I've been using Windows for quite a while on my HD-1. It is devoted solely to Windows leaving only 10GB of its 120GB empty - withouth any FS.
I bought new, a blank, 200GB drive which was meant to be dedicated only for Ubuntu Linux.
Recently I gave the HD a partition table and installed Ubuntu on it. Everything went fine and I had my Windows-HD unplugged at the time, so that I couldn't anyhow damage my Windows partitions.
The problems started when I was about to make my system working with 2 HDs and dual-boot compatible.
First I had Ubuntu-HD on IDE-1 Master and Windows-HD as IDE-2 Slave. (CDs were on IDE-2)
I couldn't boot to Windows and I was told that Windows cannot boot itself if it's not HDA (i.e. IDE-1 Master).
So went to jumperize my HDs and made it other way around. Ubuntu-HD as /dev/hdb and Windows-HD as /dev/hda.
But then it just booted straight Windows, although I had applied into BIOS an option that HDD-1 was the second boot device (after CD) and HDD-0 was the third. That is to say that although Ubuntu-HD should be booted first - it wasn't.
I decided to make 'em both master-drives on different IDE-channels. Windows-HD being Master in IDE-1 and Ubuntu-HD in IDE-2. Still no good.
I managed to have Ubuntu-HD booted first, but from GRUB I couldn't make it to Windows. It just nagged about "Root (hd0,0) Filesystem type is ext2fs. Partition type 0x83. Error 13: Invalid or unsupported executable format."
Linux could be booted again (although it gave me some very weird errors, but I'm sure they were nothing since I could get Linux loading.)
I've been told about GRUB's virtual swapping ability which could be my salvation, but I'm not very aware what should I apply into menu.lst-file.
If someone is so kind, please tell me how to do is?
And is it still possible to keep Linux-HD as /dev/hda and Windows-HD as /dev/hdb and get both operating systems booted up with this virtual swapping.
(About virtual swapping in here: http://www.gnu.org/software/grub/manual/grub.html - page 4.2.6)
What to put in menu.lst to enable this disk swapping?