Ubuntu18.04:
I found the space of / directory is not enough.So I tried mounting sdb(formatted through GParted) on /home.
Process:
After formatting a new part sdb4(10G) and sdb5(1.8T) on disk sdb using GParted, I found there was a "!" on /boot/efi part(mounted on sdb1)
mv -rf /home /backup
got uuid of /dev/sdb5 by
blkid
and edit /etc/fstabsudo mount -a
I found the sdb5 really mounted on /home by
df -h
mv -rf /backup/username /home
reboot
(an error occurs on screen "failed deactivating swap /dev/disk/by-uuid/xxxx",but i have commented the swap in /etc/fstab)come to the log-in interface: after entering password, it come back to the log-in...
So how could I solve this, please?
/home/guiverc/
which I own for a GUI to create files there. If you've mounted your /dev/sdb5 to /home/, I'd have to ensure there exists a/guiverc/
in the root directory (the /home/ isn't needed as handled in my example, by the way I'd mount it in my file system table or/etc/fstab
entry.