How do I move home out of OS partition into a partition of its own

Bret Busby bret.busby at gmail.com
Thu Jan 24 22:27:08 UTC 2019


On 25/01/2019, Ken D'Ambrosio <ken at jots.org> wrote:
> On 2019-01-24 16:46, Wynona Stacy Lockwood wrote:
>
>> " What is the procedure for me to now move the home directories on each
>> system, into partitions of their own? "
>>
>> Well, once you add disk, it's reasonably straightforward.
>
> Addendum: if following the instructions below, suggest that you be
> logged in as root, and not simply sudo'd.  Your session could become
> *very* confused if files are moved out from under it, or mounted on top,
> etc.
>
>> 1: mount new formatted partition that will be home somewhere you can get
>> to it, like say under /mnt somewhere.
>> 2. Move everything from /home/ into that partition.
>> 3. Add a line to /etc/fstab specifying  that you want that partition
>> mounted at /home/ at boot time.
>> 4. run 'mount -a' to double check that it works.
>> 5. Optionally, reboot to make sure.
>>
>> --
>> Wynona Stacy Lockwood
>> stacy at guppylog.com
>> (847) 579-9753

My understanding is that Ubuntu Linux does not allow for logging in as
root; that superuser actions need to be performed using sudo.


-- 
Bret Busby
Armadale
West Australia
..............

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992

....................................................




More information about the ubuntu-users mailing list