how to mount my fat32 partition in rh9??
hello there again... i wanna see my fat32 partitions when im using linux... what will i do with fstab??
according to my hardware browser, these are my partitions: hda2--------extended hda5--------fat32 hda1--------ntfs hdb4--------extended hdb5--------ext3 hdb1--------fat32 hdb2--------ext3 hdb3--------linux swap tnx!! |
> what will i do with fstab?
reading the manual ('man fstab') might help. So might searching the web. If not, come back and state clearly what you don't understand. Hope this helps, Jonas |
Re: how to mount my fat32 partition in rh9??
Quote:
|
i wanna automount my fat32 partition everytime i boot to linux... i tried adding this line to fstab:
/dev/hda2 vfat defaults 1 1.... didnt work tried: /dev/hda5 vfat defaults 1 1... also didnt work... what seems to be wrong or missing here??? |
See my previous message and also I want to see what shows to you command fdisk -l.
|
here is my fstab file: (i added the bottom line there) dont know if thatś correct :)
LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hdb3 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 /dev/hda5 vfat defaults 1 1 |
hereś also the result of fdisk -l ::
Disk /dev/hda: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 731 5871726 7 HPFS/NTFS /dev/hda2 732 2434 13679347+ f Win95 Ext'd (LBA) /dev/hda5 732 2434 13679316 b Win95 FAT32 Disk /dev/hdb: 10.2 GB, 10242892800 bytes 240 heads, 63 sectors/track, 1323 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 475 3590968+ b Win95 FAT32 /dev/hdb2 476 489 105840 83 Linux /dev/hdb3 490 558 521640 82 Linux swap /dev/hdb4 559 1323 5783400 f Win95 Ext'd (LBA) /dev/hdb5 559 1323 5783368+ 83 Linux |
First you have to create a directory for mounting your FAT32 (ex /mnt/dream)
Second you may try this command mount -t vfat /dev/hda5 /mnt/dream And if you like RH automount this for you, add this linre to /etc/fstab file /dev/hda5 /mnt/dream vfat defaults 0 0 |
Your fstab should be look like that:
Note that 1) all after '#' are comments for you and are not important; 2) 'umask=0' means that all files are not executable on this partition; 3) 'ro' parameter for NTFS means READ ONLY (it is really not good idea to write anything to NTFS under Linux - support of this file system in Linux is still not good); 4) you need to create /mnt/win_c, /mnt/win_d, /mnt/win_e directories Code:
#device mountpoint filesystemtype options |
yaikkss!! now im in trouble!! i couldnt boot to linux... how do i edit my fstab file in repair mode??? i tried it but it says that it's a read-only file... can't overwrite the fstab file using vi...
oh my!! after all the hard work of configuring my squid and samba, and installing the video driver....HUMMPPHH!!! ARRRGhh!!! pls help !!! (im using windows XP right now as i type this) |
Step by step, what did you do?
|
i used this (added the last line): then i rebooted my pc.... i think i even added a umask option
LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hdb3 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 /dev/hda5 /mnt / vfat defaults 0 0 how do i make the fstab file writable (not read-only)... so that i can restore the original config |
how do i create the directories??? where??
|
Creating directories:
this command changes your current directory to that you want (/mnt) cd /mnt this one creates directory mkdir win_d There is a very good help for every command in linux, just type man yourcommand. press space for continue and 'q' to exit. |
To make fstab writable run
chmod o+w /etc/fstab this will make fstab writable for owner of this file, i.e. for root. You must be root (superuser) to edit this file. |
All times are GMT -5. The time now is 04:26 PM. |