Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
hey all hows it going? I am new to linux, Redhat 9. I am trying to mount my slave hdd. I am following the redhat guide on redhat's site redhat.com/docs/manuals/linux/(i was not able to link to a website since I do not have posted enough yet.) I have followed the guide up until the Gedit. when i open FStab in Gedit, I am not able to edit or modify the file, since is a read-only file. Also when I tried to mount the hdd in a terminal I recieved this message
You need to run gedit as root to make changes to fstab. Or in any editor - it's not a gedit problem. Once you've made the changes, you should be able to mount it with 'mnt /mnt/windows'.
open your terminal do a su to gain root permissions then just type gedit /etc/fstab and it shoudl show you the file then edit it and save it to just run gedit as root perform gedit without /etc/fstab
yeah he could also use some text editor i like nano a lot for example but i dont think its the right thing for him at the moment so he better stayes with gedit so far
first, I would like to thank you all for you help. second I was able to open the gedit /etc/fstab file. but when i went to edit the file by adding /dev/hda1 /mnt/windows vfat auto,umask=0 0 0 to another line. I recieved this error message "Unable to make a backup of the original file." So I was not able to save the file.
You got that running gedit as root? And you tried another editor and got the same message? The only reason I could think of for that message is that your root partition is slam full (extremely unlikely) or that you don't have permission to write to /etc (which root does) or something's buggy with your gedit (which seems odd and would be likely ruled out if the same thing happened in another editor). The last thing I can think of is that your whole root filesystem is mounted read-only (again, extremely unlikely).
Maybe somebody else has an idea but, if you are root, it happens in other editors, etc., etc. - I'm stumped.
Which RH manual are you following? I went to the page but it's a list of several manuals.
Yes I was in root when I was in the terminal and tryped su, then I typed gedit /etc/fstab and the gedit opened then I typed in "/dev/hda1 /mnt/windows vfat auto,umask=0 0 0" on a new line. I am not sure if I was in root while I was using gedit. I am using the RH manual
Well, it doesn't matter which directory you open gedit from. Kinda confusing - the fact that '/' is the 'root' filesystem and contains a directory called 'root' that is the home of the user 'root'. You just need to be the user 'root' when launching the app and opening, editing, and saving the file.
Hm. I just fired up gedit and edited fstab with it. No problem. But try edit>preferences>editor>save and unchecking 'backup' for the heck of it. You tried another editor? Like I say, I'm stumped. I don't even know what sort of diagnostics to get you to try beyond what I said above. Hope somebody gets you sorted out.
Originally posted by JsCAMRY Yes I was in root when I was in the terminal and tryped su, then I typed gedit /etc/fstab and the gedit opened then I typed in "/dev/hda1 /mnt/windows vfat auto,umask=0 0 0" on a new line. I am not sure if I was in root while I was using gedit. I am using the RH manual
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.