I would like to create an image file of my system and then load that file and get my system back, as it is right now.
The reason I am asking that, is that I would like to upgrade my laptop's hard drive (I have bought an ssd). Please note that I don't need to clone only my root partition.
Since I use my laptop for three months or so, I have installed some stuff, which I don't want to lose (programs,configuration,etc.).
My questions are:
What s the best way to create that image
How can I load it after the upgrade
Is there a problem (and if so, can this be solved in some way?) since my drive has a 700 GB storage space and the ssd has 256 GB
In what media should I store that file(I think it will be a little big.So CDs,DVDs,another external hard drive?)
I had a look at Clonezilla but as I can see in some tutorials I can only clone one partition.
What I need is to clone / ,swap and /media/{username} partitions and then restore them in the new drive.
My current partition layout is :
Number Start End Size Type File system Flags
1 1049kB 250GB 250GB primary ext4 boot
2 250GB 255GB 4999MB extended
5 250GB 255GB 4999MB logical linux-swap(v1)
3 255GB 750GB 495GB primary ntfs
df -h gives :
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 230G 34G 184G 16% /
none 4,0K 0 4,0K 0% /sys/fs/cgroup
udev 2,5G 12K 2,5G 1% /dev
tmpfs 510M 1,2M 509M 1% /run
none 5,0M 0 5,0M 0% /run/lock
none 2,5G 107M 2,4G 5% /run/shm
none 100M 52K 100M 1% /run/user
/dev/sda3 462G 5,7G 456G 2% /media/johnnemo/E
Could you please provide me the steps needed to achieve this goal(or at least one link that explains them in detail)?
Thanks in advance.
/
) partition? I think the first one is the root partition (it even has a boot flag). I was wondering about the space used (x GB out of 461 GB in the NTFS drive, for example) (if you're unsure, usedf -h
).