![]() ![]() ![]() It boots, I get kali grub menu as before, I choose kali, boot ok. Successfull, I replace the internal 128GB with the now cloned Samsung evo 256GB. mint ~ # time dd if=/dev/sda of=/dev/sdb bs=8192 conv=notrunc,noerror The new ssd is connect using ssd adapter to USB. I/O size (minimum/optimal): 512 bytes / 512 bytesĭisk /dev/mapper/ubuntu-vg-swap_1: 15,6 GiB, 16785604608 bytes, 32784384 sectorsīoot your laptop from for example “mint boot DVD”. Sector size (logical/physical): 512 bytes / 512 bytes Boot menu is still kaliĭevice Boot Start End Sectors Size Id Type My goal: clone kali, Ubuntu to my new 256GB Samsung ssd and having a 110GB partition for windows 10. Sda has kali (using sda6), Ubuntu (using LVM on sda5). Thnaks to Kaboyish for his link about chroot/grub-update. Tools: "live cd", gparted and a lot of patience :-). I success to clone a 128GB SSD (incl LVM) to a bigger one 256GB SSD samsung evo and install Windows 10 on a new primary partition. Never used MBR with Linux, so fdisk can't confirm, but it probably works the same. I absolutely forgot to add that I always run gdisk (GPT) and just do w for write, it always fixes necessary things. All data is copied, even the boot loader. PS: It is not true as in the other answer that man needs to install GRUB after this. If you want to run this with sudo, you have to elaborate a little: $ sudo sh -c 'pv /dev/sdY' Not only it is shorter and simplier, it is faster by default with no additional settings needed, I achieved an average speed of 400MB/s with ordinary SATA SSD drives.Īnd as an additional benefit, it shows progress. ![]() Supposing the original drive is sdX and the target sdY, create an exact copy with: # pv /dev/sdY Open terminal and become root ( su) if you have sudo enabled, you may also do for example sudo -i see man sudo for all options): $ sudo -i And for cloning pv utility can be used achieving maximum speed available. In my case, as said, the target SSD drive is bigger than the source SSD. My research suggests, that using dd is a rather deprecated method. I searched hard for the most effective way of achieving this goal. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |