For some reasons to long to be explained I have to copy my Linux partition in another HD and then boot Ubuntu from there.
This if my fdisk -l
output
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 testine, 63 settori/tracce, 30401 cilindri, totale 488397168 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x52f375e9
Dispositivo Boot Start End Blocks Id System
/dev/sda1 2048 3071999 1534976 82 Linux swap / Solaris
/dev/sda2 * 3072000 254730239 125829120 7 HPFS/NTFS/exFAT
/dev/sda3 254730240 438394879 91832320 7 HPFS/NTFS/exFAT
/dev/sda4 438396926 488396799 24999937 5 Esteso
/dev/sda5 438396928 488396799 24999936 83 Linux
on sda2
there is Windows, on sda3
data partition and on sda5
Ububntu.
From LiveCD I created an image of my sda5
partition to a third external disk with:
$ sudo dd if=/dev/sda5 of=/path-to-external-disk/ubuntu.img
Now I want to put this image to another HD in such a way that I can then boot Ubuntu from there instead that from the pc HD. I tried with
$ sudo dd if=/path-to-external-disk/ubuntu.img of=/dev/sdb1
where sdb1
is the HD. All goes well but I am not able of boot Ubuntu from the external HD..
EDIT: Sneetsher suggestions
No, before I was not from live CD, now I am and these are the output of the command you ask me
output of fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x52f375e9
Device Boot Start End Blocks Id System
/dev/sda1 2048 3071999 1534976 82 Linux swap / Solaris
/dev/sda2 * 3072000 254730239 125829120 7 HPFS/NTFS/exFAT
/dev/sda3 254730240 438394879 91832320 7 HPFS/NTFS/exFAT
/dev/sda4 438396926 488396799 24999937 5 Extended
/dev/sda5 438396928 488396799 24999936 83 Linux
Disk /dev/sdb: 4192 MB, 4192206848 bytes
129 heads, 62 sectors/track, 1023 cylinders, total 8187904 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: 0x0002cb8f
Device Boot Start End Blocks Id System
/dev/sdb1 * 62 8181953 4090946 c W95 FAT32 (LBA)
Disk /dev/sdc: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders, total 160086528 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: 0x0008f93b
Device Boot Start End Blocks Id System
/dev/sdc1 * 63 160071659 80035798+ 7 HPFS/NTFS/exFAT
output of df
Filesystem 1K-blocks Used Available Use% Mounted on
/cow 1032088 127720 851940 14% /
udev 2056204 4 2056200 1% /dev
tmpfs 825908 888 825020 1% /run
/dev/sdb1 4082952 1771180 2311772 44% /cdrom
/dev/loop0 691456 691456 0 100% /rofs
tmpfs 2064768 24 2064744 1% /tmp
none 5120 4 5116 1% /run/lock
none 2064768 176 2064592 1% /run/shm
The problem is that I can't mount the disk, when I try I get the following error:
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so