Share home directory between 2 18.04 installations

Rashkae ubuntu at tigershaunt.com
Wed Jul 31 01:38:23 UTC 2019


On 2019-07-30 9:22 p.m., Rashkae wrote:
> On 2019-07-30 9:01 p.m., Jack McGee wrote:
> 
>> from the first installation:
>>
> 
>> UUID=b51fdfaa-c058-4744-8473-76727e3a5575   /home    ext4 defaults      
>> 0       2
> 
> Pretty simple and straighforward, copy this line into the /etc/fstab of
> your new install and reboot.
> 


Before doing that, however, it might be prudent to run blkid and verify
that the old home partition still exists and you haven't reformated it
when you installed the new one.

Once you find what device it's on, you can mount it to verify that your
files are intact.

All commands as root (either use a root command prompt, or prepend sudo
to each command.)

blkid | grep b51f

for this example, lets assume the filesystem is found on /dev/sdc1

mkdir /mnt/test
mount /dev/sdc1 /mnt/test
cd /mnt/test

Have a look around, if it looks like what you want, modify fstab to
mount it as your new home.






More information about the ubuntu-users mailing list