LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-06-2004, 02:31 PM   #1
stevemad
LQ Newbie
 
Registered: Oct 2004
Location: Greece
Posts: 21

Rep: Reputation: 15
Help with partitions


Hi,

I have a vfat partition (/dev/hda3) and during the installation I have mounted to /fat1.
Now I want to mount it at /mnt/fat1. I have edit /etc/fstab but the partition remains at /fat1?

Any ideas?
 
Old 12-06-2004, 02:36 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Did you remount it?
mkdir -p /mnt/fat1
umount /fat1
mount /dev/hda3 /mnt/fat1
 
Old 12-06-2004, 03:01 PM   #3
stevemad
LQ Newbie
 
Registered: Oct 2004
Location: Greece
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for your quick response.

I think there is a problem with this partition...

After reboot...

Code:
root@fileserver:~# umount /dev/hda3
umount: /dev/hda3: not mounted
fstab file
Code:
/dev/hda2        swap             swap        defaults         0   0
/dev/hda1        /                ext3        defaults         1   1
/dev/hda3        /mnt/fat1         vfat        defaults,codepage=737,iocharset=iso8859-7         1   0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,owner,ro  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
But the /fat1 directory still have files!

 
Old 12-06-2004, 05:34 PM   #4
ferks
LQ Newbie
 
Registered: Oct 2004
Distribution: slackware
Posts: 2

Rep: Reputation: 0
umount would unmount the partition, use mount to mount it
 
Old 12-06-2004, 05:51 PM   #5
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
You would need to set to auto, if you want it mounted at boot.
 
Old 12-07-2004, 04:49 PM   #6
stevemad
LQ Newbie
 
Registered: Oct 2004
Location: Greece
Posts: 21

Original Poster
Rep: Reputation: 15
I use the command

mount -t vfat /dev/hda3 /mnt/fat1

and I take the following answer

mount: wrong fs type, bad option, bad superblock on /dev/hda3,
or too many mounted file systems

I know the fs type is not wrong
What else could be happening?

Last edited by stevemad; 12-07-2004 at 07:08 PM.
 
Old 12-07-2004, 05:57 PM   #7
phase9
Member
 
Registered: Mar 2004
Location: austria, vienna
Distribution: slackware-10.2
Posts: 89

Rep: Reputation: 15
Hi!

Quote:
mount: wrong fs type, bad option, bad superblock on /dev/hda3,
or too many mounted file systems
This seems to be the generic system message for some invalid mount option.

I mount my vfat partions with the following options:

Code:
/dev/hdxy	/<mount point>	vfat	noauto,users,umask=022	1 0
Try to change your /etc/fstab (before, unmount /dev/hda3 or reboot). After that, mounting and unmounting should hopefully work.
 
Old 12-07-2004, 08:40 PM   #8
stevemad
LQ Newbie
 
Registered: Oct 2004
Location: Greece
Posts: 21

Original Poster
Rep: Reputation: 15
thank you all a lot!
It's working now
 
  


Reply



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
/proc/partitions showing wrong partitions netstv Linux - General 1 07-10-2006 01:11 PM
How many partitions should I use? fishybawb Slackware - Installation 4 07-23-2004 02:53 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 04:12 PM
Partitions twinkers Linux - General 26 08-24-2003 10:51 AM
How many partitions dark_light Linux - General 7 05-08-2002 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:15 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