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.
I recently upgraded my second hard drive in my Windows box, leaving me with an extra 60 Gigger that I've put into my Redhat box. It contains some DVD and CD rips that I've made and would really like to keep. I downloaded and installed the RPMS for the ntfs file system stuff, and I can read the data fine. I did have two questions though.
1) I mounted the drive temporarily using "mount -t ntfs /dev/hdb1 /newdrive". This resulted in a readonly filesystem owned by root. I can't change the permissions because it's readonly, so I can only access the drive as root, which sucks. How does one normally set up the system to have a new drive? Will I be modifying fstab by hand? Is there a howto on adding a new hard drive somewhere? I'd really like to transfer the files over the network back to my Windows box so I can format the drive in ext3, but I can't because of the way the permissons are on the files.
2) What's the normal style for mounting a drive of mp3s and movies? I mean, if you had one where would you create the directory to use as the mount point for the drive? I was thinking "/media", but I don't know if it's normal to create a folder off the root directory like that. I'd like to have this drive shared over samba and perhaps ftp when it's fully setup. Would that affect where I should mount it? Sorry if this seems like a weird question, but I don't want to be the Linux equivalent of that Windows user who has 50 directories in c:\. :)
# Red Hat 7.3 down configuration commands setup leads to several configuration tools
# Red Hat 7.3 up configuration commands
Configure soundcard: redhat-config-soundcard
Configure X server: redhat-config-xfree86
Configure network: redhat-config-network
Manage software: redhat-config-packages
To mount a NTFS filesystem on Boot-up were all users have Read access, put an entry at the bottom of your /etc/fstab file on a new line - (just substitute in your Partition, Mount point and User ID Number ( uid ) in place of my example ones)
You can get your User ID Number by opening a terminal and typing:
id username – (substitute username with whatever your username is)
Look for
uid=xxx
thats your user id number
You can open /etc/fstab from RH9 with ( As Root user - su to root)
kedit /etc/fstab
Once youve put that line in , Save the file - then just re-boot and your partition will automatically mount and youll have appropriate permissions as a Normal user.
You could always throw it back in to your Windows Box, convert it to fat32 and then read/write on it all damn day in linux. But if you have it mounted you should be able to go ahead and copy the data over the network to a samba share or ftp site. Are you getting an error when trying to copy it????
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.