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.
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:
Code:
kdesu konqueror
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.
Code:
#!/bin/bash
# A helpful permission changer script
echo "What directory or file would you like to change permissions of?"
read dir
echo "What permissions do you want to use?"
read chmod
echo "What user do you want the files to be owned by?"
read chown
echo "What group do you want the files to use?"
read chgrp
chmod -R $chmod $dir
chown -R $chown $dir
chgrp -R $chgrp $dir
Then do:
chmod a+x (whatever-you-called-it.sh)
Then, as root, run it from a terminal
./(whateveryoucalledit.sh)
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...
With ntfs you can view the files but not write to them. To write you will need to move them to a linux partition. But you should still be able to view them.
Run the command
Code:
ls -l /mnt
and see what the permissions for that mount point are - win_c2.
I don't know too much about the lock iin the gui because I am so used to the command line. So I don't know what is up with Konqueror.
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:
Code:
[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:
Code:
Command action
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"
Code:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.