Copy Ubuntu partition onto third drive

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am runnging Ubuntu 17.10 on an HD at the moment. This was just a "test" but I am so pleased with Ubuntu I would like to make it my main environment and have it on SSD. I have then bought a 500GB SSD to copy the partition onto.



Here is the sudo fdisk -l



Disk /dev/sda: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 79D251DE-01BE-42D2-9496-577131B7AAA3

Device Start End Sectors Size Type
/dev/sda1 2048 264191 262144 128M Microsoft reserved
/dev/sda2 264192 4836530175 4836265984 2,3T Microsoft basic data
/dev/sda3 4836530176 4837580799 1050624 513M EFI System
/dev/sda4 4837580800 5860532223 1022951424 487,8G Linux filesystem


Disk /dev/sdb: 465,8 GiB, 500107862016 bytes, 976773168 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 /dev/sdc: 238,5 GiB, 256060514304 bytes, 500118192 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
Disklabel type: gpt
Disk identifier: 8F5D0460-2DBF-4694-A678-4C3449214D1A

Device Start End Sectors Size Type
/dev/sdc1 2048 1026047 1024000 500M EFI System
/dev/sdc2 1026048 1107967 81920 40M unknown
/dev/sdc3 1107968 1370111 262144 128M Microsoft reserved
/dev/sdc4 1370112 5564415 4194304 2G Windows recovery environment
/dev/sdc5 5564416 473012518 467448103 222,9G Microsoft basic data
/dev/sdc6 473014272 474040319 1026048 501M Windows recovery environment
/dev/sdc7 474040320 500116143 26075824 12,4G Windows recovery environment


new drive is SDB. SDA being the 3TO HD with the 500GB Ubuntu partition. SDC is windows.



I have come across a lot of tutorials to copy the Ubuntu partition but most mentionned a rescue disk/USB. Is it necessary here ? Is there a preferable tutorial ?










share|improve this question

















  • 2




    Do not copy, just reinstall and then copy /home and perhaps list of install apps. You do want to partition in advance with gpt for UEFI since other install is UEFI. help.ubuntu.com/community/DiskSpace & askubuntu.com/questions/743095/… & help.ubuntu.com/community/UEFI Be sure to include ESP - efi system partition on drive, even if not immediately used. You cannot easily copy one partition on a gpt partitioned drive.
    – oldfred
    Feb 28 at 15:56











  • Thank you @oldfred, I will do what you advise. I am not very sure, when I installed Ubuntu 17.10 I guess it installed this EFI SYSTEM partition automatically. Only thing I opted out was the swap as I have enough RAM. So I will try to replicate and check your guides, especially for the Grub as I will have 2 Ubuntu environments for a while..
    – Maxence
    Mar 1 at 16:04










  • If you have two Ubuntu installs, only one will be in UEFI boot menu and you have to use grub menu to boot other install. I do backup ESP - efi system partition as I typically just install a second version for testing & want grub to be controlled by main working install. then I restore /EFI/ubuntu folder(s) with main working installs version. And then update it to add new install to grub menu.
    – oldfred
    Mar 1 at 20:31










  • ohh for now I get offered Ubuntu or Windows directly inside Grub. I never see any Bios invite. I am waiting for a PSU cable at the moment, but once my Pc is up and running, I will install and then troubleshoot if needed. (and erase old partition once new install is done)
    – Maxence
    Mar 1 at 23:14










  • Most systems use f10 or f12 for UEFI boot menu. Some use Escape & f8. What brand/model system? Some are not dual boot friendly and need various work arounds.
    – oldfred
    Mar 2 at 0:06














up vote
0
down vote

favorite












I am runnging Ubuntu 17.10 on an HD at the moment. This was just a "test" but I am so pleased with Ubuntu I would like to make it my main environment and have it on SSD. I have then bought a 500GB SSD to copy the partition onto.



Here is the sudo fdisk -l



Disk /dev/sda: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 79D251DE-01BE-42D2-9496-577131B7AAA3

Device Start End Sectors Size Type
/dev/sda1 2048 264191 262144 128M Microsoft reserved
/dev/sda2 264192 4836530175 4836265984 2,3T Microsoft basic data
/dev/sda3 4836530176 4837580799 1050624 513M EFI System
/dev/sda4 4837580800 5860532223 1022951424 487,8G Linux filesystem


Disk /dev/sdb: 465,8 GiB, 500107862016 bytes, 976773168 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 /dev/sdc: 238,5 GiB, 256060514304 bytes, 500118192 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
Disklabel type: gpt
Disk identifier: 8F5D0460-2DBF-4694-A678-4C3449214D1A

Device Start End Sectors Size Type
/dev/sdc1 2048 1026047 1024000 500M EFI System
/dev/sdc2 1026048 1107967 81920 40M unknown
/dev/sdc3 1107968 1370111 262144 128M Microsoft reserved
/dev/sdc4 1370112 5564415 4194304 2G Windows recovery environment
/dev/sdc5 5564416 473012518 467448103 222,9G Microsoft basic data
/dev/sdc6 473014272 474040319 1026048 501M Windows recovery environment
/dev/sdc7 474040320 500116143 26075824 12,4G Windows recovery environment


new drive is SDB. SDA being the 3TO HD with the 500GB Ubuntu partition. SDC is windows.



I have come across a lot of tutorials to copy the Ubuntu partition but most mentionned a rescue disk/USB. Is it necessary here ? Is there a preferable tutorial ?










share|improve this question

















  • 2




    Do not copy, just reinstall and then copy /home and perhaps list of install apps. You do want to partition in advance with gpt for UEFI since other install is UEFI. help.ubuntu.com/community/DiskSpace & askubuntu.com/questions/743095/… & help.ubuntu.com/community/UEFI Be sure to include ESP - efi system partition on drive, even if not immediately used. You cannot easily copy one partition on a gpt partitioned drive.
    – oldfred
    Feb 28 at 15:56











  • Thank you @oldfred, I will do what you advise. I am not very sure, when I installed Ubuntu 17.10 I guess it installed this EFI SYSTEM partition automatically. Only thing I opted out was the swap as I have enough RAM. So I will try to replicate and check your guides, especially for the Grub as I will have 2 Ubuntu environments for a while..
    – Maxence
    Mar 1 at 16:04










  • If you have two Ubuntu installs, only one will be in UEFI boot menu and you have to use grub menu to boot other install. I do backup ESP - efi system partition as I typically just install a second version for testing & want grub to be controlled by main working install. then I restore /EFI/ubuntu folder(s) with main working installs version. And then update it to add new install to grub menu.
    – oldfred
    Mar 1 at 20:31










  • ohh for now I get offered Ubuntu or Windows directly inside Grub. I never see any Bios invite. I am waiting for a PSU cable at the moment, but once my Pc is up and running, I will install and then troubleshoot if needed. (and erase old partition once new install is done)
    – Maxence
    Mar 1 at 23:14










  • Most systems use f10 or f12 for UEFI boot menu. Some use Escape & f8. What brand/model system? Some are not dual boot friendly and need various work arounds.
    – oldfred
    Mar 2 at 0:06












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am runnging Ubuntu 17.10 on an HD at the moment. This was just a "test" but I am so pleased with Ubuntu I would like to make it my main environment and have it on SSD. I have then bought a 500GB SSD to copy the partition onto.



Here is the sudo fdisk -l



Disk /dev/sda: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 79D251DE-01BE-42D2-9496-577131B7AAA3

Device Start End Sectors Size Type
/dev/sda1 2048 264191 262144 128M Microsoft reserved
/dev/sda2 264192 4836530175 4836265984 2,3T Microsoft basic data
/dev/sda3 4836530176 4837580799 1050624 513M EFI System
/dev/sda4 4837580800 5860532223 1022951424 487,8G Linux filesystem


Disk /dev/sdb: 465,8 GiB, 500107862016 bytes, 976773168 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 /dev/sdc: 238,5 GiB, 256060514304 bytes, 500118192 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
Disklabel type: gpt
Disk identifier: 8F5D0460-2DBF-4694-A678-4C3449214D1A

Device Start End Sectors Size Type
/dev/sdc1 2048 1026047 1024000 500M EFI System
/dev/sdc2 1026048 1107967 81920 40M unknown
/dev/sdc3 1107968 1370111 262144 128M Microsoft reserved
/dev/sdc4 1370112 5564415 4194304 2G Windows recovery environment
/dev/sdc5 5564416 473012518 467448103 222,9G Microsoft basic data
/dev/sdc6 473014272 474040319 1026048 501M Windows recovery environment
/dev/sdc7 474040320 500116143 26075824 12,4G Windows recovery environment


new drive is SDB. SDA being the 3TO HD with the 500GB Ubuntu partition. SDC is windows.



I have come across a lot of tutorials to copy the Ubuntu partition but most mentionned a rescue disk/USB. Is it necessary here ? Is there a preferable tutorial ?










share|improve this question













I am runnging Ubuntu 17.10 on an HD at the moment. This was just a "test" but I am so pleased with Ubuntu I would like to make it my main environment and have it on SSD. I have then bought a 500GB SSD to copy the partition onto.



Here is the sudo fdisk -l



Disk /dev/sda: 2,7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 79D251DE-01BE-42D2-9496-577131B7AAA3

Device Start End Sectors Size Type
/dev/sda1 2048 264191 262144 128M Microsoft reserved
/dev/sda2 264192 4836530175 4836265984 2,3T Microsoft basic data
/dev/sda3 4836530176 4837580799 1050624 513M EFI System
/dev/sda4 4837580800 5860532223 1022951424 487,8G Linux filesystem


Disk /dev/sdb: 465,8 GiB, 500107862016 bytes, 976773168 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 /dev/sdc: 238,5 GiB, 256060514304 bytes, 500118192 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
Disklabel type: gpt
Disk identifier: 8F5D0460-2DBF-4694-A678-4C3449214D1A

Device Start End Sectors Size Type
/dev/sdc1 2048 1026047 1024000 500M EFI System
/dev/sdc2 1026048 1107967 81920 40M unknown
/dev/sdc3 1107968 1370111 262144 128M Microsoft reserved
/dev/sdc4 1370112 5564415 4194304 2G Windows recovery environment
/dev/sdc5 5564416 473012518 467448103 222,9G Microsoft basic data
/dev/sdc6 473014272 474040319 1026048 501M Windows recovery environment
/dev/sdc7 474040320 500116143 26075824 12,4G Windows recovery environment


new drive is SDB. SDA being the 3TO HD with the 500GB Ubuntu partition. SDC is windows.



I have come across a lot of tutorials to copy the Ubuntu partition but most mentionned a rescue disk/USB. Is it necessary here ? Is there a preferable tutorial ?







hard-drive backup






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 28 at 14:38









Maxence

1157




1157







  • 2




    Do not copy, just reinstall and then copy /home and perhaps list of install apps. You do want to partition in advance with gpt for UEFI since other install is UEFI. help.ubuntu.com/community/DiskSpace & askubuntu.com/questions/743095/… & help.ubuntu.com/community/UEFI Be sure to include ESP - efi system partition on drive, even if not immediately used. You cannot easily copy one partition on a gpt partitioned drive.
    – oldfred
    Feb 28 at 15:56











  • Thank you @oldfred, I will do what you advise. I am not very sure, when I installed Ubuntu 17.10 I guess it installed this EFI SYSTEM partition automatically. Only thing I opted out was the swap as I have enough RAM. So I will try to replicate and check your guides, especially for the Grub as I will have 2 Ubuntu environments for a while..
    – Maxence
    Mar 1 at 16:04










  • If you have two Ubuntu installs, only one will be in UEFI boot menu and you have to use grub menu to boot other install. I do backup ESP - efi system partition as I typically just install a second version for testing & want grub to be controlled by main working install. then I restore /EFI/ubuntu folder(s) with main working installs version. And then update it to add new install to grub menu.
    – oldfred
    Mar 1 at 20:31










  • ohh for now I get offered Ubuntu or Windows directly inside Grub. I never see any Bios invite. I am waiting for a PSU cable at the moment, but once my Pc is up and running, I will install and then troubleshoot if needed. (and erase old partition once new install is done)
    – Maxence
    Mar 1 at 23:14










  • Most systems use f10 or f12 for UEFI boot menu. Some use Escape & f8. What brand/model system? Some are not dual boot friendly and need various work arounds.
    – oldfred
    Mar 2 at 0:06












  • 2




    Do not copy, just reinstall and then copy /home and perhaps list of install apps. You do want to partition in advance with gpt for UEFI since other install is UEFI. help.ubuntu.com/community/DiskSpace & askubuntu.com/questions/743095/… & help.ubuntu.com/community/UEFI Be sure to include ESP - efi system partition on drive, even if not immediately used. You cannot easily copy one partition on a gpt partitioned drive.
    – oldfred
    Feb 28 at 15:56











  • Thank you @oldfred, I will do what you advise. I am not very sure, when I installed Ubuntu 17.10 I guess it installed this EFI SYSTEM partition automatically. Only thing I opted out was the swap as I have enough RAM. So I will try to replicate and check your guides, especially for the Grub as I will have 2 Ubuntu environments for a while..
    – Maxence
    Mar 1 at 16:04










  • If you have two Ubuntu installs, only one will be in UEFI boot menu and you have to use grub menu to boot other install. I do backup ESP - efi system partition as I typically just install a second version for testing & want grub to be controlled by main working install. then I restore /EFI/ubuntu folder(s) with main working installs version. And then update it to add new install to grub menu.
    – oldfred
    Mar 1 at 20:31










  • ohh for now I get offered Ubuntu or Windows directly inside Grub. I never see any Bios invite. I am waiting for a PSU cable at the moment, but once my Pc is up and running, I will install and then troubleshoot if needed. (and erase old partition once new install is done)
    – Maxence
    Mar 1 at 23:14










  • Most systems use f10 or f12 for UEFI boot menu. Some use Escape & f8. What brand/model system? Some are not dual boot friendly and need various work arounds.
    – oldfred
    Mar 2 at 0:06







2




2




Do not copy, just reinstall and then copy /home and perhaps list of install apps. You do want to partition in advance with gpt for UEFI since other install is UEFI. help.ubuntu.com/community/DiskSpace & askubuntu.com/questions/743095/… & help.ubuntu.com/community/UEFI Be sure to include ESP - efi system partition on drive, even if not immediately used. You cannot easily copy one partition on a gpt partitioned drive.
– oldfred
Feb 28 at 15:56





Do not copy, just reinstall and then copy /home and perhaps list of install apps. You do want to partition in advance with gpt for UEFI since other install is UEFI. help.ubuntu.com/community/DiskSpace & askubuntu.com/questions/743095/… & help.ubuntu.com/community/UEFI Be sure to include ESP - efi system partition on drive, even if not immediately used. You cannot easily copy one partition on a gpt partitioned drive.
– oldfred
Feb 28 at 15:56













Thank you @oldfred, I will do what you advise. I am not very sure, when I installed Ubuntu 17.10 I guess it installed this EFI SYSTEM partition automatically. Only thing I opted out was the swap as I have enough RAM. So I will try to replicate and check your guides, especially for the Grub as I will have 2 Ubuntu environments for a while..
– Maxence
Mar 1 at 16:04




Thank you @oldfred, I will do what you advise. I am not very sure, when I installed Ubuntu 17.10 I guess it installed this EFI SYSTEM partition automatically. Only thing I opted out was the swap as I have enough RAM. So I will try to replicate and check your guides, especially for the Grub as I will have 2 Ubuntu environments for a while..
– Maxence
Mar 1 at 16:04












If you have two Ubuntu installs, only one will be in UEFI boot menu and you have to use grub menu to boot other install. I do backup ESP - efi system partition as I typically just install a second version for testing & want grub to be controlled by main working install. then I restore /EFI/ubuntu folder(s) with main working installs version. And then update it to add new install to grub menu.
– oldfred
Mar 1 at 20:31




If you have two Ubuntu installs, only one will be in UEFI boot menu and you have to use grub menu to boot other install. I do backup ESP - efi system partition as I typically just install a second version for testing & want grub to be controlled by main working install. then I restore /EFI/ubuntu folder(s) with main working installs version. And then update it to add new install to grub menu.
– oldfred
Mar 1 at 20:31












ohh for now I get offered Ubuntu or Windows directly inside Grub. I never see any Bios invite. I am waiting for a PSU cable at the moment, but once my Pc is up and running, I will install and then troubleshoot if needed. (and erase old partition once new install is done)
– Maxence
Mar 1 at 23:14




ohh for now I get offered Ubuntu or Windows directly inside Grub. I never see any Bios invite. I am waiting for a PSU cable at the moment, but once my Pc is up and running, I will install and then troubleshoot if needed. (and erase old partition once new install is done)
– Maxence
Mar 1 at 23:14












Most systems use f10 or f12 for UEFI boot menu. Some use Escape & f8. What brand/model system? Some are not dual boot friendly and need various work arounds.
– oldfred
Mar 2 at 0:06




Most systems use f10 or f12 for UEFI boot menu. Some use Escape & f8. What brand/model system? Some are not dual boot friendly and need various work arounds.
– oldfred
Mar 2 at 0:06















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1010672%2fcopy-ubuntu-partition-onto-third-drive%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1010672%2fcopy-ubuntu-partition-onto-third-drive%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Trouble downloading packages list due to a “Hash sum mismatch” error

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

How do I move numbers in filenames, in a batch renaming operation?