|
From: | Manuel Verdugo Luque |
Subject: | report bugs |
Date: | Wed, 4 Jul 2012 20:29:31 +0000 |
address@hidden:/home/ubuntu# sudo su address@hidden:/home/ubuntu# fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00034e34 Device Boot Start End Blocks Id System /dev/sda1 * 2048 419432447 209715200 83 Linux /dev/sda2 419441085 529148969 54853942+ b W95 FAT32 Partition 2 does not start on physical sector boundary. /dev/sda3 529148970 976768784 223809907+ 7 HPFS/NTFS/exFAT Partition 3 does not start on physical sector boundary. Disk /dev/sdb: 1000 MB, 1000275456 bytes 32 heads, 63 sectors/track, 969 cylinders, total 1953663 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x005e67ea Device Boot Start End Blocks Id System /dev/sdb1 * 63 1953503 976720+ 6 FAT16 Disk /dev/sdc: 4004 MB, 4004511744 bytes 116 heads, 51 sectors/track, 1322 cylinders, total 7821312 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 * 32 7821311 3910640 b W95 FAT32 address@hidden:/home/ubuntu# mount /dev/sda1 /mnt mount: /dev/sda1 already mounted or /mnt busy mount: according to mtab, /dev/sda1 is already mounted on /mnt address@hidden:/home/ubuntu# grub-install --rootdirectory=/mnt/ /dev/sda Unrecognized option `--rootdirectory=/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 <address@hidden>. address@hidden:/home/ubuntu# grub-install --rootdirectory=/mnt/ /dev/sda Unrecognized option `--rootdirectory=/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 <address@hidden>. address@hidden:/home/ubuntu# sudo update-grub /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). address@hidden:/home/ubuntu#
Luque
|
[Prev in Thread] | Current Thread | [Next in Thread] |