How to Dual-drive boot Vista/Kubuntu

Asked by Dave Strang

I have Kubuntu on my first SATA drive and a Vista drive on my second drive. I want to keep the Vista drive
unchanged. On the SATA chain the Kubuntu drive is seen first, so what entry in grun menu.lst do I need?

I have tried this:

### END DEBIAN AUTOMAGIC KERNELS LIST

title Windows Vista
root(hd1,0)
chainloader +1
boot

and grub complains: Error 13: Invalid or unsupported executable format.

My drives look like this:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 18662 149902483+ 83 Linux
/dev/sda2 18663 19457 6385837+ 5 Extended
/dev/sda5 18663 19457 6385806 82 Linux swap / Solaris

Disk /dev/sdb: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/sdb1 * 1 6529 52444161 7 HPFS/NTFS
/dev/sdb2 47495 48641 9213277+ 7 HPFS/NTFS

Where do I go from here? I've already tried several other grub entries, but I seem to be flying blind here.
Is there any information for grub if I boot into the live CD without installing?

Regards,
Dave

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please tell if:
have you just installed Ubuntu and you get this error or have you made some change to your hard disk configurations...?
Have you some rescue partition on NTFS drive...?

Thank you

Revision history for this message
Dave Strang (dstrang) said :
#2

I'm in Kubuntu as I write this. I've been running Kubuntu since August. I have Vista on a seperate drive. Since the Kubuntu
drive is the first drive on the SATA controler, its the boot drive. The CD/DVD ROM is the second device, and the Vista drive
is last. I connected the Vista drive and added the Vista lines to the end of menu.lst. When I select Vista to boot into from
the grub menu I get Error 13.

I'm trying to boot into Vista (second drive) from grub that is installed on the first drive.

What do I need to put into grub/menu.lst to boot into Vista?

Regards,
Dave

Revision history for this message
Dave Strang (dstrang) said :
#3

Here is something I ran across tonite.

In grub/menu.lst :

title=Vista
rootnoverify (hd1,0)
map (hd1)(hd0)
map (hd0)(hd1)
chainloader +1

Now, from a terminal, run grub with:

grub>root (hd0,0)
grub>setup(hd0)
grub>quit

What's with this?

Regards,
Dave

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

First please try this:

title=Vista
rootnoverify (hd1)
chainloader +1

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask Dave Strang for more information if necessary.

To post a message you must log in.