How to clone Ubuntu 18.04 partition from a notebook SSD to a desktop PC SSD?












1















I'd like to clone my Ubuntu partition (on the SSD of my notebook (250GB)) on a new SSD (250GB) which I'd like to install on my desktop PC.
This is because I'd like to use my desktop PC which is much more powerful, and avoid to reinstall the whole working environment.



The notebook SSD currently has 2 partitions: one with Windows 10 (150GB) and the other with Ubuntu 18.04 (100GB).



I need to clone/backup only the ubuntu partion on the new SSD.



Is it possible to clone only the ubuntu partition and make the disk bootable?



Alternatively can I install ubuntu from scratch on the new ssd and then copying in some way the notebook ubuntu partition preserving the operation of the system?
Which programs-tools I could use?



I have an USB 3.0-SATA adapter if it is necessary.



Thank you so much.










share|improve this question























  • UEFI or BIOS system? Are both the same and is Ubuntu install booting in UEFI or BIOS? If UEFI, you have gpt partitioning and you cannot easily clone just one partition. With gpt, the partition GUID is in the partition, the primary partition table & the backup partition table. I almost always suggest new install & restore from your normal backup to prove your backups are complete. Most configuration settings are in /home. Best to also export list of installed apps & use that to reinstall them. askubuntu.com/questions/743095/…

    – oldfred
    Jan 8 at 18:50













  • Try your notebook SSD in your desktop, if that works, clone your notebook SSD to your Desktop SSD and then remove the unwanted Windows partition. dd is the most direct way to clone a disk. sudo dd if=/dev/sdx of=/dev/sdy. Use caution with dd.

    – C.S.Cameron
    Jan 9 at 3:21













  • Another alternative is to do a fresh install on the desktop SSD and then copy your notebook home directory to your desktop using rsync, (or grsync if you prefer a GUI). Then reinstall any useful programs.

    – C.S.Cameron
    Jan 9 at 3:28













  • Thank you so much for your answers. I think I'll use the dd or the rsync command.

    – Herman Sory
    Jan 9 at 13:19
















1















I'd like to clone my Ubuntu partition (on the SSD of my notebook (250GB)) on a new SSD (250GB) which I'd like to install on my desktop PC.
This is because I'd like to use my desktop PC which is much more powerful, and avoid to reinstall the whole working environment.



The notebook SSD currently has 2 partitions: one with Windows 10 (150GB) and the other with Ubuntu 18.04 (100GB).



I need to clone/backup only the ubuntu partion on the new SSD.



Is it possible to clone only the ubuntu partition and make the disk bootable?



Alternatively can I install ubuntu from scratch on the new ssd and then copying in some way the notebook ubuntu partition preserving the operation of the system?
Which programs-tools I could use?



I have an USB 3.0-SATA adapter if it is necessary.



Thank you so much.










share|improve this question























  • UEFI or BIOS system? Are both the same and is Ubuntu install booting in UEFI or BIOS? If UEFI, you have gpt partitioning and you cannot easily clone just one partition. With gpt, the partition GUID is in the partition, the primary partition table & the backup partition table. I almost always suggest new install & restore from your normal backup to prove your backups are complete. Most configuration settings are in /home. Best to also export list of installed apps & use that to reinstall them. askubuntu.com/questions/743095/…

    – oldfred
    Jan 8 at 18:50













  • Try your notebook SSD in your desktop, if that works, clone your notebook SSD to your Desktop SSD and then remove the unwanted Windows partition. dd is the most direct way to clone a disk. sudo dd if=/dev/sdx of=/dev/sdy. Use caution with dd.

    – C.S.Cameron
    Jan 9 at 3:21













  • Another alternative is to do a fresh install on the desktop SSD and then copy your notebook home directory to your desktop using rsync, (or grsync if you prefer a GUI). Then reinstall any useful programs.

    – C.S.Cameron
    Jan 9 at 3:28













  • Thank you so much for your answers. I think I'll use the dd or the rsync command.

    – Herman Sory
    Jan 9 at 13:19














1












1








1








I'd like to clone my Ubuntu partition (on the SSD of my notebook (250GB)) on a new SSD (250GB) which I'd like to install on my desktop PC.
This is because I'd like to use my desktop PC which is much more powerful, and avoid to reinstall the whole working environment.



The notebook SSD currently has 2 partitions: one with Windows 10 (150GB) and the other with Ubuntu 18.04 (100GB).



I need to clone/backup only the ubuntu partion on the new SSD.



Is it possible to clone only the ubuntu partition and make the disk bootable?



Alternatively can I install ubuntu from scratch on the new ssd and then copying in some way the notebook ubuntu partition preserving the operation of the system?
Which programs-tools I could use?



I have an USB 3.0-SATA adapter if it is necessary.



Thank you so much.










share|improve this question














I'd like to clone my Ubuntu partition (on the SSD of my notebook (250GB)) on a new SSD (250GB) which I'd like to install on my desktop PC.
This is because I'd like to use my desktop PC which is much more powerful, and avoid to reinstall the whole working environment.



The notebook SSD currently has 2 partitions: one with Windows 10 (150GB) and the other with Ubuntu 18.04 (100GB).



I need to clone/backup only the ubuntu partion on the new SSD.



Is it possible to clone only the ubuntu partition and make the disk bootable?



Alternatively can I install ubuntu from scratch on the new ssd and then copying in some way the notebook ubuntu partition preserving the operation of the system?
Which programs-tools I could use?



I have an USB 3.0-SATA adapter if it is necessary.



Thank you so much.







partitioning backup clone






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 8 at 17:55









Herman SoryHerman Sory

61




61













  • UEFI or BIOS system? Are both the same and is Ubuntu install booting in UEFI or BIOS? If UEFI, you have gpt partitioning and you cannot easily clone just one partition. With gpt, the partition GUID is in the partition, the primary partition table & the backup partition table. I almost always suggest new install & restore from your normal backup to prove your backups are complete. Most configuration settings are in /home. Best to also export list of installed apps & use that to reinstall them. askubuntu.com/questions/743095/…

    – oldfred
    Jan 8 at 18:50













  • Try your notebook SSD in your desktop, if that works, clone your notebook SSD to your Desktop SSD and then remove the unwanted Windows partition. dd is the most direct way to clone a disk. sudo dd if=/dev/sdx of=/dev/sdy. Use caution with dd.

    – C.S.Cameron
    Jan 9 at 3:21













  • Another alternative is to do a fresh install on the desktop SSD and then copy your notebook home directory to your desktop using rsync, (or grsync if you prefer a GUI). Then reinstall any useful programs.

    – C.S.Cameron
    Jan 9 at 3:28













  • Thank you so much for your answers. I think I'll use the dd or the rsync command.

    – Herman Sory
    Jan 9 at 13:19



















  • UEFI or BIOS system? Are both the same and is Ubuntu install booting in UEFI or BIOS? If UEFI, you have gpt partitioning and you cannot easily clone just one partition. With gpt, the partition GUID is in the partition, the primary partition table & the backup partition table. I almost always suggest new install & restore from your normal backup to prove your backups are complete. Most configuration settings are in /home. Best to also export list of installed apps & use that to reinstall them. askubuntu.com/questions/743095/…

    – oldfred
    Jan 8 at 18:50













  • Try your notebook SSD in your desktop, if that works, clone your notebook SSD to your Desktop SSD and then remove the unwanted Windows partition. dd is the most direct way to clone a disk. sudo dd if=/dev/sdx of=/dev/sdy. Use caution with dd.

    – C.S.Cameron
    Jan 9 at 3:21













  • Another alternative is to do a fresh install on the desktop SSD and then copy your notebook home directory to your desktop using rsync, (or grsync if you prefer a GUI). Then reinstall any useful programs.

    – C.S.Cameron
    Jan 9 at 3:28













  • Thank you so much for your answers. I think I'll use the dd or the rsync command.

    – Herman Sory
    Jan 9 at 13:19

















UEFI or BIOS system? Are both the same and is Ubuntu install booting in UEFI or BIOS? If UEFI, you have gpt partitioning and you cannot easily clone just one partition. With gpt, the partition GUID is in the partition, the primary partition table & the backup partition table. I almost always suggest new install & restore from your normal backup to prove your backups are complete. Most configuration settings are in /home. Best to also export list of installed apps & use that to reinstall them. askubuntu.com/questions/743095/…

– oldfred
Jan 8 at 18:50







UEFI or BIOS system? Are both the same and is Ubuntu install booting in UEFI or BIOS? If UEFI, you have gpt partitioning and you cannot easily clone just one partition. With gpt, the partition GUID is in the partition, the primary partition table & the backup partition table. I almost always suggest new install & restore from your normal backup to prove your backups are complete. Most configuration settings are in /home. Best to also export list of installed apps & use that to reinstall them. askubuntu.com/questions/743095/…

– oldfred
Jan 8 at 18:50















Try your notebook SSD in your desktop, if that works, clone your notebook SSD to your Desktop SSD and then remove the unwanted Windows partition. dd is the most direct way to clone a disk. sudo dd if=/dev/sdx of=/dev/sdy. Use caution with dd.

– C.S.Cameron
Jan 9 at 3:21







Try your notebook SSD in your desktop, if that works, clone your notebook SSD to your Desktop SSD and then remove the unwanted Windows partition. dd is the most direct way to clone a disk. sudo dd if=/dev/sdx of=/dev/sdy. Use caution with dd.

– C.S.Cameron
Jan 9 at 3:21















Another alternative is to do a fresh install on the desktop SSD and then copy your notebook home directory to your desktop using rsync, (or grsync if you prefer a GUI). Then reinstall any useful programs.

– C.S.Cameron
Jan 9 at 3:28







Another alternative is to do a fresh install on the desktop SSD and then copy your notebook home directory to your desktop using rsync, (or grsync if you prefer a GUI). Then reinstall any useful programs.

– C.S.Cameron
Jan 9 at 3:28















Thank you so much for your answers. I think I'll use the dd or the rsync command.

– Herman Sory
Jan 9 at 13:19





Thank you so much for your answers. I think I'll use the dd or the rsync command.

– Herman Sory
Jan 9 at 13:19










2 Answers
2






active

oldest

votes


















0














I will try to answer your question but I am no expert on this. Recently I discovered something amazing. I took my hard drive out of my desktop computer, running an ASUS motherboard with an I7 processor and was curious to see what would happen if I put it into a Sony Vaio laptop with a core duo CPU. I was amazed to discover that the installation booted with absolutely no problems whatsoever. Maybe it was just a fluke but somehow I dont think so. I was running xubuntu 18.04. See what happens if you try to boot off that partition in the other machine. Then, if it does boot, I would suggest cloning the partition with clonezilla, and restoring it to the computer you want to boot off. I am fairly convinced it will work but I know for a fact you cannot do that with windows. Since you are only going to be using the ubuntu installation it is worth a try






share|improve this answer


























  • Unfortunately I cannot take out the notebook ssd: I have to leave my notebook working.

    – Herman Sory
    Jan 9 at 13:23



















0














I finally had time to do this operation.
I installed ubuntu from scratch on the new SSD (on a 100GB partition), then I used grsync to copy my /home folder on a pendrive and then on my new SSD.
At the end I had to install some packages but it worked.
Thank you so much for your support. :)






share|improve this answer























    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    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%2f1108073%2fhow-to-clone-ubuntu-18-04-partition-from-a-notebook-ssd-to-a-desktop-pc-ssd%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I will try to answer your question but I am no expert on this. Recently I discovered something amazing. I took my hard drive out of my desktop computer, running an ASUS motherboard with an I7 processor and was curious to see what would happen if I put it into a Sony Vaio laptop with a core duo CPU. I was amazed to discover that the installation booted with absolutely no problems whatsoever. Maybe it was just a fluke but somehow I dont think so. I was running xubuntu 18.04. See what happens if you try to boot off that partition in the other machine. Then, if it does boot, I would suggest cloning the partition with clonezilla, and restoring it to the computer you want to boot off. I am fairly convinced it will work but I know for a fact you cannot do that with windows. Since you are only going to be using the ubuntu installation it is worth a try






    share|improve this answer


























    • Unfortunately I cannot take out the notebook ssd: I have to leave my notebook working.

      – Herman Sory
      Jan 9 at 13:23
















    0














    I will try to answer your question but I am no expert on this. Recently I discovered something amazing. I took my hard drive out of my desktop computer, running an ASUS motherboard with an I7 processor and was curious to see what would happen if I put it into a Sony Vaio laptop with a core duo CPU. I was amazed to discover that the installation booted with absolutely no problems whatsoever. Maybe it was just a fluke but somehow I dont think so. I was running xubuntu 18.04. See what happens if you try to boot off that partition in the other machine. Then, if it does boot, I would suggest cloning the partition with clonezilla, and restoring it to the computer you want to boot off. I am fairly convinced it will work but I know for a fact you cannot do that with windows. Since you are only going to be using the ubuntu installation it is worth a try






    share|improve this answer


























    • Unfortunately I cannot take out the notebook ssd: I have to leave my notebook working.

      – Herman Sory
      Jan 9 at 13:23














    0












    0








    0







    I will try to answer your question but I am no expert on this. Recently I discovered something amazing. I took my hard drive out of my desktop computer, running an ASUS motherboard with an I7 processor and was curious to see what would happen if I put it into a Sony Vaio laptop with a core duo CPU. I was amazed to discover that the installation booted with absolutely no problems whatsoever. Maybe it was just a fluke but somehow I dont think so. I was running xubuntu 18.04. See what happens if you try to boot off that partition in the other machine. Then, if it does boot, I would suggest cloning the partition with clonezilla, and restoring it to the computer you want to boot off. I am fairly convinced it will work but I know for a fact you cannot do that with windows. Since you are only going to be using the ubuntu installation it is worth a try






    share|improve this answer















    I will try to answer your question but I am no expert on this. Recently I discovered something amazing. I took my hard drive out of my desktop computer, running an ASUS motherboard with an I7 processor and was curious to see what would happen if I put it into a Sony Vaio laptop with a core duo CPU. I was amazed to discover that the installation booted with absolutely no problems whatsoever. Maybe it was just a fluke but somehow I dont think so. I was running xubuntu 18.04. See what happens if you try to boot off that partition in the other machine. Then, if it does boot, I would suggest cloning the partition with clonezilla, and restoring it to the computer you want to boot off. I am fairly convinced it will work but I know for a fact you cannot do that with windows. Since you are only going to be using the ubuntu installation it is worth a try







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jan 8 at 21:09

























    answered Jan 8 at 18:38









    chernobylchernobyl

    13




    13













    • Unfortunately I cannot take out the notebook ssd: I have to leave my notebook working.

      – Herman Sory
      Jan 9 at 13:23



















    • Unfortunately I cannot take out the notebook ssd: I have to leave my notebook working.

      – Herman Sory
      Jan 9 at 13:23

















    Unfortunately I cannot take out the notebook ssd: I have to leave my notebook working.

    – Herman Sory
    Jan 9 at 13:23





    Unfortunately I cannot take out the notebook ssd: I have to leave my notebook working.

    – Herman Sory
    Jan 9 at 13:23













    0














    I finally had time to do this operation.
    I installed ubuntu from scratch on the new SSD (on a 100GB partition), then I used grsync to copy my /home folder on a pendrive and then on my new SSD.
    At the end I had to install some packages but it worked.
    Thank you so much for your support. :)






    share|improve this answer




























      0














      I finally had time to do this operation.
      I installed ubuntu from scratch on the new SSD (on a 100GB partition), then I used grsync to copy my /home folder on a pendrive and then on my new SSD.
      At the end I had to install some packages but it worked.
      Thank you so much for your support. :)






      share|improve this answer


























        0












        0








        0







        I finally had time to do this operation.
        I installed ubuntu from scratch on the new SSD (on a 100GB partition), then I used grsync to copy my /home folder on a pendrive and then on my new SSD.
        At the end I had to install some packages but it worked.
        Thank you so much for your support. :)






        share|improve this answer













        I finally had time to do this operation.
        I installed ubuntu from scratch on the new SSD (on a 100GB partition), then I used grsync to copy my /home folder on a pendrive and then on my new SSD.
        At the end I had to install some packages but it worked.
        Thank you so much for your support. :)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 17 at 11:10









        Herman SoryHerman Sory

        61




        61






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1108073%2fhow-to-clone-ubuntu-18-04-partition-from-a-notebook-ssd-to-a-desktop-pc-ssd%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕