Redhat:Grub cmd

From Define Wiki
Jump to navigation Jump to search

Grub Command Line

The Grub command line may be booted in the event that the system cannot be booted. To see the list of command type prompt

grub> prompt


The first step is to locate the boot directory using the find or root commands.

grub> find /grub/grub.conf
      (hd0,0)


grub> root
       (hd0,0): Filesystem type is ext2fs, partition type 0x83


Then we need to locate and edit the conf file.

grub> vi (hd0,0)/grub/grub.conf