sakira
(usa Ubuntu)
Enviado em 13/07/2013 - 23:22h
Tá ai
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 581631 289792 7 HPFS/NTFS/exFAT
/dev/sda2 581632 1267439615 633428992 7 HPFS/NTFS/exFAT
/dev/sda3 1267441662 1543919615 138238977 f W95 Ext'd (LBA)
/dev/sda4 1543919616 1953499135 204789760 7 HPFS/NTFS/exFAT
/dev/sda5 1267441664 1406855475 69706906 7 HPFS/NTFS/exFAT
/dev/sda6 1406857216 1527144447 60143616 83 Linux
/dev/sda7 1527146496 1543919615 8386560 82 Linux swap / Solaris
ubuntu@ubuntu:~$ sudo mount /dev/sda6 /mnt/
ubuntu@ubuntu:~$ sudo grub-install -–root-directory=/mnt/ /dev/sda
Unrecognized option `-–root-directory=/mnt/'
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
--modules=MODULES pre-load specified modules MODULES
--boot-directory=DIR install GRUB images under the directory DIR/grub
instead of the /boot/grub directory
--grub-setup=FILE use FILE as grub-setup
--grub-mkimage=FILE use FILE as grub-mkimage
--grub-mkrelpath=FILE use FILE as grub-mkrelpath
--grub-mkdevicemap=FILE use FILE as grub-mkdevicemap
--grub-probe=FILE use FILE as grub-probe
--no-floppy do not probe any floppy drive
--allow-floppy Make the drive also bootable as floppy
(default for fdX devices). May break on some BIOSes.
--recheck probe a device map even if it already exists
--force install even if problems are detected
--disk-module=MODULE disk module to use
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into /boot/grub, and uses grub-setup
to install grub into the boot sector.
Report bugs to <bug-grub@gnu.org>.
ubuntu@ubuntu:~$
Desculpa a encomodação e nubice :~ Rs.