grub legacy guide

From thelinuxwiki
Jump to: navigation, search

Contents

introduction

chain-load is the mechanism for loading unsupported operating systems by loading another boot loader. It is typically used for loading DOS or Windows.

naming convention

device syntax

(hd0,1)

`hd' means it is a hard disk drive, `0' indicates the drive number, `1', indicates the partition number

to actually access the disks or partitions with GRUB, you need to use the device specification in a command, like `root (fd0)' or `unhide (hd0,2)'

for example, you only need to type

    root (

followed by a <TAB>, and GRUB will display the list of drives, partitions, or file names

    (hd0,0)/vmlinuz

This specifies the file named `vmlinuz', found on the first partition of the first hard disk drive.

installation

installing grub natively

Installing GRUB using grub-install

Caution: This procedure is definitely less safe