Quote:
For ext2/3/4, using resize2fs to expand a filesystem to fill an existing partition is the default mode of operation. clonezilla never changes the size of a filesystem. It will leave you with a small filesystem (same size as the original) sitting in your large partition. |
Total Failure:
I have been launching clonezilla (which I found a terribly designed gui) and went to konsole I entered root mode through sudo su - and then I did e2fsck -fp /dev/sdb1 then I did ddrescue -v /dev/sda /dev/sdb that returned an error that /dev/sdb has data that would be lost and I have to use --force. So I used ddrescue -v --force /dev/sda /dev/sdb when I returned back. The /dev/sdb had only three partitions out of 8. I have read also those two tutorials here http://www.ghacks.net/2010/08/01/clo...with-ddrescue/ http://dimitar.me/clone-disk-drives-with-ubuntu/ but I can not see why it failed so much. Any help now? Alex[COLOR="Silver"] |
Hi, I would be happy if just the 320gb hard disk (source) is written as it in the 750gb (target) and leave the rest space unallocated, I will try to expand it later with other tools.
I tried yesterday launching with clonezilla (what a bad interface is that!!) and launched the terminal. What a total failure was that. I entered root mode through sudo su - and then I did e2fsck -fp /dev/sdb1 then I did ddrescue -v /dev/sda /dev/sdb that returned an error that /dev/sdb has data that would be lost and I have to use --force. So I used ddrescue -v --force /dev/sda /dev/sdb when I returned back. The /dev/sdb had only three partitions out of 8. I have read also those two tutorials here http://www.ghacks.net/2010/08/01/clo...with-ddrescue/ Clone Disk Drives with Ubuntu using dd or ddrescue | dimitar.me but I can not see why it failed so much. Any help now? my source disk now looks like: Quote:
and the target disk is the: Quote:
|
So, are you trying to clone the disk from /dev/sda to /dev/sdb or to /dev/sdc ?
|
From sda to sdb. After I tried with ddrescue that failed (as I described) the hard disk on the currently installed linux system (sda) was recognized as sdc (that is the reason I had to to fdisk -l /dev/sdc)
|
Can you run fdisk on /dev/sdb.
|
No, because there isīno such disk in the system
I was also concerded why the kernel gave the disk the name sdc and not sdb.... When I also launch Yast-> Partitioner, there is no there sdb, only sda and sdc. IF you want I can reboot but I think the main concern is how I make ddrescue clone partition by partition... and why it failed producing 3 non-sense partitions. regards Alex |
That is unusual. You probably should reboot and try again. Make sure that both disks are recognized before trying to clone the disk.
|
Quote:
Alex |
Do take into account that SMART reported read failure meaning that cloning the partitions may not work no matter what tool you use. In other words, the disk is corrupt and trying to clone corrupt partitions will likely lead to corrupt partitions or it just won't work.
I recommend trying to backup your files and then just reinstall everything onto the new disk. It may have been my mistake to assume that you were doing this to try to salvage your data. It is true that cloning the drive is a good thing to do, but you shouldn't expect the drive you clone to to be bootable and usable. Instead you should recover your files from there and then reinstall everything onto this new drive. |
Quote:
|
The output from "fdisk -l" makes it appear that the new drive has a 4096-byte logical sector size. What is the make and model for that drive, and what is the output from "hdparm -I /dev/sdc | grep 'Sector size'". Drives with a 4096 logical sector size are only supported by recent kernels and tools, and even then are very bleeding edge. It well could be that clonezilla does not support them. (Drives with 4096 physical / 512 logical are not a problem except for alignment issues).
The drive probably migrated from sdb to sdc because you unplugged it (as sdb) while there was still some open reference to it. That leaves sdb in use, and when you reconnect the drive you get the next available device number. |
Quote:
1. Which one should I try? The target is just to clone only the first hidden windows partition to the hard disk and just restore windows from scratch. Installing linux then would be quite straightforward. 2. What is the ddrescue command for cloning the first partition of sda1 to sdb1? 3. Should I have in advance created an almost similar partition size to the target disk? If yes how I can do that with commands like fsck? Regards Alex |
What exact model number, please.
|
Western Digital WD7500BPKT Black 750GB . Where I can find the model number?
|
All times are GMT -5. The time now is 09:28 AM. |