legacy grub quick install guide

From thelinuxwiki
Revision as of 04:19, 2 July 2014 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

grub version: 0.97

grub> root (hd<tab>

Possible disks are:  hd0 hd1 hd2 hd3 hd4
grub> root (hd4,0)
Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)

Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  22 sectors are embedded.

succeeded

Running "install /boot/grub/stage1 d (hd0) (hd0)1+22 p (hd4,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded

Done.

grub>

The MBR will now contain grub bootloader.