Name
setup
Synopsis
setup [options]install_device[image_device]
Set up installation of GRUB and run the install command to actually install GRUB onto the device install_device. Find the GRUB images on image_device if it is specified; otherwise use the current root device as set by the root command. If install_device is a hard disk, embed a Stage 1.5 file in the disk if possible.
Options
- --force-lba
Force install to use LBA mode. Specify this option if your BIOS supports LBA mode but you find that GRUB isn’t working in LBA mode without it.
- --prefix=dir
Specify the directory where the GRUB images are located. If not specified, GRUB searches for them in /boot/grub and /grub.
- --stage2=os_stage2_file
Passed to install to tell GRUB the operating system name of the Stage 2 file.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access