mifan Posted October 7, 2006 Report Share Posted October 7, 2006 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? Quote Link to comment Share on other sites More sharing options...
mifan Posted October 7, 2006 Author Report Share Posted October 7, 2006 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... Quote Link to comment Share on other sites More sharing options...
neil-a1000 Posted October 20, 2006 Report Share Posted October 20, 2006 This might seem like a silly question but have you installed autofs? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted October 20, 2006 Report Share Posted October 20, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.