grub legacy guide

From thelinuxwiki
Revision as of 16:32, 8 November 2017 by Nighthawk (Talk | contribs)

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

==