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.
Hi
I have searched the other threads for the answer but they did'nt help
I have a native partition hda2 mounted on /usr, and i want to change it because everything i copy to hda2 is also copied to /usr, which is not what i want.
I tried to umount it, but it would'nt let me. I tried to edit /etc/fstab but that did'nt work either. I never thought it could be that easy
What do i need to do to remount the partition at another mount point. Is it possible to mount it as just hda2
I am using Suse 10.2
Thank you for your help, I know this is a basic question but i am as thick as a box of rocks
here's the output of mount
/dev/hda1 on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda2 on /usr type ext3 (rw,acl,user_xattr)
securityfs on /sys/kernel/security type securityfs (rw)
I tried to change the mount with yast using partitioner
Hope this helps
If you don't want sda2 mounted at /usr you need to create another mount point (directory) that you want to use. If this is just a data partition, you could just call it data and run these commands. You need to be root to do it:
su - (hit the enter key, will be prompted for your password, enter it)
mkdir /mnt/data
mount -t ext3 /dev/sda2 /mnt/data (if you're not using ext3 filesystem, change that)
Then make the change in fstab. Logged in to a terminal as root:
kwrite /etc/fstab (should open kwrite text editor, if that doesn't work use whatever text editor you are familiar with and replace kwrite with whatever that might be. vi editor would work if you know how to use it)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.