Συντονιστής: adem1





sudo fdisk -l
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0x0003ca1a
Device Boot Start End Blocks Id System
/dev/sda1 1 30401 244196001 7 HPFS/NTFS
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0x000aabb3
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 29178 234371072 83 Linux
/dev/sdb2 29179 30402 9825281 5 Extended
/dev/sdb5 29179 30402 9825280 82 Linux swap / Solaris
Disk /dev/sdc: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd378d378
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 20672 156280288+ 7 HPFS/NTFS

sudo mkdir /media/sdb1
sudo mount /dev/sdb1 /media/sdb1sudo grub-install --root-directory=/media/sdb1 /dev/sda
ubuntu@ubuntu:~$ sudo mkdir /media/sdb1
ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /media/sdb1
ubuntu@ubuntu:~$ sudo grub-install --root-directory=/media/sdb1 /dev/sda
Installation finished. No error reported.
