Difference between revisions of "Redhat:Grub cmd"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== 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 <syntaxhighlight> grub> prompt </syntaxhighlight>...")
 
(No difference)

Latest revision as of 12:47, 6 September 2013

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