Share home directory between 2 18.04 installations
Jack McGee
jack at greendesk.net
Wed Jul 31 01:01:15 UTC 2019
So I have a broken 18.04 (#1) installation, and installed another 18.04
(#2)instance beside it.
The new 18.04 (#2)cannot see the original home directory.
from the first installation:
mythuser at amethi:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=b493bd22-70d3-45c5-b143-6197d389f958 / ext4
errors=remount-ro 0 1
UUID=19d627e0-023f-4e34-a484-09c4ce57566e /mnt/media5 ext4 defaults 0 0
UUID=6cd655a1-b1a3-4b79-a404-87777353991e /mnt/media6 ext4 user
0 0
UUID=c5cb94f2-b6c2-4844-8e05-518d82119e1e /mnt/media1 ext4 defaults 0 0
UUID=6a4fefef-139b-48eb-8bb2-05d5e2d741be /mnt/media3 ext4 defaults 0 0
UUID=b51fdfaa-c058-4744-8473-76727e3a5575 /home ext4 defaults
0 2
UUID=6281-7001 /boot/efi vfat defaults 0 1
UUID=a90503a5-8c2b-491d-b541-f58f45a9e0ed /mnt/1804-2install ext4
defaults 0 0
UUID=289e0eae-6354-4db2-b0d8-1f8d35ec0e62 /mnt/sdf1 ext4 defaults 0 0
UUID=ea569c19-54e8-4602-9ffd-39d3564af3ef /mnt/sdf2 ext4 defaults 0 0
UUID=90eaf5b6-a86b-4f48-bdd1-163dbcd632cd /mnt/media4 ext4 defaults 0 0
from the #2 installation:
mythuser at amethi:~$ cd /mnt/sdf2/etc
mythuser at amethi:/mnt/sdf2/etc$ cat fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=a90503a5-8c2b-491d-b541-f58f45a9e0ed /swap ext4
defaults 0 2
UUID=7fc941bf-d392-4a40-93bb-74413d29d124 /var ext4
defaults 0 2
UUID=ba22de6b-ffac-4573-b05f-90b0c2e1f810 none swap
sw 0 0
UUID=289e0eae-6354-4db2-b0d8-1f8d35ec0e62 /boot ext4 defaults
0 2
UUID=289e0eae-6354-4db2-b0d8-1f8d35ec0e62 /boot/efi ext4
defaults 0 1
UUID=b493bd22-70d3-45c5-b143-6197d389f958 / ext4
errors=remount-ro 0 1
UUID=6cd655a1-b1a3-4b79-a404-87777353991e /mnt/media6 ext4
defaults 0 0
UUID=6a4fefef-139b-48eb-8bb2-05d5e2d741be /mnt/media3 ext4
defaults 0 0
UUID=c5cb94f2-b6c2-4844-8e05-518d82119e1e /mnt/media1 ext4
defaults 0 0
UUID=19d627e0-023f-4e34-a484-09c4ce57566e /mnt/media5 ext4
defaults 0 0
UUID=90eaf5b6-a86b-4f48-bdd1-163dbcd632cd /mnt/media4 ext4
defaults 0 0
I have verified the user mythuser on both installations has the same UID
1000.
the home directory is empty on new installation.
More information about the ubuntu-users
mailing list