
aninhacaldas
(usa Ubuntu)
Enviado em 27/01/2011 - 18:06h
[email protected]:~$ sudo fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xac7eb5e0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 14361 115245133+ 7 HPFS/NTFS
/dev/sda3 14361 38914 197221377 5 Extended
/dev/sda5 33784 38698 39473152 83 Linux
/dev/sda6 38698 38914 1734656 82 Linux swap / Solaris
/dev/sda7 14361 23672 74791936 83 Linux
/dev/sda8 23672 24073 3216384 82 Linux swap / Solaris
Partition table entries are not in disk order
Sobre o outro comando, aparece assim:
[email protected]:~$ sudo mount -t ext4 /dev/sda7 /mnt
mount: /dev/sda7 already mounted or /mnt busy
mount: according to mtab, /dev/sda7 is already mounted on /mnt
[email protected]:~$ sudo grub-install --root-directory=/mnt /dev/sda
grub-probe: error: Cannot open `/boot/grub/device.map'
[: 494: =: unexpected operator
Installing GRUB to /dev/sda as (hd0)...
Installation finished. No error reported.
This is the contents of the device map /mnt/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/sda