Jump to content

install mandriva 2007, can't mount usb drive


mifan
 Share

Recommended Posts

Well, I tried updating 2006 from the net, but without luck, so I downloaded the 2007 dvd. but after selecting a fresh install (formatted the / directory, but left /home intact), this time I changed the security level to "higher" but now if I plug in the usb pen drive, it dosen't automount. how can I get the automount back?

Link to comment
Share on other sites

Ok,

 

I got so far as adding

 

/dev/sda /mnt/usbdrive auto users 0 0

 

to the fstab,

 

but when I try to mount I get this error:

 

mount /dev/sda

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

missing codepage or other error

In some cases useful info is found in syslog - try

dmesg | tail or so

then running dmesg I get this:

FAT: invalid media value (0x01)

VFS: Can't find a valid FAT filesystem on dev sda.

FAT: invalid media value (0x01)

VFS: Can't find a valid FAT filesystem on dev sda.

 

this usbdrive works fine on windows and on mandriva 2006...

Link to comment
Share on other sites

  • 2 weeks later...

Shouldn't need autofs for this, it's mounting another way.

 

Are you sure it's FAT32 on this drive? Also, are you sure the system detects it as /dev/sda?

 

Try:

 

fdisk -l

 

when it's connected. This will list all disks, including your usb stick. Here's an example of mine:

 

[root@europa ian]# fdisk -l

Disk /dev/hda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot	  Start		 End	  Blocks   Id  System
/dev/hda1   *		   1		 653	 5245191	7  HPFS/NTFS
/dev/hda2			 654		3648	24057337+   5  Extended
/dev/hda5			 654		3514	22980951   83  Linux
/dev/hda6			3515		3648	 1076323+  82  Linux swap / Solaris

Disk /dev/sda: 1048 MB, 1048576000 bytes
255 heads, 63 sectors/track, 127 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot	  Start		 End	  Blocks   Id  System
/dev/sda1			   1		 127	 1020096	b  W95 FAT32

 

it's not automatically mounted either, but if I got into Devices on my desktop, and then double click and open it, it works fine. Then if I type mount, I get this:

 

[root@europa ian]# mount
/dev/hda5 on / type reiserfs (rw,noatime,notail)
none on /proc type proc (rw)
/dev/hda1 on /mnt/windows type ntfs (ro,umask=0,nls=utf8)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sda1 on /mnt/removable type vfat (rw,noexec,nosuid,nodev,noatime,uid=500,utf8,shortname=lower)

 

and this is the details from /etc/mtab:

 

[root@europa ian]# cat /etc/mtab
/dev/hda5 / reiserfs rw,noatime,notail 0 0
none /proc proc rw 0 0
/dev/hda1 /mnt/windows ntfs ro,umask=0,nls=utf8 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/sda1 /mnt/removable vfat rw,noexec,nosuid,nodev,noatime,uid=500,utf8,shortname=lower 0 0

 

see the line I have. Add this to /etc/fstab, or do the same process as what I've just done, and do the same, and it'll work for you, as you're mount entries and mtab entry might be different to mine.

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...