PDA

View Full Version : Booting from Grub command Line --Linux Help!



Hot'n'Chilly
05-26-2008, 05:52 PM
I installed CentOS 5.1 on a western digital 120gb external hd. Installation seemed to go smoothly. When I rebooted the system, however, the grub command line came up instead of the graphical boot splash window. I installed grub on the master boot record of the external hd.

How do I manually start/boot the kernel from the grub command line (the plain black and white text)?

ownage
05-26-2008, 06:05 PM
grub> root (hd0,1)
grub> kernel /vmlinuz root=/dev/sda2 ro
grub> boot

HD0,1 means first partition on the first disk.
vmlinuz is the kernel, but is probably not named vmlinuz. If you boot from a live-cd you can mount the boot partition, to see what the kernel name is.
Edit sda2 if needed. This should be the partition with the "/" label (root).