Δημοσιεύτηκε: 24 Δεκ 2010, 03:00
από Mike J
ok έβγαλε
Κώδικας: Επιλογή όλων
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa72d0239

Device Boot Start End Blocks Id System
/dev/sda1 1 1529 12281661 27 Unknown
/dev/sda2 * 1530 15979 116068352 7 HPFS/NTFS
/dev/sda3 15979 19019 24414062+ 83 Linux
/dev/sda4 19019 38914 159805441 f W95 Ext'd (LBA)
/dev/sda5 30402 38914 68371456 7 HPFS/NTFS
/dev/sda6 19019 19627 4882432 82 Linux swap / Solaris
/dev/sda7 19627 30401 86547456 7 HPFS/NTFS

Partition table entries are not in disk order

Disk /dev/sdb: 7840 MB, 7840259584 bytes
255 heads, 63 sectors/track, 953 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x04dd5721

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 953 7654941 c W95 FAT32 (LBA)
ubuntu@ubuntu:~$ sudo mkdir /media/sda3
ubuntu@ubuntu:~$ sudo mount /dev/sda3 /media/sda3
ubuntu@ubuntu:~$ sudo grub-install --root-directory=/media/sda3 /dev/sda
Installation finished. No error reported.
ubuntu@ubuntu:~$

Κάνω restart και είναι έτοιμο?