I could not install grub for the first command below, and the reported
errots are as follow: I use Ubuntu 16.04 on a 32 bit machine with 1 GB RAM.
No windows, only llnux. The sdb device is an usb device where I copied
ubuntu os from another usb using dd command like
dd if=/dev/sda of=/dev/sdb
Any suggestions for me? Thanks.
arasu@lihome:~$ sudo grub-install --boot-directory=/mnt/boot /dev/sdb
Unrecognized option `--boot-directory=/mnt/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 <address@hidden>.
arasu@lihome:~$