PDA

View Full Version : [ubuntu] Grub prompt instead of Ubuntu?



Doggonit
July 17th, 2009, 05:40 AM
So, I installed Ubuntu 9.04 as follows on a 120GB hard drive:

/ -> 20GB, Primary
/home -> 30GB, Primary
swap -> 2GB, Logical
/data -> 68GB, Logical

However, after formatting, partitioning, and installation finished, and the computer rebooted and asked me to remove to CD (which I did), I only got a grub prompt and I haven't a clue how to use that piece of garbage and why Ubuntu won't boot.

When I selected to add a boot loader (so that I might eventually install Windows or whatever else on one of the two empty 40GB hard drives also in the rig), I left the location as the default one, i.e.: hd0

Trying to reinstall everything and putting the bootloader in hda5, where / is, didn't do a damn either.

What do I do to get this rubbish working?

merlinus
July 17th, 2009, 05:54 AM
You might try this at the grub prompt:


root (hd0,0)
setup (hd0)
quit

and restart.

This assumes that / is the first partition on the hdd you are booting from.

Doggonit
July 17th, 2009, 05:58 AM
I get the following for bot root (hd0,0) and (hd0):
Error 22: No such partition

On the BIOS level, I don't see the 120GB hard drive, just the two 40GB ones and the DVD and CDRW drives. And it's also the same at the Power-on Self Test.

Could it be that as the 120GB HDD is attached to a PCI IDE card, it can't be booted from?

merlinus
July 17th, 2009, 06:02 AM
What happens if you disconnect the two 40G drives?

Doggonit
July 17th, 2009, 06:17 AM
Hm, I get a:

DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER

I suppose that whilst the IDE controller card (PCI) works fine as Ubuntu was successfully installed (I can see that much when using the CD as a Live CD) there, it cannot boot from that, so I'll just rearrange the cables and try again.

Doggonit
July 17th, 2009, 06:44 AM
It's alive! :D

Lesson is: Don't have 3 optical media drives and 3 hard drives in an old rig running an extra PCI IDE controller because you only have two IDE connections (so two master/slave pairs) to the motherboard. Your linux drive may be one of the ones hooked up to the PCI IDE controller, and thus will NOT boot until reconnected directly to the motherboard.

merlinus
July 17th, 2009, 07:30 AM
Excellent, and you learned quite a bit into the bargain! Have fun, and post back should you run into other difficulties.