LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2001, 08:43 AM   #1
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
Question 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.
 
Old 11-09-2001, 09:33 AM   #2
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Rep: Reputation: 30
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
 
Old 11-09-2001, 10:43 AM   #3
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Original Poster
Rep: Reputation: 30
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?

Last edited by da Perp; 11-09-2001 at 10:46 AM.
 
Old 11-09-2001, 10:57 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 11-09-2001, 12:31 PM   #5
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
/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.
 
Old 11-13-2001, 02:15 AM   #6
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Original Poster
Rep: Reputation: 30
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?
 
Old 11-13-2001, 04:31 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it's just an empty directory

mkdir /mnt/win
 
Old 11-13-2001, 04:43 AM   #8
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Original Poster
Rep: Reputation: 30
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.
 
Old 11-13-2001, 08:03 PM   #9
SlCKB0Y
Member
 
Registered: Oct 2001
Location: Sydney
Distribution: Arch
Posts: 295

Rep: Reputation: 96
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
 
Old 11-14-2001, 02:46 AM   #10
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can not umount vfat partitions deepclutch Debian 3 06-12-2005 06:18 AM
recover VFAT partitions masand Linux - Software 1 01-07-2005 11:09 AM
Can't write to vfat and ntfs partitions linuxfond Linux - Newbie 7 11-12-2003 04:54 PM
Automounting Samba partitions with a twist PiMoGo Linux - General 1 11-06-2002 09:35 PM
Creating vfat partitions with linux joeey21 Linux - General 6 11-04-2001 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration