I wanted to run Ubuntu on my primary system so I installed a second hard drive, a 500GB. I let the install program do all of the partitioning. I tried to move files off of my Windows 7 drive, but I ran out of space. I went to this website as it seems to be the same thing that my system is doing. I typed df -h
into terminal and I got this:
In nano as root I edited the /etc/fstab
file and added this line:
/dev/sdb1 /home ext4 rw,relatime,acl 0 2
I saved it and then restarted. This made my /home
directory inaccessible and locked up my computer. After a few tries trying to gain access to /home
, I went back in and added # to the beginning of that line and was able gain access to /home
again. I used terminal to make the directory Docs in /media/clay/Ubuntu
. I can access it, but can't do anything else with it. It tells me that I don't have permission. I have read that I can delete the sdb1 partition and expand the sdb5, but I read that if you do that it makes it harder to update or change distributions, and I'm not sure how to proceed. This is what my /etc/fsta
b looks like:
It looks like it uses the UUID to identify the drive partitions, but I don't know how to find out what the id of sdb1 is or how to add it and what other information I need add to /etc/fstab
to make it accessible.
sudo blkid | grep sdb1
– user535733 Jan 14 '23 at 21:58