How do I view FAT partitions in FC4?
i guys,
Supernoob here. As above, How do I view FAT partitions in FC4? In SUSE 9.3 I could view them without doing any configuration tweaking. Thanks in advance. |
Open up the command line and type these commands.
mkdir /mnt/windows chown root.users /mnt/windows modprobe vfat mount -t vfat /dev/hda1 /mnt/windows This is if your windows partition that you want to mount is the first partition on the first drive. Drives are named: primary master - /dev/hda primary slave - /dev/hdb secondary master - /dev/hdc secondary slave - /dev/hdd The number after the last letter is the partition number. If you want it to mount at boot time add this to your /etc/fstab: /dev/hda1 /winwindows vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0 |
Well, You might have to have root permission for this.
You have to edit a file for that (so that it automatically mounts the next time you boot) If you have C: , D: and so...on.... and you would like to name the like that...make folders in /mnt folder as C, D etc.... Secondly, under root login, edit /etc/fstab file append the following Code:
/dev/hdax /mnt/<drivename> vfat x represents the device number. It wud depend on you partition and hard disk (or disks) hda1 represents C: drive on first hard disk hda 5 represents D: (if there's only one primary partition) drive on first hard disk hdb1 wud represent somethin...(I dont know...) I have only one hard disk |
Thanks guys for your responses.
I have tried the combinations below and none of them work: /dev/hda1 /winwindows vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0 /dev/hda1 /mnt/windows vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0 /dev/hda1 /mnt/c vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0 /dev/hda1 /mnt/c vfat umask=000 /dev/hda1 /mnt/c vfat The following is my current /etc/fstab # This file is edited by fstab-sync - see 'man fstab-sync' for details LABEL=/ / ext3 defaults 1 1 /dev/devpts /dev/pts devpts gid=5,mode=620 0 0 /dev/shm /dev/shm tmpfs defaults 0 0 /dev/proc /proc proc defaults 0 0 /dev/sys /sys sysfs defaults 0 0 LABEL=SWAP-sda3 swap swap defaults 0 0 /dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0 /dev/hdb /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0 /dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0 And my set up is: SATA HD Partition 1 FAT32 volume label windows Partition 2 NTFS volume label swap Partition 3 FAT32 volume label programs Partition 4 ext3 (where FC4 is residing) Partition 5 FAT32 volume label storage Partition 6 is Linux swap partition. Primary paralel ATA master and secondary occupied by 2 optical drives. |
I think, the last option
Code:
/dev/hda1 /mnt/c vfat ANy errors do you get when you boot Fedora?? |
Did you make a directory in /mnt to mount the partition too? If not run this command.
mkdir /mnt/windows If so what do you get when you run this comman? mount -t vfat /dev/hda1 /mnt/windows You have to do this when logged in as root. |
SATA drives have SCSI device IDs. Try using /dev/sda1 instead of /dev/hda1.
|
Quote:
|
Quote:
After typing the mount command it says something like special device dev/hda did not exist. |
Quote:
But I tried replacing the hda to sda in the fstab and the mount command but FC4 said the same thing. :confused: fstab says my swap partition is /dev/sda3, any chance that it has anything to do with it? I have already uninstalled the SUSE 9.3 (which showed those FAT32 partitions by default). And I installed Ubuntu 5.04 and those partitions doesn't show up as well. Btw thanks guys for your kind responses. |
GUYS I DID IT !!! I made a directories corresponding to the name assigned to the drives in the fstab and it works.
Now, just a little more, what do I use to replace the "vfat" for NTFS partition? I tried repacing with "NTFS" and it doesn't work. :p |
Well ntfs should work, but:
- Do not mount the drive with write permissions, because it is still experimental. - You have to have the ntfs module loaded. Try "modprobe ntfs" before trying to mount it. If it doesn't work you have to get a fedora core kernel that supports it (I'm not a FC user, but I think they provide them as RPM. Do you know what RPM are, don't you? :D) HTH --- Question for the others: Do SATA drives allow to have more than 4 primary partitions? Because Navyblue got 6 of them, so at least one of them has to be extended, then it cannot (shouldn't) be mounted and the numbers change... Isn't it? |
By default Fedora does not include ntfs support. Here is the link for read support:
http://linux-ntfs.sourceforge.net/rpm/index.html |
Quote:
Quote:
Thanks guys for your tremendous help! |
All times are GMT -5. The time now is 07:52 PM. |