Need help with mounting windows partitions in Fedora 3
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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Need help with mounting windows partitions in Fedora 3
I have a daul boot system. I installed WindowsXP and Fedora 3 in two difference hard drives. While my WindowsXP is on C:, the first partition of the first primary master, my Fedora is on the secondary master. I install the grub boot loader in the Windows partition, C:\. Since I want to share files between linux and windows, I formatted some of my windows as fat32. Just to be clear, under Linux, my windows hard drive is "hde", and the linux hard drive is "hdf". According to what I learned from the net, I should be able mount the windows fat32 partitions in linux. In fact, I use the command line
mount -v -t vfat /dev/hde5 /home/disk
to mount a fat32 partition when logging in as root(note: hde5 is a fat32 partition). I was able the get an answer that I was able to mount it, since I used the -v parameter. However, I got frozen when I used ls command in the /home/disk directory. When I want to umount the /home/disk, the result I got back is the device is too busy. I was't able to access anything from my fat32 partitions. Does anyone know how to solve this problem?
Distribution: Kanotix HD Install, Debian Testing, XP Pro,Vista RC1
Try creating a directory under the / tree. I would mount mine using your example
mount /dev/hde /windows
Using this method I have no problems with full access to my drives. I also get system freeezes trying to call out any extra parameters. Hope this might help.
sounds like you were in the directory you were trying to unmount, thus it was considered busy. likewise, if you mount the windohs partition
mount -t vfat /dev/hde5 /home/disk
and then open a webpage from /home/disk you will not be able to unmount /dev/hde5 until you close the webpage, otherwise it will give the "device busy" error.
while usefull in debugging, the -v option in mount has no effect, really, it simply means to be verbose in its output.
you don't need wine for this unless you actually want to run windohs applications on linux, only then you would need the Wine Is Not an Emulator package. but it sounds like you just want access to your vfat partitions.
a shortcut command like this:
mount /dev/hde5 /windows
will only work if you have a matching line in the /etc/fstab file. this is the line from the /etc/fstab file
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
that lets you do a shorcut command to mount the floppy:
instead of having to do it the long way:
mount -t auto /dev/fd0 /mnt/floppy
it looks like you used the right command to mount it. naturally I am assuming you are doing this all as the root user, if not then you will need to adjust your directory/file permissions accordingly. sounds like either the /dev/hde5 is empty (doubt it) or you have a permission issue (more likely).
Thanks all you guys for reply. I basically Itried all of you suggestions. At the end, I tried to put a line " /dev/hde5 /windows/diskD vfat rw,noauto,user,exec,umask=0 0 0" in the fstab file, since I use the noauto parameter, it shouldn't mount the hde5 at boot time. However, as soon as I boot and log-in as root, I use the Disk Management tool to monitor the partitions mounted, the hde5 is already mounted??? And, I could 't unmount it via either terminal or the Disk Management tool. What is even strange is that when I use open the /windows/diskD folder, not only is the window constantly reading the hard drive, all the icons on the disktop is gone, couldn't find them anywhere. The worse thing yet is when tried I log-out and restart the computer, the screen just frozen, I have to reboot it manually.
missing desktop icons? I dunno, sounds like there are issues larger than just mounting a windohs partition. but not to worry.
the first thing you probably don't need is the umask=0,0,0 option in the line in your /etc/fstab file. this sets the read/write/execute permissions for the device, but you are already doing so with the rw option, which you shouldn't need anyway. try this line instead:
/dev/hde5 /windows/diskD vfat noauto,owner 0 0
after rebooting, log in as root -) and use this command:
if this works then you can hack the line in /etc/fstab further so that you don't have to be root to mount it. if it doesn't work then we'll try something else. naturally, this is all assuming that the commands:
mount -t vfat /dev/hde5 /windows/diskD
worked for you, and you were able to view/open files in /windows/diskD and it was only then that you put the line in the /etc/fstab file. otherwise, putting unknown/untested mount commands in the fstab file is a dicey affair...
since this is a newbie thread I'll say for the record that logging in as root is a BAD idea. when you see 'log in as root and do this...' it usually implies that you are already logged in as a non-root user and will temporarily assume rootly permissions and duties (via the su commmand) and then relenquish them when the duties are done.
The problem is that both mount and umount vommsnf don't for me. At the begining, I didn't put put any mount command in fstab, instead, I used the mount command under terminal, just like you suggested. However, I cant access the mounted partition in terminal, it just frozen. If I tried to access the mounted partition via window, as soon as I click the diskD folder, the icons on the disktop are gone, and I have to reboot the computer manually. Befroe I reboot the computer, if I tried to umount the partition, it just tells me the device is busy.