Results 1 to 9 of 9
Hello!
My Fedora does not auto detect a flash drive if I get to attach it with the OS already running. I still have to make a reboot and attached ...
- 04-15-2010 #1
Auto Mount Flash Dirve
Hello!
My Fedora does not auto detect a flash drive if I get to attach it with the OS already running. I still have to make a reboot and attached the drive right from the start in order for it to be detected/mounted.
Unlike In Mint 7, Ubuntu and XP, it automatically detects the flash drive as soon as it is attached.
Can somebody please help me make my Fedora detect the flash drive so that I would not have to reboot everytime I would use it.
Thanks in advance!
FWIW here are some outputs:
Code:# /etc/fstab # Created by anaconda on Thu Feb 4 06:06:47 2010 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info # UUID=2776efe4-9019-4968-9765-d53d0826b540 / ext3 defau$ tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 UUID=63a28b69-c8d9-417d-a61b-c4a21dbcd33b swap swap defaults 0 0
Code:GNU nano 2.0.6 File: /etc/mtab /dev/sda5 / ext3 rw 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 gvfs-fuse-daemon /home/jun/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=jun$ /dev/sda3 /media/Storage\040Bin fuseblk rw,nosuid,nodev,allow_other,blksize=409$ /dev/sda1 /media/XP\040Windows\040:( fuseblk rw,nosuid,nodev,allow_other,blksiz$ /dev/sda8 /media/Mint\0407 ext4 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda7 /media/Ubuntu\040Hybrid\0409. ext4 rw,nosuid,nodev,uhelper=hal 0 0 /dev/sda6 /media/Encrypted ext3 rw,nosuid,nodev,uhelper=hal 0 0
nujinini
Linux User #489667
- 04-15-2010 #2
Fedora should also autodetect your flash drive.
Plug in the device and post the output of
Code:dmesg | tail
- 04-15-2010 #3
Hello reed9,
Here it is:
Code:[jun@localhost ~]$ dmesg | tail SELinux: initialized (dev sda6, type ext3), uses xattr kjournald2 starting. Commit interval 5 seconds EXT4 FS on sda8, internal journal EXT4-fs: delayed allocation enabled EXT4-fs: file extents enabled EXT4-fs: mballoc enabled EXT4-fs: mounted filesystem with ordered data mode. SELinux: initialized (dev sda8, type ext4), uses xattr warning: `VirtualBox' uses 32-bit capabilities (legacy support in use) CE: hpet increasing min_delta_ns to 15000 nsec [jun@localhost ~]$
nujinini
Linux User #489667
- 04-15-2010 #4Just Joined!
- Join Date
- Apr 2010
- Location
- Ankara
- Posts
- 10
I am aggree with reed9, it should do it default. Could you examine /var/log/messages. So this file consists of kernel messages. if there is any abnormal message generated by module, it can be the reason.
- 04-15-2010 #5
Hello artu,
Checked it but there seems to be no error messages
thanksnujinini
Linux User #489667
- 04-15-2010 #6
The kernel doesn't seem to be registering the device when you plug it in.
dmesg should show something like
Which is my output when I plugged in a flash drive. I'm not entirely sure how to troubleshoot that.Code:reed@reed-laptop ~ % dmesg | tail scsi 7:0:0:0: Direct-Access HP v100w PMAP PQ: 0 ANSI: 0 CCS sd 7:0:0:0: Attached scsi generic sg3 type 0 sd 7:0:0:0: [sdc] 7827456 512-byte logical blocks: (4.00 GB/3.73 GiB) sd 7:0:0:0: [sdc] Write Protect is off sd 7:0:0:0: [sdc] Mode Sense: 23 00 00 00 sd 7:0:0:0: [sdc] Assuming drive cache: write through sd 7:0:0:0: [sdc] Assuming drive cache: write through sdc: sdc1 sd 7:0:0:0: [sdc] Assuming drive cache: write through sd 7:0:0:0: [sdc] Attached SCSI removable disk
I noticed this
Are you running Fedora in VirtualBox?warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
- 04-16-2010 #7Just Joined!
- Join Date
- Apr 2010
- Location
- Ankara
- Posts
- 10
I have two questions:
1- Have you upgraded your kernel. This can cause the automount problem.
2- Could you check ConsoleKit daemon which is responsible of automounting usb stick? Is it running?
/etc/init.d/ConsoleKit status
- 04-16-2010 #8
Hello again guys,
I have made a fool out myself again
So sorry about that 
I didn't know that I was suppose to run dmesg | tail with the flash drive attached, darn!
Here are some new outputs:
My problem is, it does not show in the desktop or in the Places section where it usually opens with my othe OSes.Code:[jun@localhost ~]$ dmesg | tail sd 4:0:0:0: [sdb] Write Protect is off sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00 sd 4:0:0:0: [sdb] Assuming drive cache: write through sd 4:0:0:0: [sdb] 1007616 512-byte hardware sectors (516 MB) sd 4:0:0:0: [sdb] Write Protect is off sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00 sd 4:0:0:0: [sdb] Assuming drive cache: write through sdb: sdb1 sd 4:0:0:0: [sdb] Attached SCSI removable disk sd 4:0:0:0: Attached scsi generic sg2 type 0 [jun@localhost ~]$ fdisk -l Cannot open /dev/sda Cannot open /dev/sdb [jun@localhost ~]$ su - Password: [root@localhost ~]# fdisk -l Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xc5e3f820 Device Boot Start End Blocks Id System /dev/sda1 * 1 1930 15502693+ 7 HPFS/NTFS /dev/sda2 1931 15817 111547327+ 5 Extended /dev/sda3 15818 29555 110350485 7 HPFS/NTFS /dev/sda4 29556 30401 6795495 82 Linux swap / Solaris /dev/sda5 1931 3835 15301881 83 Linux /dev/sda6 9778 15817 48516268+ 83 Linux /dev/sda7 3836 5224 11157111 83 Linux /dev/sda8 5225 9777 36571941 83 Linux Partition table entries are not in disk order Disk /dev/sdb: 515 MB, 515899392 bytes 16 heads, 32 sectors/track, 1968 cylinders Units = cylinders of 512 * 512 = 262144 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 1 1968 503792 b W95 FAT32
No, I am not running Fedora on Virtual Box, it is hosting VB however which was running when I first checked.
Thank you very much!
EDIT: I was able to mount the USB manually by:
It would be great to have it automatically mount though. Thanks!Code:[root@localhost ~]# mkdir /media/sda5 [root@localhost ~]# mount /dev/sdb1 /media/sda5 [root@localhost ~]#
Last edited by nujinini; 04-16-2010 at 06:59 AM.
nujinini
Linux User #489667
- 04-16-2010 #9Just Joined!
- Join Date
- Apr 2010
- Location
- Ankara
- Posts
- 10
I assume you are using gnome desktop. You can enable or disable automount feature on gnome desktop via gconftool-2 utility. If you have gnome version of 2.22. Could you try that?
Or, Could you send default options of gnome as writing on terminal:gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /desktop/gnome/volume_manager/automount_media true
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool --set /desktop/gnome/volume_manager/automount_drives true
gconf-editor /system/storage/default_options &


Reply With Quote