I cannot mount a partition as the home directory

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








up vote
1
down vote

favorite












My problem is that I installed ubuntu 14 and I forgot to make a special part for home directory, so how can I mount it???







share|improve this question




















  • Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
    – koni_raid
    May 8 at 13:33







  • 1




    Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
    – oldfred
    May 8 at 14:34














up vote
1
down vote

favorite












My problem is that I installed ubuntu 14 and I forgot to make a special part for home directory, so how can I mount it???







share|improve this question




















  • Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
    – koni_raid
    May 8 at 13:33







  • 1




    Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
    – oldfred
    May 8 at 14:34












up vote
1
down vote

favorite









up vote
1
down vote

favorite











My problem is that I installed ubuntu 14 and I forgot to make a special part for home directory, so how can I mount it???







share|improve this question












My problem is that I installed ubuntu 14 and I forgot to make a special part for home directory, so how can I mount it???









share|improve this question











share|improve this question




share|improve this question










asked May 8 at 13:21









Karam Abo Raiif

62




62











  • Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
    – koni_raid
    May 8 at 13:33







  • 1




    Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
    – oldfred
    May 8 at 14:34
















  • Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
    – koni_raid
    May 8 at 13:33







  • 1




    Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
    – oldfred
    May 8 at 14:34















Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
– koni_raid
May 8 at 13:33





Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
– koni_raid
May 8 at 13:33





1




1




Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
– oldfred
May 8 at 14:34




Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
– oldfred
May 8 at 14:34










2 Answers
2






active

oldest

votes

















up vote
1
down vote













If you did not create a home partition, there is nothing to mount. If you want to create a home partition, you will need to resize your root partition, create the home partition, and edit /etc/fstab.



  • To resize and create partitions, it would be easiest to use GParted Live.



  • To add the newly created home partition to /etc/fstab, add a line that looks like this:



    UUID=XXXXXXXXXXXXX /home ext4 defaults 0 2


    Check the output of blkid to replace XXXXXX with the uuid of your home partition. Change ext4 to correspond to the filesystem of your partition.



    See the fstab manual for more information.







share|improve this answer





























    up vote
    0
    down vote













    I would say he had no home partition. So he needs to resize the full partition of / and then create a new one and mount it as home.

    I recommend doing that with GParted or KDE Partition manager (included in Kubuntu Install image).

    But to do that you need to boot your system from a live CD, because you cannot change the root partition if it is still mounted. I use the Kubuntu Install Image for that.

    To get it up and running first move all data from the original /home folder to the new partition, that must be done in the live system.

    If all Users Data is transferred to the new partition, you can reboot.
    I do that and now I would have my home partition at /dev/sda2 .



    mount | grep dev/sda 
    /dev/sda1 on / type ext4 ...
    /dev/sda2 on /home type ext4 ...


    br
    wikrie






    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',
      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%2f1033577%2fi-cannot-mount-a-partition-as-the-home-directory%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote













      If you did not create a home partition, there is nothing to mount. If you want to create a home partition, you will need to resize your root partition, create the home partition, and edit /etc/fstab.



      • To resize and create partitions, it would be easiest to use GParted Live.



      • To add the newly created home partition to /etc/fstab, add a line that looks like this:



        UUID=XXXXXXXXXXXXX /home ext4 defaults 0 2


        Check the output of blkid to replace XXXXXX with the uuid of your home partition. Change ext4 to correspond to the filesystem of your partition.



        See the fstab manual for more information.







      share|improve this answer


























        up vote
        1
        down vote













        If you did not create a home partition, there is nothing to mount. If you want to create a home partition, you will need to resize your root partition, create the home partition, and edit /etc/fstab.



        • To resize and create partitions, it would be easiest to use GParted Live.



        • To add the newly created home partition to /etc/fstab, add a line that looks like this:



          UUID=XXXXXXXXXXXXX /home ext4 defaults 0 2


          Check the output of blkid to replace XXXXXX with the uuid of your home partition. Change ext4 to correspond to the filesystem of your partition.



          See the fstab manual for more information.







        share|improve this answer
























          up vote
          1
          down vote










          up vote
          1
          down vote









          If you did not create a home partition, there is nothing to mount. If you want to create a home partition, you will need to resize your root partition, create the home partition, and edit /etc/fstab.



          • To resize and create partitions, it would be easiest to use GParted Live.



          • To add the newly created home partition to /etc/fstab, add a line that looks like this:



            UUID=XXXXXXXXXXXXX /home ext4 defaults 0 2


            Check the output of blkid to replace XXXXXX with the uuid of your home partition. Change ext4 to correspond to the filesystem of your partition.



            See the fstab manual for more information.







          share|improve this answer














          If you did not create a home partition, there is nothing to mount. If you want to create a home partition, you will need to resize your root partition, create the home partition, and edit /etc/fstab.



          • To resize and create partitions, it would be easiest to use GParted Live.



          • To add the newly created home partition to /etc/fstab, add a line that looks like this:



            UUID=XXXXXXXXXXXXX /home ext4 defaults 0 2


            Check the output of blkid to replace XXXXXX with the uuid of your home partition. Change ext4 to correspond to the filesystem of your partition.



            See the fstab manual for more information.








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 8 at 14:33









          xiota

          1,0561422




          1,0561422










          answered May 8 at 13:36









          solsTiCe

          4,90221642




          4,90221642






















              up vote
              0
              down vote













              I would say he had no home partition. So he needs to resize the full partition of / and then create a new one and mount it as home.

              I recommend doing that with GParted or KDE Partition manager (included in Kubuntu Install image).

              But to do that you need to boot your system from a live CD, because you cannot change the root partition if it is still mounted. I use the Kubuntu Install Image for that.

              To get it up and running first move all data from the original /home folder to the new partition, that must be done in the live system.

              If all Users Data is transferred to the new partition, you can reboot.
              I do that and now I would have my home partition at /dev/sda2 .



              mount | grep dev/sda 
              /dev/sda1 on / type ext4 ...
              /dev/sda2 on /home type ext4 ...


              br
              wikrie






              share|improve this answer
























                up vote
                0
                down vote













                I would say he had no home partition. So he needs to resize the full partition of / and then create a new one and mount it as home.

                I recommend doing that with GParted or KDE Partition manager (included in Kubuntu Install image).

                But to do that you need to boot your system from a live CD, because you cannot change the root partition if it is still mounted. I use the Kubuntu Install Image for that.

                To get it up and running first move all data from the original /home folder to the new partition, that must be done in the live system.

                If all Users Data is transferred to the new partition, you can reboot.
                I do that and now I would have my home partition at /dev/sda2 .



                mount | grep dev/sda 
                /dev/sda1 on / type ext4 ...
                /dev/sda2 on /home type ext4 ...


                br
                wikrie






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I would say he had no home partition. So he needs to resize the full partition of / and then create a new one and mount it as home.

                  I recommend doing that with GParted or KDE Partition manager (included in Kubuntu Install image).

                  But to do that you need to boot your system from a live CD, because you cannot change the root partition if it is still mounted. I use the Kubuntu Install Image for that.

                  To get it up and running first move all data from the original /home folder to the new partition, that must be done in the live system.

                  If all Users Data is transferred to the new partition, you can reboot.
                  I do that and now I would have my home partition at /dev/sda2 .



                  mount | grep dev/sda 
                  /dev/sda1 on / type ext4 ...
                  /dev/sda2 on /home type ext4 ...


                  br
                  wikrie






                  share|improve this answer












                  I would say he had no home partition. So he needs to resize the full partition of / and then create a new one and mount it as home.

                  I recommend doing that with GParted or KDE Partition manager (included in Kubuntu Install image).

                  But to do that you need to boot your system from a live CD, because you cannot change the root partition if it is still mounted. I use the Kubuntu Install Image for that.

                  To get it up and running first move all data from the original /home folder to the new partition, that must be done in the live system.

                  If all Users Data is transferred to the new partition, you can reboot.
                  I do that and now I would have my home partition at /dev/sda2 .



                  mount | grep dev/sda 
                  /dev/sda1 on / type ext4 ...
                  /dev/sda2 on /home type ext4 ...


                  br
                  wikrie







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 8 at 14:28









                  WiKrIe

                  384129




                  384129






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033577%2fi-cannot-mount-a-partition-as-the-home-directory%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      pylint3 and pip3 broken

                      Missing snmpget and snmpwalk

                      How to enroll fingerprints to Ubuntu 17.10 with VFS491