LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Accessing a FAT partition? or NTFS? (https://www.linuxquestions.org/questions/linux-hardware-18/accessing-a-fat-partition-or-ntfs-243556/)

cucolin@ 10-16-2004 04:55 PM

Accessing a FAT partition? or NTFS?
 
Hi, guys. I think this questions has been asked many times. I have three partitons in my PC: Win2000, WinXP and Fedora Core 1. All I want to do is access some files from the Win patitions so I can modify them in Fedora and save them back into the Win partitions(these are some images I want to modify using the Gimp). I created a small partition(FAT32), so I could put my files on this partition when working with Windows and the access them in Fedora. I'm no able to see this partition from Fedora. How can I mount this FAT32 partition or could I mount the NTFS??
What would be a simpler solution??

Thanks guys...

secesh 10-16-2004 04:58 PM

edit /etc/fstab
mount fat32 as type vfat, ntfs as type ntfs.

vfat is r/w, ntfs is (yes, even in kernel 2.6) ro

then they'll auto-mount on boot, but if you don't want to wait that long, you can use the 'mount' command.

Steel_J 10-16-2004 07:08 PM

Well...
 
Your partition should already be detected by Linux. You should see it in the /dev directory. It should be named something like HDxx in /dev. In my case HDC6 is my 2nd NTFS partition witch contains " My documents" in XP. It is called win_d in my /mnt directory.

I can browse it an copy from it. I also have fat32 partitions witch I can read and wrtie to from both Linux and Windows.

To manualy mount them if they are not already there, create a directory for your fat32 partition in /mnt or wherever you like. Use a simple name ,short, with no spaces.

After that open a console, type su ,enter your root password and the enter the following command:

mount -t vfat /dev/YourDrive /mnt/NewDirectory.

You should then be able to go to your new directory and see the files on the mounted partititon.

cucolin@ 11-22-2004 08:58 PM

drive letter D equal hdxx?
 
So friends what is the equivalent of drive D in win. It is hda1??

Thanks...

Steel_J 11-23-2004 01:01 AM

You have to go in /mnt and browse for yourself. You will recognize your files probably in /mnt/win_c2 like me.

For me win_c, win_c2, etc are mounted on drive hdc.

michaelk 11-23-2004 06:54 AM

Re: drive letter D equal hdxx?
 
Quote:

Originally posted by cucolin@
So friends what is the equivalent of drive D in win. It is hda1??

Thanks...

If you created the d drive using windows it is probably /dev/hda5 and assuming you only have one disk drive installed in your system and its hda. To verify my assumption log in as root and enter the following command in a console window:

fdisk -l (that is a small L)

Fedora does not include NTFS support in its default kernel. To add support without recompiling the kernel get the RPM from:
http://linux-ntfs.sourceforge.net/

And yes these are very common questions. You can seach this website for additional help in mounting the FAT32 and NTFS partitions. I do not think that Fedora automatically configures windows partitions like Mandrake.


All times are GMT -5. The time now is 01:59 PM.