Grub, dual booting Windows and Ubuntu on seperate Hard Drives, Error 2

Associate
Joined
5 Apr 2008
Posts
1,526
Hi,
I just installed Ubuntu 8.04 x64 on a ide hard drive, i already had vista on a sata drive.

When it came to boot it said Grub stage 1.5 (or somthing)

Please wait...

Error 2

Apparently this means it cannot find the drive or something.

This is my first linux installation so i dont know much on the topic...

Help?
 
If I remember you may need to change the boot entry. Highlight the one that isn't working then press 'e' to edit, then you should be able to edit where it looks for the OS. It will be hd(0,0) or something. First number being drive second being partition. Change them till you get the right one. So if you have 2 drives and Ubuntu is on the 2nd, try (1,0).

This is from memory, I will have a look at mine now, not used it in ages.

Edit: Just had a look, you need to press 'e' twice. Also the numbering can be a bit strange, so might not be what you think, RAID arrays can make the numbers go funny. I use (hd0,0).
 
Last edited:
I've no idea about RAID and Grub, but I do know that "Error 2" means "Selected disk doesn't exist"

If you run a live cd, and then enter "fdisk -l" at the terminal, that will display your drive devices partitions as they appear to the kernel. Identify which is your Linux drive, and which is your Windows drive, then correlate the drive number from that. E.g. /dev/sda1 will be hd(0,0) in grub, while /dev/sdb2 will be hd(1,1).
 
Last edited:
Once you have worked out which disk is correct, edit the /boot/grub/menu.list file with the new settings or I think youll have to enter the values every time.
 
Once you have worked out which disk is correct, edit the /boot/grub/menu.list file with the new settings or I think youll have to enter the values every time.

Yes indeed, also make sure you are sudo when you do it, or you won't be allowed to save the changes :)
 
sorry im lost
1. When do i press E twice?
2. How do i find menu.list.

HELP ME!

Could someone give me a step by step way of doing this?

By the way i have burned ubuntu to a disk.
 
Start the Live CD, and when you are in Ubuntu go to Applications - Accessories and then Terminal. Then type "fdisk -l" and you should get details about the drives/partitions it finds. Then you can work out which drive is which by its size/name.
 
Well he did point out that fdisk -l didn't work for him. Which is strange, should give some output or an error.
 
I could try reinstalling ubuntu on my ide drive, while the ohter drive is unplugged then i plug my other drive. Have *** vista drive as default in bios but press F8 on startup to boot the ide drive.
 
Back
Top Bottom