Difference between revisions of "grub legacy guide"
From thelinuxwiki
(Created page with "==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. ==nami...") |
(→installation) |
||
| (3 intermediate revisions by one user not shown) | |||
| Line 8: | Line 8: | ||
(hd0,1) | (hd0,1) | ||
`hd' means it is a hard disk drive, `0' indicates the drive number, `1', indicates the partition number | `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 | ||
Latest revision as of 20:18, 10 November 2017
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