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.
|
 |
07-19-2004, 03:51 PM
|
#1
|
LQ Newbie
Registered: Jul 2004
Posts: 10
Rep:
|
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
|
|
|
07-19-2004, 04:02 PM
|
#2
|
LQ Newbie
Registered: May 2004
Location: Detroit, USA
Posts: 4
Rep:
|
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
|
|
|
07-19-2004, 04:07 PM
|
#3
|
Member
Registered: Jul 2004
Location: New Jersey, US
Distribution: Red Hat Linux WS version 3
Posts: 126
Rep:
|
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.
|
|
|
07-19-2004, 04:15 PM
|
#4
|
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158
Rep:
|
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 
|
|
|
07-19-2004, 06:47 PM
|
#5
|
Member
Registered: Jul 2004
Location: New Jersey, US
Distribution: Red Hat Linux WS version 3
Posts: 126
Rep:
|
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?
|
|
|
07-19-2004, 07:22 PM
|
#6
|
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:
|
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.
|
|
|
07-19-2004, 07:39 PM
|
#7
|
Member
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507
Rep:
|
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.
|
|
|
07-19-2004, 07:52 PM
|
#8
|
Member
Registered: Jul 2004
Location: Chennai, India
Posts: 952
|
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
|
|
|
07-19-2004, 08:34 PM
|
#9
|
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:
|
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!

|
|
|
07-19-2004, 08:58 PM
|
#10
|
Member
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507
Rep:
|
Yeah I know LittleAngel...just makes me wish you could.
|
|
|
All times are GMT -5. The time now is 05:14 PM.
|
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
|
|