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.
Darthtux is giving excellent advice, and I'm sure if you have a little patience you'll be there in no time at all.
Also let me add that for someone who has only been using Linux for a matter of hours you are comming along VERY well. I was totally lost my first time(s). Keep plugging away at it and I'm sure you will work out the problem.
Yeah, you are doing great with Linux! I didn't figure out how mount a drive/use fstab for several months. And I know that feeling - thinking you are really quite good at computers, and then being thrown into a whole new world, feels like you don't know anything at all.
Well, I'm having the same problem, I am not sure how to allow a user to access the directory.
But, you can use this command:
to open a konqueror window as root. Just be careful not to hurt something by mistake.
Then you can copy files over to your personal directory. However, the files will probably have messed up permissions. I wrote a little script to help me with changing permissions quickly, maybe it would be of use to you as well.
Copy it into kwrite and save it.
# A helpful permission changer script
echo "What directory or file would you like to change permissions of?"
echo "What permissions do you want to use?"
echo "What user do you want the files to be owned by?"
echo "What group do you want the files to use?"
chmod -R $chmod $dir
chown -R $chown $dir
chgrp -R $chgrp $dir
chmod a+x (whatever-you-called-it.sh)
Then, as root, run it from a terminal
So do I have to move my files onto the same directory that my OS is installed on for them to become completely accessible? I may be reading wrong but thats what it sounds like when you say that I can then copy my files over to my personal directory.
Sorry I wasn't clearer. I probably could have worded that better, and I shouldn't have gone on about permissions either.
You can read them, open them, whatnot, but if they are on ntfs you can't write to them.
You don't have to copy them over if you don't need to change the files. It's probably faster to have them on linux native filesystem, but I don't know...
I think I'll be forced to leave them until I get a bigger HD. The HD that my OS is on is a 40gig, and the second one is an 80, with only 6 GB free. This houses my music and other important media files.
And i'm assuming I cannot format this drive to a linux filesystem without losing my data. Am I correct?
I uninstalled mandrake10.0, and used a few live CD's for a couple days.
I just installed fedora core 2, I like it a lot! Only thing is I can't get to my second HD, and I've used the methods used in this thread and they aren't seeming to work.
I'm using the command "mount -t ntfs /dev/hdb /home" and It is telling me "mount: fs type ntfs not supported by kernel"
I also tried the command in the first reply of this thread and I got here:
[root@localhost /]# fdisk /dev/hdb
The number of cylinders for this disk is set to 9964.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):
And when I press m for help, I get this:
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
So ... yes I am again confused on how to access my second HD.
On a side note, it was not present while I installed the OS ... I have a feeling this has something to do with my problem.
EDIT/update: I went here and installed that ntfs rpm. Then when I went to mount the HD using "mount -t ntfs /dev/hdb /home" I got this"
mount: wrong fs type, bad option, bad superblock on /dev/hdb,
or too many mounted file systems
I tried the fdisk /dev/hdb and got the same results as before.