[linux] Re: bootable usb...
hans paijmans
j.j.paijmans op gmail.com
Zo Jul 17 19:38:37 CEST 2016
On 17-07-16 18:08, Frans van Berckel wrote:
> grub-install --boot-directory=/media/target/boot /dev/sdb
Hier gaat het mis (en ging bij eerdere pogingen ook mis).
NB: het is een hele oude Ubuntu (9.04). Misschien is grub tussentijds
veranderd. Zal ik --root-directory proberen?
root op ubuntu:/home/paai# grub-install --boot-directory=/media/target/boot
/dev/sdb
Unrecognized option `--boot-directory=/media/target/boot'
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-shell=FILE use FILE as the grub shell
--no-floppy do not probe any floppy drive
--force-lba force GRUB to use LBA mode even for a buggy
BIOS
--recheck probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.
Report bugs to <bug-grub op gnu.org>.
paai
More information about the Linux
mailing list