Home | History | Annotate | Download | only in util

Lines Matching refs:GRUB

3 # Install GRUB on your drive.
32 grub_shell=${sbindir}/grub
33 grub_set_default=${sbindir}/grub-set-default
34 log_file=/tmp/grub-install.log.$$
35 img_file=/tmp/grub-install.img.$$
37 grub_prefix=/boot/grub
47 mklog="/bin/tempfile --prefix=grub"
48 mkimg="/bin/tempfile --prefix=grub"
50 mklog="/bin/mktemp /tmp/grub-install.log.XXXXXX"
51 mkimg="/bin/mktemp /tmp/grub-install.img.XXXXXX"
61 Usage: grub-install [OPTION] install_device
62 Install GRUB on your drive.
66 --root-directory=DIR install GRUB images under the directory DIR
68 --grub-shell=FILE use FILE as the grub shell
70 --force-lba force GRUB to use LBA mode even for a buggy
74 INSTALL_DEVICE can be a GRUB device name or a system device filename.
76 grub-install copies GRUB images into the DIR/boot directory specfied by
77 --root-directory, and uses the grub shell to install grub into the boot
80 Report bugs to <bug-grub@gnu.org>.
85 # Convert an OS device to the corresponding GRUB drive.
128 echo "grub-install does not support your OS yet." 1>&2
144 # GRUB's syntax.
238 echo "grub-install (GNU GRUB ${VERSION})"
242 --grub-shell=*)
243 grub_shell=`echo "$option" | sed 's/--grub-shell=//'` ;;
282 # Because /boot is used for the boot block in NetBSD and OpenBSD, use /grub
283 # instead of /boot/grub.
284 grub_prefix=/grub
288 # Use /boot/grub by default.
293 grubdir=${bootdir}/grub
296 # Check if GRUB is installed.
297 # This is necessary, because the user can specify "grub --read-only".
323 # Create the GRUB directory if it is not present.
371 # The GRUB format with no parenthesis.
387 grub_prefix="/grub"
390 # Convert the root device to a GRUB drive.
396 # Check if the root directory exists in the same device as the grub
409 # Copy the GRUB images to the GRUB directory.
421 # Make sure that GRUB reads the same images as the host OS.
471 echo "fix it and re-run the script \`grub-install'."