Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-16-2004, 03:00 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Location: US Georgia
Distribution: RedHat 9
Posts: 6
Rep:
|
mounting a windows format hard drive?
I have a lot of data, mainly mp3's on a hard drive using a dos compatible format. I'm running RedHat 9 kernel build 2.4.20-31.9 on my primary drive which is fully formatted for linux. Is there any way to access the data on that drive in linux?
|
|
|
10-16-2004, 05:58 PM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Is it fat32, or ntfs? In that order.
mount -t vfat /dev/hdx /mnt/mountpoint
mount -t ntfs /dev/hdx /mnt/mountpoint
Where /dev/hdx is the partition recognized by your system, and /mnt/mountpoint is an empty directory. Keep in mind if the file system is ntfs, write access is still experimental afaik. There are some write solutions for ntfs, I've never used them so I cannot vouch for them.
good luck.
|
|
|
10-16-2004, 06:33 PM
|
#3
|
Member
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Rep:
|
They should be there already
If you look in your / directory in /MNT you should see directories corresponding to all your NTFS or FAT32 partitons if those partitions where connected when you installed Linux.
Otherwise the last post about mounting is the way to go.
If they are NTFS, yo'll be able to read and copy from them over to your Linux partitions but you won't be able to write to them.
|
|
|
10-18-2004, 11:49 AM
|
#4
|
LQ Newbie
Registered: Oct 2004
Location: US Georgia
Distribution: RedHat 9
Posts: 6
Original Poster
Rep:
|
Thank you very much for your help. The drive is mounted and I can access all my files!  Just one more question: Is there any way to mount the drive automatically on bootup?
|
|
|
10-18-2004, 12:11 PM
|
#5
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
Yes edit your /etc/fstab.
/dev/hdx /mnt/mountpoint defaults,umask=000 0 0
There are other options to use in place of defaults, a quick forum search should produce results.
good luck.
|
|
|
10-18-2004, 03:47 PM
|
#6
|
Member
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Rep:
|
Here is a guide
Read this short and to the point laymen's terms guide to the fstab file here:
http://www.tuxfiles.org/linuxhelp/fstab.html#what
After that you will knoe exactly what needs to be done to automount your drives.
|
|
|
10-18-2004, 07:53 PM
|
#7
|
Member
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177
Rep:
|
Quote:
Originally posted by PEACEDOG
Yes edit your /etc/fstab.
/dev/hdx /mnt/mountpoint defaults,umask=000 0 0
There are other options to use in place of defaults, a quick forum search should produce results.
good luck.
|
Do I add this line? or edit an existing one?
|
|
|
10-18-2004, 10:00 PM
|
#8
|
LQ Newbie
Registered: Oct 2004
Location: US Georgia
Distribution: RedHat 9
Posts: 6
Original Poster
Rep:
|
Thanks quys,
Everything is ship shape! I appreciate all the help. It's not easy being a newbie. I'm glad you can be patient.

|
|
|
10-18-2004, 11:59 PM
|
#9
|
Member
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Rep:
|
add
Usually if you mounted your partition manually your fstab file doen't know about it, so you need to add a new line.
If you read the guide I posted earlier you'll understand.
|
|
|
All times are GMT -5. The time now is 06:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|