Grubinstall devsda

This will install the boot loader to the MBR of the hard disk. Replacing /dev/sda with /dev/sdal would install GRUB to the boot record of the first partition.

- r ■ rj For one-time booting, you can use the command grubonce to choose a different

A--.: ^ ^j boot entry from the default for the next boot. You will see a numbered list of boot entries from the GRUB menu. You then type (for example) grubonce 2 to select the entry with number 2. Then if you type reboot, the system automatically chooses the item you selected. This means you do not have to catch the boot screen to choose the correct entry. This can be particularly useful for rebooting a remote machine.

Was this article helpful?

0 0

Post a comment