Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2012
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. root@ubuntu:/tmp# grub-install --boot-directory=/mnt/boot/ /dev/sda
  2. Unrecognized option `--boot-directory=/mnt/boot/'
  3. Usage: grub-install [OPTION] install_device
  4. Install GRUB on your drive.
  5.  
  6. -h, --help print this message and exit
  7. -v, --version print the version information and exit
  8. --modules=MODULES pre-load specified modules MODULES
  9. --root-directory=DIR install GRUB images under the directory DIR
  10. instead of the root directory
  11. --grub-setup=FILE use FILE as grub-setup
  12. --grub-mkimage=FILE use FILE as grub-mkimage
  13. --grub-probe=FILE use FILE as grub-probe
  14. --no-floppy do not probe any floppy drive
  15. --recheck probe a device map even if it already exists
  16. --force install even if problems are detected
  17. --disk-module=MODULE disk module to use
  18.  
  19. INSTALL_DEVICE can be a GRUB device name or a system device filename.
  20.  
  21. grub-install copies GRUB images into /boot/grub (or /grub on NetBSD and
  22. OpenBSD), and uses grub-setup to install grub into the boot sector.
  23.  
  24. If the --root-directory option is used, then grub-install will copy
  25. images into the operating system installation rooted at that directory.
  26.  
  27. Report bugs to <bug-grub@gnu.org>.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement