LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-19-2004, 03:51 PM   #1
joepesci
LQ Newbie
 
Registered: Jul 2004
Posts: 10

Rep: Reputation: 0
how to mount windows drives on redhat


i would like to how i can see other partition that are available under windows system.
the parttions are formated fat32, and i am using redhat ver 9.
thanks
 
Old 07-19-2004, 04:02 PM   #2
verify_reality
LQ Newbie
 
Registered: May 2004
Location: Detroit, USA
Posts: 4

Rep: Reputation: 0
first, make a directory (like say, windows) (probably make it in /mnt)
then
mount -t vfat /dev/hdxx /your/directory

the hdxx is any of hda, hdb, hdc, hdd where hda is primary master, hdb is primary slave, hdc is secondary master and hdd is secondary slave. the second x is a number telling which partion. it could be 1, 2, up to 5 or 6 (or higher.....)

for example,

mkdir /mnt/windows
mount -t vfat /dev/hda5 /mnt/windows

then you can use konqueror/whatever to browse /mnt/windows/C/xxxxxxx

you will have to be root user to do the mounting (use the su command to become root temporarily)

if something is wrong, sorry, i am also still a newbie
 
Old 07-19-2004, 04:07 PM   #3
0perat0r
Member
 
Registered: Jul 2004
Location: New Jersey, US
Distribution: Red Hat Linux WS version 3
Posts: 126

Rep: Reputation: 15
I think red hat "sees" other dirves, but file tranfers between drives on the same machines may not be possible. I know that Windows sees the Linux drives as healthy, but identifies them as "unknown partition". I cannot access any Linux drives from Windows, even if the Windows drive is FAT32 or not.
 
Old 07-19-2004, 04:15 PM   #4
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
well i suppose you just might have one problem. when you exit su mode...you wont be able to rwx (read-write-execute) as you mounted as partition as root. try giving options like this

Code:
mount -t vfat -o rw,user,umask=000 /dev/hdbx /mnt/mount-point
try man mount at the console or try google keyword "man mount" for more info.

Correct me if i'm wrong
 
Old 07-19-2004, 06:47 PM   #5
0perat0r
Member
 
Registered: Jul 2004
Location: New Jersey, US
Distribution: Red Hat Linux WS version 3
Posts: 126

Rep: Reputation: 15
I didn't realize this was possible. (I'm learning more in a few hours in here than by reading through mountains of documentation.) I guess viewing an NTFS drive from Linux is right out?
 
Old 07-19-2004, 07:22 PM   #6
LittleAngel
Member
 
Registered: Apr 2004
Location: Greater London
Distribution: SuSE 9.1 Pro, Linux XP Pro (based on Fedora Core 1), Knoppix, DeMuDi (Agnula Project)
Posts: 80

Rep: Reputation: 15
You can view and access files stored on Windows partitions, including NTFS formated partitions, from some Linux distributions. The distros that set up the necessary mount points include SuSE (rpm distro), Knoppix (Debian based) and Mandrake (rpm distro) to name just a few.

Normally you can read files and play back MP3s etc saved on a Windows partition - I've just successfully burned an ISO file located on a Windows NTFS partition to CD using K3b on SuSE Linux 9.1.
What you can't do is save files TO a Windows partition from Linux, that is yet to come.

To make Windows partitions "visible" in Red Hat, you need to mount them. Please note that Red Hat 9 does NOT have support for NTFS partitions! Please visit this thread for more info:

http://www.linuxquestions.org/questi...itions+Red+Hat

Hope this helps!


Last edited by LittleAngel; 07-19-2004 at 07:24 PM.
 
Old 07-19-2004, 07:39 PM   #7
Basslord1124
Member
 
Registered: Jun 2004
Location: Ashland, KY
Distribution: Debian, Puppy/Slacko
Posts: 351

Rep: Reputation: 31
Ok, if you can mount and read from it...is there a way you can set the permissions on the Windows partition to write to it as well? Just a thought at least. Almost makes me wish you could network it (which don't think you can anyways) like through Samba or something.
 
Old 07-19-2004, 07:52 PM   #8
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 832

Rep: Reputation: 200Reputation: 200Reputation: 200
Data transfer

Tue Jul 20 06:09:02 IST 2004

/dev/hdc2 / ext2 defaults 1 1
/dev/hdc9 /usr ext2 defaults 1 2
/dev/fd0 /mnt/floppy ext2 noauto 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
none /proc proc defaults 0 0
none /dev/pts devpts mode=0622 0 0
/dev/hdc5 /edr msdos umask=000,conv=a

/dev/hdc2 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hdc9 on /usr type ext2 (rw)
none on /dev/pts type devpts (rw,mode=0622)
/dev/hdc5 on /edr type msdos (rw,umask=000,conv=a)

The above is an extract from my /etc/fstab and my `mount` commands in Linux. In DOS and W98, the the device mounted as /dev/hdc5 reads as e:. E-drive is a FAT system. Not tested for FAT32, but I expect it will work. Not sure about NTFS. I think it will need some permissions on the Windows server side.

HTH
End
 
Old 07-19-2004, 08:34 PM   #9
LittleAngel
Member
 
Registered: Apr 2004
Location: Greater London
Distribution: SuSE 9.1 Pro, Linux XP Pro (based on Fedora Core 1), Knoppix, DeMuDi (Agnula Project)
Posts: 80

Rep: Reputation: 15
Basslord,

you can't network your Linux to your Windows partitions if they're all on the same system - not even Samba is that clever. Reason - your Windows system isn't booted!
No, so far there is no way to write to a NTFS partition from Linux, although I have managed to copy some files from SuSE to a Windows partition. These were MP3/AVI and JPG files, an rpm file and one tar.gz install file. How it did it when that's supposed to be impossible - no idea! Miracles happen!



 
Old 07-19-2004, 08:58 PM   #10
Basslord1124
Member
 
Registered: Jun 2004
Location: Ashland, KY
Distribution: Debian, Puppy/Slacko
Posts: 351

Rep: Reputation: 31
Yeah I know LittleAngel...just makes me wish you could.
 
  


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
Does FC3 mount Windows Drives the_imax Fedora 6 03-08-2005 05:10 PM
How To Mount The Windows Drives In Linux at Startup KnowledgeSeeker Linux - Software 2 09-24-2004 06:13 PM
Give user permission to mount/use cdrom drives or usb drives zwyrbla Linux - Newbie 2 08-23-2004 04:30 PM
How to mount windows drives (NTFS formatted) to linux? djadhav Linux - Software 5 03-28-2004 11:23 AM
mount two NTFS drives in Redhat 9. One mounts, the other won't ?? drumlinuxuser Linux - Hardware 5 12-01-2003 08:32 PM


All times are GMT -5. The time now is 04:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration