Install ubuntu / on SDD and /home on HDD [duplicate]












1
















This question already has an answer here:




  • I need an equivalent of gksu in 18.04

    4 answers




I'm trying to install ubuntu 18.04 LTS on my computer. I have a SSD and a HDD. I want to install the root / of ubuntu on my SSD (and my swap too), but install my /home on my HDD.



I don't found how to do it during the ubuntu install. If there is a solution please tell me !
So I installed ubuntu on my SSD and I'm trying to move /home on my HDD.



Here what I have done :



Create a partition in ext4 with gparted for my newHome.
Then sudo mount /dev/myNewPartition /media/stockFolder
Then sudo cp -av /home/. /media/stockFolder



Here I'm in troubles because alt+f2 and gksudo nautilus doesn't work (commande not found) but I need it to rename /home in /oldHome and then mkdir /home and mount /dev/myNewPartition /home and cp -av /media/stockFolder/. /home



If there is a solution to do it during installation it will be nice. However could you help me to run gksudo nautilus please ?



Thank you










share|improve this question















marked as duplicate by Kulfy, karel, mikewhatever, Eric Carvalho, guntbert Jan 22 at 22:27


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • Yes I have seen this post but even if pkexec nautilus works, rename home already return : This item could not be renamed : device or resource busy

    – Izaya
    Jan 20 at 16:17











  • So which is the question, here? That you can't invoke gksudo nautilus, or that the home folder is busy? Or that you want to know how to set your destination $HOME directory on another disk? Because your $HOME will always be busy if you're logged in, so you'll need to try after booting from a "live cd" and opening a shell session with Super+Alt+T. Then you can run sudo apt-get install gksu as root, you can install whatever you need and it won't affect your actual OS fyi.

    – Benjamin R
    Jan 20 at 16:31













  • I just want to install /home on another disk. One way is to move /home. It still doesn't work. I understand that I need to be out of ubuntu to do something on /home. But even if I run ubuntu on my usb key, I can't install gksu or nautilus-admin. It makes no sens. I tried with this : help.ubuntu.com/community/Partitioning/Home/Moving but also impossible to move /home for same reasons and if I'm running from usb key /home on my disk is empty.

    – Izaya
    Jan 20 at 19:40













  • Have you tried this?: maketecheasier.com/…

    – Benjamin R
    Jan 21 at 13:40













  • "If I'm running from usb key /home on my disk is empty." You're looking in the wrong place. Of course it's empty, you want to be looking on the drive where your /home should be! You can use udisksctl to mount the partition and go from there: makeuseof.com/tag/…

    – Benjamin R
    Jan 21 at 13:45
















1
















This question already has an answer here:




  • I need an equivalent of gksu in 18.04

    4 answers




I'm trying to install ubuntu 18.04 LTS on my computer. I have a SSD and a HDD. I want to install the root / of ubuntu on my SSD (and my swap too), but install my /home on my HDD.



I don't found how to do it during the ubuntu install. If there is a solution please tell me !
So I installed ubuntu on my SSD and I'm trying to move /home on my HDD.



Here what I have done :



Create a partition in ext4 with gparted for my newHome.
Then sudo mount /dev/myNewPartition /media/stockFolder
Then sudo cp -av /home/. /media/stockFolder



Here I'm in troubles because alt+f2 and gksudo nautilus doesn't work (commande not found) but I need it to rename /home in /oldHome and then mkdir /home and mount /dev/myNewPartition /home and cp -av /media/stockFolder/. /home



If there is a solution to do it during installation it will be nice. However could you help me to run gksudo nautilus please ?



Thank you










share|improve this question















marked as duplicate by Kulfy, karel, mikewhatever, Eric Carvalho, guntbert Jan 22 at 22:27


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • Yes I have seen this post but even if pkexec nautilus works, rename home already return : This item could not be renamed : device or resource busy

    – Izaya
    Jan 20 at 16:17











  • So which is the question, here? That you can't invoke gksudo nautilus, or that the home folder is busy? Or that you want to know how to set your destination $HOME directory on another disk? Because your $HOME will always be busy if you're logged in, so you'll need to try after booting from a "live cd" and opening a shell session with Super+Alt+T. Then you can run sudo apt-get install gksu as root, you can install whatever you need and it won't affect your actual OS fyi.

    – Benjamin R
    Jan 20 at 16:31













  • I just want to install /home on another disk. One way is to move /home. It still doesn't work. I understand that I need to be out of ubuntu to do something on /home. But even if I run ubuntu on my usb key, I can't install gksu or nautilus-admin. It makes no sens. I tried with this : help.ubuntu.com/community/Partitioning/Home/Moving but also impossible to move /home for same reasons and if I'm running from usb key /home on my disk is empty.

    – Izaya
    Jan 20 at 19:40













  • Have you tried this?: maketecheasier.com/…

    – Benjamin R
    Jan 21 at 13:40













  • "If I'm running from usb key /home on my disk is empty." You're looking in the wrong place. Of course it's empty, you want to be looking on the drive where your /home should be! You can use udisksctl to mount the partition and go from there: makeuseof.com/tag/…

    – Benjamin R
    Jan 21 at 13:45














1












1








1









This question already has an answer here:




  • I need an equivalent of gksu in 18.04

    4 answers




I'm trying to install ubuntu 18.04 LTS on my computer. I have a SSD and a HDD. I want to install the root / of ubuntu on my SSD (and my swap too), but install my /home on my HDD.



I don't found how to do it during the ubuntu install. If there is a solution please tell me !
So I installed ubuntu on my SSD and I'm trying to move /home on my HDD.



Here what I have done :



Create a partition in ext4 with gparted for my newHome.
Then sudo mount /dev/myNewPartition /media/stockFolder
Then sudo cp -av /home/. /media/stockFolder



Here I'm in troubles because alt+f2 and gksudo nautilus doesn't work (commande not found) but I need it to rename /home in /oldHome and then mkdir /home and mount /dev/myNewPartition /home and cp -av /media/stockFolder/. /home



If there is a solution to do it during installation it will be nice. However could you help me to run gksudo nautilus please ?



Thank you










share|improve this question

















This question already has an answer here:




  • I need an equivalent of gksu in 18.04

    4 answers




I'm trying to install ubuntu 18.04 LTS on my computer. I have a SSD and a HDD. I want to install the root / of ubuntu on my SSD (and my swap too), but install my /home on my HDD.



I don't found how to do it during the ubuntu install. If there is a solution please tell me !
So I installed ubuntu on my SSD and I'm trying to move /home on my HDD.



Here what I have done :



Create a partition in ext4 with gparted for my newHome.
Then sudo mount /dev/myNewPartition /media/stockFolder
Then sudo cp -av /home/. /media/stockFolder



Here I'm in troubles because alt+f2 and gksudo nautilus doesn't work (commande not found) but I need it to rename /home in /oldHome and then mkdir /home and mount /dev/myNewPartition /home and cp -av /media/stockFolder/. /home



If there is a solution to do it during installation it will be nice. However could you help me to run gksudo nautilus please ?



Thank you





This question already has an answer here:




  • I need an equivalent of gksu in 18.04

    4 answers








partitioning hard-drive nautilus ssd home-directory






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 22 at 12:33









Rinzwind

206k28394526




206k28394526










asked Jan 20 at 15:26









IzayaIzaya

164




164




marked as duplicate by Kulfy, karel, mikewhatever, Eric Carvalho, guntbert Jan 22 at 22:27


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Kulfy, karel, mikewhatever, Eric Carvalho, guntbert Jan 22 at 22:27


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • Yes I have seen this post but even if pkexec nautilus works, rename home already return : This item could not be renamed : device or resource busy

    – Izaya
    Jan 20 at 16:17











  • So which is the question, here? That you can't invoke gksudo nautilus, or that the home folder is busy? Or that you want to know how to set your destination $HOME directory on another disk? Because your $HOME will always be busy if you're logged in, so you'll need to try after booting from a "live cd" and opening a shell session with Super+Alt+T. Then you can run sudo apt-get install gksu as root, you can install whatever you need and it won't affect your actual OS fyi.

    – Benjamin R
    Jan 20 at 16:31













  • I just want to install /home on another disk. One way is to move /home. It still doesn't work. I understand that I need to be out of ubuntu to do something on /home. But even if I run ubuntu on my usb key, I can't install gksu or nautilus-admin. It makes no sens. I tried with this : help.ubuntu.com/community/Partitioning/Home/Moving but also impossible to move /home for same reasons and if I'm running from usb key /home on my disk is empty.

    – Izaya
    Jan 20 at 19:40













  • Have you tried this?: maketecheasier.com/…

    – Benjamin R
    Jan 21 at 13:40













  • "If I'm running from usb key /home on my disk is empty." You're looking in the wrong place. Of course it's empty, you want to be looking on the drive where your /home should be! You can use udisksctl to mount the partition and go from there: makeuseof.com/tag/…

    – Benjamin R
    Jan 21 at 13:45



















  • Yes I have seen this post but even if pkexec nautilus works, rename home already return : This item could not be renamed : device or resource busy

    – Izaya
    Jan 20 at 16:17











  • So which is the question, here? That you can't invoke gksudo nautilus, or that the home folder is busy? Or that you want to know how to set your destination $HOME directory on another disk? Because your $HOME will always be busy if you're logged in, so you'll need to try after booting from a "live cd" and opening a shell session with Super+Alt+T. Then you can run sudo apt-get install gksu as root, you can install whatever you need and it won't affect your actual OS fyi.

    – Benjamin R
    Jan 20 at 16:31













  • I just want to install /home on another disk. One way is to move /home. It still doesn't work. I understand that I need to be out of ubuntu to do something on /home. But even if I run ubuntu on my usb key, I can't install gksu or nautilus-admin. It makes no sens. I tried with this : help.ubuntu.com/community/Partitioning/Home/Moving but also impossible to move /home for same reasons and if I'm running from usb key /home on my disk is empty.

    – Izaya
    Jan 20 at 19:40













  • Have you tried this?: maketecheasier.com/…

    – Benjamin R
    Jan 21 at 13:40













  • "If I'm running from usb key /home on my disk is empty." You're looking in the wrong place. Of course it's empty, you want to be looking on the drive where your /home should be! You can use udisksctl to mount the partition and go from there: makeuseof.com/tag/…

    – Benjamin R
    Jan 21 at 13:45

















Yes I have seen this post but even if pkexec nautilus works, rename home already return : This item could not be renamed : device or resource busy

– Izaya
Jan 20 at 16:17





Yes I have seen this post but even if pkexec nautilus works, rename home already return : This item could not be renamed : device or resource busy

– Izaya
Jan 20 at 16:17













So which is the question, here? That you can't invoke gksudo nautilus, or that the home folder is busy? Or that you want to know how to set your destination $HOME directory on another disk? Because your $HOME will always be busy if you're logged in, so you'll need to try after booting from a "live cd" and opening a shell session with Super+Alt+T. Then you can run sudo apt-get install gksu as root, you can install whatever you need and it won't affect your actual OS fyi.

– Benjamin R
Jan 20 at 16:31







So which is the question, here? That you can't invoke gksudo nautilus, or that the home folder is busy? Or that you want to know how to set your destination $HOME directory on another disk? Because your $HOME will always be busy if you're logged in, so you'll need to try after booting from a "live cd" and opening a shell session with Super+Alt+T. Then you can run sudo apt-get install gksu as root, you can install whatever you need and it won't affect your actual OS fyi.

– Benjamin R
Jan 20 at 16:31















I just want to install /home on another disk. One way is to move /home. It still doesn't work. I understand that I need to be out of ubuntu to do something on /home. But even if I run ubuntu on my usb key, I can't install gksu or nautilus-admin. It makes no sens. I tried with this : help.ubuntu.com/community/Partitioning/Home/Moving but also impossible to move /home for same reasons and if I'm running from usb key /home on my disk is empty.

– Izaya
Jan 20 at 19:40







I just want to install /home on another disk. One way is to move /home. It still doesn't work. I understand that I need to be out of ubuntu to do something on /home. But even if I run ubuntu on my usb key, I can't install gksu or nautilus-admin. It makes no sens. I tried with this : help.ubuntu.com/community/Partitioning/Home/Moving but also impossible to move /home for same reasons and if I'm running from usb key /home on my disk is empty.

– Izaya
Jan 20 at 19:40















Have you tried this?: maketecheasier.com/…

– Benjamin R
Jan 21 at 13:40







Have you tried this?: maketecheasier.com/…

– Benjamin R
Jan 21 at 13:40















"If I'm running from usb key /home on my disk is empty." You're looking in the wrong place. Of course it's empty, you want to be looking on the drive where your /home should be! You can use udisksctl to mount the partition and go from there: makeuseof.com/tag/…

– Benjamin R
Jan 21 at 13:45





"If I'm running from usb key /home on my disk is empty." You're looking in the wrong place. Of course it's empty, you want to be looking on the drive where your /home should be! You can use udisksctl to mount the partition and go from there: makeuseof.com/tag/…

– Benjamin R
Jan 21 at 13:45










1 Answer
1






active

oldest

votes


















1














Here a solution



Finally I reinstalled ubuntu following this example : How to use manual partitioning during installation?
but the point is that you can create a root partition on SSD and a /home partition on HDD even if you have the device for boot selected as SSD - like the step 8 of this example.



For those how want to move /home the best solution is here : https://help.ubuntu.com/community/Partitioning/Home/Moving
and keep in mind you can't rename /home when you are on your ubuntu session. To do it boot on an usb key and you can use udisksctl to mount the partition and go from there: https://www.makeuseof.com/tag/mounting-hard-disks-partitions-using-linux-command-line/



Thank you for your comments, they really help me to understand how it works.



I hope it will help someone !






share|improve this answer
































    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Here a solution



    Finally I reinstalled ubuntu following this example : How to use manual partitioning during installation?
    but the point is that you can create a root partition on SSD and a /home partition on HDD even if you have the device for boot selected as SSD - like the step 8 of this example.



    For those how want to move /home the best solution is here : https://help.ubuntu.com/community/Partitioning/Home/Moving
    and keep in mind you can't rename /home when you are on your ubuntu session. To do it boot on an usb key and you can use udisksctl to mount the partition and go from there: https://www.makeuseof.com/tag/mounting-hard-disks-partitions-using-linux-command-line/



    Thank you for your comments, they really help me to understand how it works.



    I hope it will help someone !






    share|improve this answer






























      1














      Here a solution



      Finally I reinstalled ubuntu following this example : How to use manual partitioning during installation?
      but the point is that you can create a root partition on SSD and a /home partition on HDD even if you have the device for boot selected as SSD - like the step 8 of this example.



      For those how want to move /home the best solution is here : https://help.ubuntu.com/community/Partitioning/Home/Moving
      and keep in mind you can't rename /home when you are on your ubuntu session. To do it boot on an usb key and you can use udisksctl to mount the partition and go from there: https://www.makeuseof.com/tag/mounting-hard-disks-partitions-using-linux-command-line/



      Thank you for your comments, they really help me to understand how it works.



      I hope it will help someone !






      share|improve this answer




























        1












        1








        1







        Here a solution



        Finally I reinstalled ubuntu following this example : How to use manual partitioning during installation?
        but the point is that you can create a root partition on SSD and a /home partition on HDD even if you have the device for boot selected as SSD - like the step 8 of this example.



        For those how want to move /home the best solution is here : https://help.ubuntu.com/community/Partitioning/Home/Moving
        and keep in mind you can't rename /home when you are on your ubuntu session. To do it boot on an usb key and you can use udisksctl to mount the partition and go from there: https://www.makeuseof.com/tag/mounting-hard-disks-partitions-using-linux-command-line/



        Thank you for your comments, they really help me to understand how it works.



        I hope it will help someone !






        share|improve this answer















        Here a solution



        Finally I reinstalled ubuntu following this example : How to use manual partitioning during installation?
        but the point is that you can create a root partition on SSD and a /home partition on HDD even if you have the device for boot selected as SSD - like the step 8 of this example.



        For those how want to move /home the best solution is here : https://help.ubuntu.com/community/Partitioning/Home/Moving
        and keep in mind you can't rename /home when you are on your ubuntu session. To do it boot on an usb key and you can use udisksctl to mount the partition and go from there: https://www.makeuseof.com/tag/mounting-hard-disks-partitions-using-linux-command-line/



        Thank you for your comments, they really help me to understand how it works.



        I hope it will help someone !







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 22 at 13:15

























        answered Jan 22 at 12:32









        IzayaIzaya

        164




        164















            Popular posts from this blog

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            19世紀