Redhat:Grub cmd

From Define Wiki
Revision as of 12:47, 6 September 2013 by Michael (talk | contribs) (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>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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