Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 619
Rep:
If you want to change the mount point permanently you'll need to change it in /etc/fstab. You also have to make sure that the mount point exists. Have you created /home/osboxes/mnt?
If it's just a temporary mount then again, make sure the folder for mounting exists and do
Code:
sudo umount /dev/sda3
sudo mount /dev/sda3 /home/osboxes/mnt
I run 'sudo umount /dev/sda3' and then 'sudo mount /dev/sda3 /home/osboxes/mnt' and the partition was mounted on /home/osboxes/mnt but if i check the mount points is still shows that partition is also still mounted on '/media/osboxes/11e00809-744e-4b0a-a9df-05ad54a0dc13'
Code:
osboxes@osboxes:/media/osboxes$ mount | grep sda3
/dev/sda3 on /media/osboxes/11e00809-744e-4b0a-a9df-05ad54a0dc13 type ext4 (rw,nosuid,nodev,uhelper=udisks2)
/dev/sda3 on /home/osboxes/mnt type ext4 (rw)
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,103
Rep:
looks like the unmount command failed, what out put did you get from it? you can't usually unmount a disk if there is a file on it in use, try using the 'mountpoint' command to check if the old mount point really has a disk mountedd there.
I think i found what was the problem. I had the partition opened in my file manager (thunar) while i trying to unmount it. I closed the file manager and was able to unmount it.
By the way, what these values mean (rw,nosuid,nodev,uhelper=udisks2)? The previous mount point showed theme and now it shows only 'rw' (read,wtite):
Code:
osboxes@osboxes:/var/cache/apt/archives$ mount | grep sda3
/dev/sda3 on /home/osboxes/mnt type ext4 (rw)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.