LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Couldn't mount Local Drive vfat Partitions on Boot. (https://www.linuxquestions.org/questions/linux-newbie-8/couldnt-mount-local-drive-vfat-partitions-on-boot-559014/)

Mustafa^Qasim 06-04-2007 06:15 AM

Couldn't mount Local Drive vfat Partitions on Boot.
 
Hello!
I am facing problem in mounting my local drive vfat partitions on boot. I have to mount them manually after boot even i have configured the /etc/fstab file to mount them at boot. My configuration is given below
OS: Fedora Core 6
HDD: Segate 40GB configured as Primary Master

Partition Table:
Quote:

[root@mustu ~]# fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1211 9727326 83 Linux
/dev/hda2 1212 1290 634567+ 82 Linux swap / Solaris
/dev/hda3 1291 4865 28716187+ f W95 Ext'd (LBA)
/dev/hda5 1291 3078 14362078+ b W95 FAT32
/dev/hda6 3079 4865 14354046 b W95 FAT32
Entries i put in my /etc/fstab file:
[root@mustu ~]# cat /etc/fstab

Quote:

/mnt/d /dev/hda5 vfat defaults 0 0
/mnt/e /dev/hda6 vfat defaults 0 0
Could anyone tell me what is the problem. And what is the command that instructs to re-read the /etc/fstab files?

Samotnik 06-04-2007 06:25 AM

There is an option "auto" to mount drives from /etc/fstab on boot.

michaelk 06-04-2007 06:42 AM

FYI auto is a default option. The order for an fstab entry is:
device mountpoint filesystem type options dump fsck

and not mountpoint device.

See fstab man pages for additional details.

Road_map 06-04-2007 09:24 AM

The line can be:
Code:

/dev/hda1        /mnt/wins-c      vfat        ro              1  0
Have you created d and e dirs in /mnt?

Mustafa^Qasim 06-05-2007 01:52 PM

yes i've creatd the d and e dires in /mnt

forrestt 06-05-2007 04:11 PM

You can attempt to mount the filesystems that you have put into the fstab by simply saying "mount /mnt/d" or "mount /mnt/e" depending on which one you need to mount. If it doesn't mount, then the fstab entry is wrong (since you have already stated you created the /mnt/d and /mnt/e directories).

Did you make the change to your fstab as michaelk stated above?

The entries should be:
Code:

/dev/hda5 /mnt/d vfat defaults 1 0
/dev/hda6 /mnt/e vfat defaults 1 0



All times are GMT -5. The time now is 12:00 PM.