You are not logged in.
Currently / and /home are separate partitions on a single drive:
/dev/sdb1 206293688 63933032 131858512 33% /
/dev/sdb2 274165096 202186768 58028428 78% /homeI am trying to move my /home partition onto a newly installed secondary hard drive to allow for more storage. The new drive has been partitioned (just 1 partition) and formatted with
mkfs.ext4 /dev/sda1.
I copied the contents of the /dev/sdb2 onto /dev/sda1 booting into the terminal through the installation media. Updated fstab so that it now contains
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdb1
UUID=b8ba68ca-6a7e-4f40-b3f8-bc6ac5499213 / ext4 rw,noatime,data=ordered,errors=remount-ro 0 1
# /dev/sdb2
#UUID=c9ea631e-20f4-4825-938c-f1aa719089a7 /home ext4 rw,noatime,data=ordered,errors=remount-ro 0 2
# /dev/sda1
UUID=d20b6eb9-185d-4245-aa8d-415429d8b4be /home ext4 rw,noatime,data=ordered,errors=remount-ro 0 2It mounts properly at /home, and I can see all my files in the home directory, but I can't login through the graphical interface, and if I login to the terminal I get the following error:
locking failed for /home/nick/.zsh_history: permission denied:It appears the files in /home are mounted but are read only. Please help.
Offline
Welcome to the forums. ![]()
How did you copy? What is the entry in /proc/mounts? Are the files in /home/nick owned by your user?
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Thanks for the reply. My bad, I should've figured it was a permissions issue. All I had to do was run
sudo chown -R nick:nick /home/nickBut for the record, I booted from install media and mounted the partitions manually and used 'cp -rf' on the home directory to the new disk/partition, then made the aforementioned changes in /etc/fstab.
Offline
Kindly mark this thread solved, by adding [solved] in the title by editing your first post.
Arch is home!
https://github.com/Docbroke
Offline
cp -a would have been better. (And even better, rsync, but that's another story for another thread.)
As Docbroke said, please mark this thread as solved. Thanks.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline