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.
Loaded RedHat 9 and wanted to access my shared vfat files, Windows dual boot. When editing the /etc/fstab file to include the following in addition to floopy, zip, and cdrom:
/dev/hda6 /mnt/data1 auto noauto,owner,kuszu 0 0
/dev/hda7 /mnt/data2 auto noauto,owner,kuszu 0 0
and then created directory entries in the /mnt directory for data1 and data2,
using the terminal root, I mount both volumes without any problems and access the data with no problems.
When I reboot my system, of course the Updating fstab occurs and then when I log back in I have lost my changes in /mnt and /etc/fstab.
How can I save the changes in fstab and /mnt so that I don't have to keep modifying each time I log in?
Are you logged as root when doing /etc/fstab modification?
I also suggest you move from
/dev/hda6 /mnt/data1 auto noauto,owner,kudzu 0 0
/dev/hda7 /mnt/data2 auto noauto,owner,kudzu 0 0
to
/dev/hda6 /mnt/data1 auto noauto,user,kudzu 0 0
/dev/hda7 /mnt/data2 auto noauto,user,kudzu 0 0
in order can mount/unmount as ordinary user
Ciao
To clarify a bit more I have installed a copy of the new RedHat version Fedora and I am trying to set up a migration plan for me and other clients to have an alternative other than windows.
After rebooting several times, it looks like the /mnt directory is fine and still has the necessary folders for the data1 and data2 mounts. The fstab still updates at startup and of course only has the cdrom, floppy, and zip, and does not include hda6 and hda7.
When I reboot and do my mounts in root terminal mode for hda6 and hda7, everything is fine and I am able to see and use the partitions.
So, I guess this is how it works. Again, I am still new at learning linux, so I guess I have to take one thing/step at a time.
Thank you for your input and help. Any reply comments are greatly appreciated.
As a side note for a newbie, what distribution do you recommend? RedHat, SuSE, Mandrake, etc??
Your problem is kudzu is rewriting the lines that you edited in /etc/fstab. Get rid of the kudzu option if you make any changes of your own to a particular mount point. You can also change the filesystem type to "vfat" since it doesn't need to be set as "auto".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.