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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've just installed Red Hat 9 a couple of days ago and so far everything is going pretty well...
On my laptop I've got an 80 Gig HD...20 Gig partition for WInXP; 8 Gig partition for Linux; 2 Gig partition for swap; 50 Gig partition for files and apps which will hopefully one day be used by both OS's. The 50 Gig NTFS partition (dev/hda4) mounts just fine to /mnt/win.
As root, as one would expect, I have full access to /mnt/win...but when I'm logged in as my non-root user, I can't seem to be able to access this dir. I've tried changing permission settings, but I still can't quite get it:
[hildog@localhost hildog]$ cd /mnt/win
bash: cd: /mnt/win: Permission denied
[hildog@localhost hildog]$ chmod 700 /mnt/win
chmod: changing permissions of `/mnt/win': Read-only file system
[hildog@localhost hildog]$ cd /mnt
hildog@localhost mnt]$ ls
[hildog@localhost mnt]$ cd win
bash: cd: win: Permission denied
[hildog@localhost mnt]$ chmod 700 win
chmod: changing permissions of `win': Read-only file system
[hildog@localhost mnt]$ cd win
bash: cd: win: Permission denied]
As you can see, I get the "Read-only file system" message when I try to change the permissions...how can I access this dir as a regular user ?
You cannot change permissions on windoze filesystems from Linux (better said as Linux doesn't read permissions on windoze files). That said, to give the impression of permissions, you set it up in your options when you mount it, or in /etc/fstab to allow users to access the files and the rights you want them to have on them.
Okay, well then that solves and creates another problem...since I need to write to that particular partition from both Linux & XP, I can't format it as NTFS...so what file system should I use for it (bearing in mind that I want to be able to read and write from both XP & Linux) ? Re-formatting as FAT32 will work, right ? Isn't there supposed to be some kind of FIPS utility or something that will allow me to re-format the file system without destroying the data ? Not that it isn't all backed up, but if I don't have to restore the files, then so much the better...
And now it's a little bit later...I've successfully converted the NTFS partition to FAT32 without destroying any files, mounted it, and read it from Linux...now my problem (which is almost solved) is that I can't write to it. What do I have to do in order to be able to write to this partition from both Linux & Windows ?
Well, I cheated...I used Partition Magic in Windows...though I'd love to know how to do it in Linux for future reference.
So after I changed fstab to reflect those changes, now I can read and write just fine...but when I installed Firebird on my newly accessible partition, I can't seem to be able to get it to run from there...then when I moved it (Firebird) back to my home dir, it ran just fine...is there some kind of option I need in fstab that lets me run applications ?