Jump to content

mount and fstab oddities


Steve Scrimpshire
 Share

Recommended Posts

On boot and if I try to mount my Windows partitions with just

 

mount /dev/hda1

 

it gives me the error:

mount: wrong fs type, bad option, bad superblock on /dev/hda1,

      or too many mounted file systems

 

Even on my brand new HD. If I remove all the options in /etc/fstab for that partition, it mounts fine at boot and with just

 

mount /dev/hda

 

Ex:

I change this:

/dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,umask=0,codepage=850 0 0

to this:

/dev/hda1 /mnt/win_c vfat

 

and it mounts fine.

I've tried removing one option at a time, but all of them have to be removed for it to work. What could be the problem? TIA

Link to comment
Share on other sites

when using the mount command, you can do this..

 

mount -t auto /dev/hda1 /mnt/win_c

 

That option tells it to figure it out..

 

or

 

mount -t vfat /dev/hda1 /mnt/win_c

 

vfat = fat32

 

If you try this and it doesn't work, then hmmm...

 

if that's the case, do a umount /mnt/win_c first and check that the folder is empty before attempting to mount.. Also make sure you haven't mounted /dev/hda1 somewhere else.. (check fstab carefully)

Link to comment
Share on other sites

With the options the way they were originally, cannonfodder, this works:

 

mount /dev/hda1 /mnt/win_c

 

It always has, but the partition won't mount at boot, because I'm assuming it does just this:

 

mount /dev/hda1, praying that fstab knows what it is doing.

 

I will try to rearrange my codepage to like the others and see what happens. Thanks.

 

P.S. I can

 

mount /dev/hdc

 

just fine.

Link to comment
Share on other sites

I have tired rearranging my lines to look like y'all's with no luck. I've even changed my

 

iocharset=iso8859-1

 

to

 

iocharset=iso8859-15

 

with the same outcome.

 

I must stress again that

 

mount /dev/hda1 /mnt/win_c

 

works fine, but

 

mount /dev/hda1

 

does not work and gives me the errors.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...