To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details.
ubu...@ubuntu:~$ sudo fdisk -l Disco /dev/sda: 80.1 GB, 80060424192 bytes 255 cabezas, 63 sectores/pista, 9733 cilindros Unidades = cilindros de 16065 * 512 = 8225280 bytes Tamaño de sector (lógico / físico): 512 bytes / 512 bytes Tamaño E/S (mínimo/óptimo): 512 bytes / 512 bytes Identificador de disco: 0x01d601d6 Dispositivo Inicio Comienzo Fin Bloques Id Sistema /dev/sda1 * 1 4377 35154944 83 Linux /dev/sda3 4377 9732 43015299 f W95 Ext'd (LBA) /dev/sda5 4634 9732 40957686 7 HPFS/NTFS /dev/sda6 4377 4633 2057216 82 Linux swap / Solaris Las entradas de la tabla de particiones no están en el orden del disco ubu...@ubuntu:~$ sudo mount /dev/sda1 /mnt ubu...@ubuntu:~$ sudo grub-install --root-directory=/mnt/ /dev/sda1 /usr/sbin/grub-setup: warn: Intento de instalar GRUB en una partición en vez de MBR. Esto es una MALA idea.. /usr/sbin/grub-setup: warn: No es posible incrustar. GRUB sólo puede instalarse en esta configuración usando listas de bloques. Sin embargo, éstas NO SON FIABLES y su uso está desaconsejado.. /usr/sbin/grub-setup: error: Si realmente quiere usar listas de bloques, use --force. ubu...@ubuntu:~$ --force --force: orden no encontrada ubu...@ubuntu:~$ -- force sudo grub-install --root-directory=/mnt/ /dev/sda1 --: orden no encontrada ubu...@ubuntu:~$ sudo grub-install --force-directory=/mnt/ /dev/sda1 Unrecognized option `--force-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 --root-directory=DIR install GRUB images under the directory DIR instead of the root directory --grub-setup=FILE use FILE as grub-setup --grub-mkimage=FILE use FILE as grub-mkimage --grub-probe=FILE use FILE as grub-probe --no-floppy do not probe any floppy drive --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 (or /grub on NetBSD and OpenBSD), and uses grub-setup to install grub into the boot sector. If the --root-directory option is used, then grub-install will copy images into the operating system installation rooted at that directory. Report bugs to <bug-grub@gnu.org>. ubu...@ubuntu:~$ -h -h: orden no encontrada ubu...@ubuntu:~$ ^C ubu...@ubuntu:~$ -- Felipe (yo).
_______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub