LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   automounting vfat partitions (https://www.linuxquestions.org/questions/linux-newbie-8/automounting-vfat-partitions-8503/)

da Perp 11-09-2001 08:43 AM

automounting vfat partitions
 
I just yesterday made the switch from Mandrake 7.2 to Red Hat 7.2. The problem is: I have several other windows partitions. Mandrake would automount these when booting, so i could acces them right away from the first time without modifying the tab files, or mounting or anything. i just went to /mnt/ and they were right there. Now with redhat the only thing that gets automounted is my cdrom. There arent even any kind of entry's in my tab files for my windows partitions. I tried to run liloconf, and said add another os, and selected /dev/hda2 and hda3 and hda4 and all of them, but when i tested the configuration, lilo said it wasnt okay. I want to know how to find out how to mount my windows partitions in fstab and mtab and get them started up automatically when i boot.

glj 11-09-2001 09:33 AM

I think you've answered your own question:

Quote:

There arent even any kind of entry's in my tab files for my windows partitions
Add the entries in the /etc/fstab file and they should be mounted on boot.

glj

da Perp 11-09-2001 10:43 AM

yes, that is also my questions:
How do i find out what the /devhda number is?
Can someone post a sample of one of their vfat partition entrys in mtab or fstab so i can see what else i have to type after the /dev/hdax line?

acid_kewpie 11-09-2001 10:57 AM

your windows partition #1 is probably hda1.. but after that well.. could be anything really, my next is hda7...

use diskdruid, cfdisk, fdisk to find the dev names, then just stick them in fstab:

/dev/hdXX /mnt/point vfat defaults 0 0

reoplace defraults with defaults,auto to mount it on boot.

dorward 11-09-2001 12:31 PM

/dev/hda?#

? = IDE device
a= primary master
b = primary slace
c = seconday master
d = secondary slace

# = partition number on that device. Fdisk can list the partitions and their types, which make it easy to track down the vfat ones.

da Perp 11-13-2001 02:15 AM

Okay, thanks for your help so far. I got that, i found out which drives exist and how to call them. However, i would like to mount my three msdos partitions /mnt/winc /mnt/winc2 /mnt/winc3. When i mount the drives in my tabs files on these directories, i get an error saying that the mount point does not exist. How do i create a mount point?

acid_kewpie 11-13-2001 04:31 AM

it's just an empty directory

mkdir /mnt/win

da Perp 11-13-2001 04:43 AM

I tried last night, but i guess i should've made the dir first, then edit fstab. I did it the other way around and it didnt work. Thanx for helping me with my questions. You all helped me a bunch.

SlCKB0Y 11-13-2001 08:03 PM

If youre a madrake 7.2 user previously. why the switch to redhat? Mandrake 8.1 is seriously lightyears ahead of mandrake 7.2. they have made so much progress

da Perp 11-14-2001 02:46 AM

yes, but i dont have Mandrake 8.1 yet. RedHat 7.2 is lightyears ahead of Mandrake 7.2. My problem is solved by the way. God i feel so stupid, all i had to was make a directory and use that as a mount point. I reinstalled Red Hat installed and when i had to partition my drives i went into disk druid and gave my winblows partitions the moint points i wanted them on, and the first time i started up redhat i could acces them right away. We allg otta start learning somewhere i guess. Thanks for all the support guys! It's sites like these that make Linux so great and well known for Linux users supporting eachother.

Peace:cool:


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