How to move ubuntu 12.04 on another drive

Posted by Maksim on Ask Ubuntu See other posts from Ask Ubuntu or by Maksim
Published on 2012-11-30T22:14:51Z Indexed on 2012/11/30 23:20 UTC
Read the original article Hit count: 237

Filed under:
|
|

How I can move my ubuntu on another drive? I know about clonezilla but problem is that destination drive is smaller the source one. Gparted can't copy-paste partition if destination not the end last partition. I tried dpkg --selected-packages and apt-clone. First one just not install all my packages and removed existed that now I have no full unity and not my all packages. Second one just fail on configuration package. But before I did that way I copy-paste my /etc to new system. My partition table

destination : gpt
 1     1049kB  106MB   105MB   fat32             EFI System  ???????????
 2     106MB   12,1GB  12,0GB  ext4
 3     12,1GB  66,3GB  54,2GB  ext4

source: msdos
 1     1049kB  12,0GB  12,0GB  primary  ext4              ???????????
 2     12,0GB  492GB   480GB   primary  ext4
 3     492GB   500GB   8107MB  primary  linux-swap(v1)

Gpt not working with ubuntu that use grub 1.99. I don't know why but my laptop can't boot any device with uefi just black screen and ubuntu detect it on fresh install.

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about dd