Compatible Support Forums: problems with ext2 usb reader/writer

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

problems with ext2 usb reader/writer

#1 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 19 July 2004 - 06:41 PM

When I created a persistent /home directory with the Kanotix live cd on my usb reader/writer stick, it formatted it with ext2 rather than the fat32 it came with. This is great because I much prefer ext2. I also have other files on this device that I wish to access from my installed Fedora Core 1.

In Core 1, when the reader/writer was formatted with fat32, and I had it labled as fat32 in /etc/fstab, I could write:

mount /mnt/usbstick

in my .bash_profile, and it would mount it when I logged in to my desktop environment. Since it is now formatted as ext2, this no longer works. Here is it's respctive line as it presently appears in /etc/fstab..

Code:
/dev/sda1               /mnt/usbstick           ext2    user,noauto,umask=0   0 0


When I try to mount it using kwikdisk, or from the terminal as regular user with:

mount /mnt/usbstick/

I get:

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


Although if I do as root:

mount/dev/sda1 /mnt/usbstick

It gets mounted and I have access to it at /mnt/usbstick, even though I haven't mounted /mnt/usbstick!

This has got me confused. Does anyone know whats going on here, and can someone suggest how I can get /mnt/usbstick to again mount automatically like when it was formatted with fat32?

Thanks for your help. smile

0

#2 User is offline   danleff 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 2903
  • Joined: 30-August 02

Posted 19 July 2004 - 11:39 PM

I think I may see the problem.

Change;

/dev/sda1 /mnt/usbstick ext2 user,noauto,umask=0 0 0

to;

/dev/sda1 /mnt/usbstick ext2 user,noauto 0 0

I believe the unmask option may be for vfat options only.
0

#3 User is offline   Dapper Dan 

  • Pooh-Bah
  • Group: Moderators
  • Posts: 1703
  • Joined: 27-September 03

Posted 20 July 2004 - 12:15 AM

You're a life saver danleff! That fixed it! Thanks! smile
0

#4 User is offline   martouf 

  • enthusiast
  • Group: Members
  • Posts: 338
  • Joined: 09-July 04

Posted 20 July 2004 - 09:35 PM

the good-for-testing manual equivalent of the line you had in your /etc/fstab is:
"mount -t ext2 -o user,noauto,umask=0 /dev/sda1 /mnt/usbstick"

So, if "mount -t ext2 /dev/sda1 /mnt/usbstick" works but the above does not, then ...

If danleff hadn't spotted the problem, I would have suggested building your way
up from the simplest (least options) manual mount and add options until it stop working.

That way you'd be able to zero in on the problem.


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users