LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 10-16-2004, 03:00 PM   #1
cynergysystems
LQ Newbie
 
Registered: Oct 2004
Location: US Georgia
Distribution: RedHat 9
Posts: 6

Rep: Reputation: 0
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?
 
Old 10-16-2004, 05:58 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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.
 
Old 10-16-2004, 06:33 PM   #3
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Blog Entries: 1

Rep: Reputation: 31
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.
 
Old 10-18-2004, 11:49 AM   #4
cynergysystems
LQ Newbie
 
Registered: Oct 2004
Location: US Georgia
Distribution: RedHat 9
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 10-18-2004, 12:11 PM   #5
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
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.
 
Old 10-18-2004, 03:47 PM   #6
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Blog Entries: 1

Rep: Reputation: 31
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.
 
Old 10-18-2004, 07:53 PM   #7
aje
Member
 
Registered: Oct 2004
Location: Internet
Distribution: Slackware 10.1
Posts: 177

Rep: Reputation: 30
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?
 
Old 10-18-2004, 10:00 PM   #8
cynergysystems
LQ Newbie
 
Registered: Oct 2004
Location: US Georgia
Distribution: RedHat 9
Posts: 6

Original Poster
Rep: Reputation: 0
Talking

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.

 
Old 10-18-2004, 11:59 PM   #9
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Blog Entries: 1

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
format a hard drive (/dev/hda1) in Reiser fs format Linh Linux - General 7 06-17-2009 06:30 AM
Format hard drive uzerfrendly Linux - Hardware 9 02-24-2005 10:07 PM
format hard drive mav69_1999 Linux - Newbie 5 07-08-2004 04:53 PM
windows xp hard drive mounting error threedguy Linux - Hardware 14 10-09-2003 10:36 PM
mounting a windows 2000 hard drive durden2.0 Linux - Newbie 6 06-19-2003 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration