Page 1 of 1
Help with GRUB Boot Loader 1.5
Posted: 2007-06-10 11:49pm
by Dominus Atheos
I have 3 hard drives in my computer, one which has my Windows XP Pro install, one which has an NTFS partition for data, a partition for Ubuntu 7, a partition for Ubuntu's /home drive, and Ubuntu's swap partition, and a third drive which I just added which is another NTFS drive for data.
My problem is whenever I have the third hard drive plugged in, GRUB throws up an error (22, I think) and refuses to load. I can plug it in after windows or ubuntu loads, and it works fine.
Another more minor problem I have is that whenever the 2nd drive is disconnected, GRUB throws up another error (15, but I could be getting the two error numbers mixed up) and also refuses to load, which is annoying because I often take the drive with me when ever I go anywhere for more then a day. (I have an external HDD case)
For reference, I installed the XP drive first, the Ubuntu drive second, and I just added the third one.
Posted: 2007-06-11 12:29am
by Resinence
Error 22 is "Device not found" and Error 15 is "file not found" (specifically the device with the /boot directory and the grub stage files). Both are essentially the same thing, that is: GRUB can't find it's next file to load so that it can boot (GRUB's too big to fit on the master boot record). Some more info would be helpful like, is the 3rd drive removable? If it is, check your bios and make sure boot of hard disk is before "removable devices". Another thing to try might be booting ubuntu without it, plugging the 3rd drive in, and running grub-install to from the CLI.
Posted: 2007-06-11 12:51am
by Dominus Atheos
Resinence wrote:Error 22 is "Device not found" and Error 15 is "file not found" (specifically the device with the /boot directory and the grub stage files). Both are essentially the same thing, that is: GRUB can't find it's next file to load so that it can boot (GRUB's too big to fit on the master boot record). Some more info would be helpful like, is the 3rd drive removable?
It's an internal drive, if that's what you mean. I have to have the case off to do anything with it.
If it is, check your bios and make sure boot of hard disk is before "removable devices". Another thing to try might be booting ubuntu without it, plugging the 3rd drive in, and running grub-install to from the CLI.
How do I do that?
Posted: 2007-06-11 01:00am
by Resinence
To change the boot settings you just have to press the delete button while it's in POST (checking the memory etc before it goes to grub), it's ussually under the "cipset features" submenu, but it's different depending on the computer. To run grub install you just open a terminal, i think its just "gnome-terminal" in accessories in ubuntu, and type "grub-install".
Posted: 2007-06-11 01:02am
by Dominus Atheos
Resinence wrote:To change the boot settings you just have to press the delete button while it's in POST (checking the memory etc before it goes to grub). To run grub install you just open a terminal, i think its just "gnome-terminal" in accessories in ubuntu, and type "grub-install".
It says "install_device not specified"
Posted: 2007-06-11 01:10am
by Resinence
Oops, "grub-install hd0" to tell it to install on the first drive's boot record.