ngust Posted November 24, 2008 Report Share Posted November 24, 2008 I just started using Mandriva. It works well on my computer. The only problem I have right now it I can't get it to auto mount my USB storage devices. I have USB thumb drives and an external hard drive. I looked at the /etc/fstab file but it doesn't make sense to me (I'm used to Fedora). # Entry for /dev/sda1 : UUID=41ef3912-5cca-4cc2-9284-9c2c911e3f5b / ext3 defaults 1 1 # Entry for /dev/sda6 : UUID=b0b3ac45-6cee-4dc6-82ea-2f41a1e62e32 /home ext3 defaults 1 2 none /proc proc defaults 0 0 # Entry for /dev/sda5 : UUID=7fed3a51-d19d-4eb5-aaee-d117936315d7 swap swap defaults 0 0 I don't know how to set this up. Please help. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted November 24, 2008 Report Share Posted November 24, 2008 First of all, what version of Mandriva are you using? Insert the USB drive, open a terminal and please post the output of dmesg | tail -n 20 Welcome aboard! :) Quote Link to comment Share on other sites More sharing options...
scarecrow Posted November 24, 2008 Report Share Posted November 24, 2008 Thre are no fstab entries for removable drives, since a couple years ago, to any major distro. Quote Link to comment Share on other sites More sharing options...
ngust Posted November 26, 2008 Author Report Share Posted November 26, 2008 I am using Mandriva Linux One 2009. I'm not really confortable sharing the output of dmesg | tail -n 20 It has my IP and MAC addresses in it. Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted November 26, 2008 Report Share Posted November 26, 2008 (edited) run this command instead then: dmesg | sed 's/YOUR IP ADDRESS/___.___.___.___/g; s/YOUR MAC ADDRESS/**.**.**.**.**/g' | tail -n 20 You'll have to put your real addresses in the command above, as they appear in the normal output of dmesg. Yves. Edited November 26, 2008 by theYinYeti Quote Link to comment Share on other sites More sharing options...
arctic Posted November 26, 2008 Report Share Posted November 26, 2008 I looked at the /etc/fstab file but it doesn't make sense to me (I'm used to Fedora).Fedora is no different to Mandriva. It uses UUIDs for every partition on your system since quite some time now. You can, however, set up the partitions in the old-fashioned way. The advantage of UUIDs is that every (network)drive will be perfectly identified by the system everytime it is plugged in (very useful for large corporate servers). The old fashioned way does not tell the system which of your harddrives/USB-sticks you are inserting, thus keeping things in a respective order (and finding all the needed files later) is not always possible by using the old naming convention. The disadvantage of UUIDs is of course that it looks like a mess and is rather hard/complicated to set up properly. For more information on UUIDs, see http://www.ossp.org/pkg/lib/uuid/ and http://en.wikipedia.org/wiki/UUID Quote Link to comment Share on other sites More sharing options...
Greg2 Posted November 26, 2008 Report Share Posted November 26, 2008 If theYinYeti's sed command looks a bit daunting, this should also give us the info we need dmesg | grep -i usb | tail -n 20; dmesg | grep -i scsi | tail -n 10 Quote Link to comment Share on other sites More sharing options...
ngust Posted November 27, 2008 Author Report Share Posted November 27, 2008 OK here is the output of dmesg | grep -i usb | tail -n 20; dmesg | grep -i scsi | tail -n 10 [root@localhost ~]# dmesg | grep -i usb | tail -n 20; dmesg | grep -i scsi | tail -n 10 usb 1-8: USB disconnect, address 2 usb 1-8: new high speed USB device using ehci_hcd and address 3 usb 1-8: configuration #1 chosen from 1 choice scsi3 : SCSI emulation for USB Mass Storage devices usb 1-8: New USB device found, idVendor=0781, idProduct=5406 usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-8: Product: U3 Cruzer Micro usb 1-8: Manufacturer: SanDisk Corporation usb 1-8: SerialNumber: 0000184AA473495B usb-storage: device found at 3 usb-storage: waiting for device to settle before scanning usb-storage: device scan complete scsi3 : SCSI emulation for USB Mass Storage devices scsi 3:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 4.04 PQ: 0 ANSI: 2 sd 3:0:0:0: [sdc] Attached SCSI removable disk sd 3:0:0:0: Attached scsi generic sg2 type 0 scsi 3:0:0:1: CD-ROM SanDisk U3 Cruzer Micro 4.04 PQ: 0 ANSI: 2 sr1: scsi3-mmc drive: 8x/40x writer xa/form2 cdda tray sr 3:0:0:1: Attached scsi CD-ROM sr1 sr 3:0:0:1: Attached scsi generic sg3 type 5 Thanks for the input guys. Quote Link to comment Share on other sites More sharing options...
ffi Posted November 27, 2008 Report Share Posted November 27, 2008 if you are using kde4 then this is normal, you have to click the device icon in dolphin or the new device notifier plasmoid to mount the device, you no longer get an icon corresponding your partitions on your desktop Quote Link to comment Share on other sites More sharing options...
Greg2 Posted November 27, 2008 Report Share Posted November 27, 2008 Your USB drive is attached at sdc (probably sdc1). We need to know what DE you are using, KDE4 or Gnome? If it's KDE4, you can follow ffi's instructions. Please let us know? Quote Link to comment Share on other sites More sharing options...
ngust Posted November 27, 2008 Author Report Share Posted November 27, 2008 I am using gnome. You are correct my USB drive is attached at sdc1. I have to use the terminal to mount it and I have to be root to do that. That causes problems for copying and moving files for my regular user. Quote Link to comment Share on other sites More sharing options...
ngust Posted December 1, 2008 Author Report Share Posted December 1, 2008 Does anybody have a solution to this mounting problem? Quote Link to comment Share on other sites More sharing options...
viking777 Posted December 1, 2008 Report Share Posted December 1, 2008 Hey my friend, if you have found a version of Gnome that doesn't automount, I'll tell you what to do. Take a patent out on it - I'd buy it. On my Gnome desktop if you stuck a finger in the usb socket it would automount it, and taking the analogy a bit further, if you pulled your finger out it would rip your finger nail off, and metaphorically speaking that is exactly what it does to usb devices that you forget to unmount, and that is why automounting of usb devices is such a dramatically bad idea. Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted December 1, 2008 Report Share Posted December 1, 2008 Main menu > System > Preferences > Removable media > /Storage\ tab > [X] Mount removable media when inserted. Yves. Quote Link to comment Share on other sites More sharing options...
ngust Posted December 1, 2008 Author Report Share Posted December 1, 2008 Main menu > System > Preferences > Removable media > /Storage\ tab > [X] Mount removable media when inserted. Yves. That almost worked. There is no Storage tab though. It only has Cameras, PDAs, Printers & Scanners and Input Devices. Is there a way to do the same thing through the terminal? 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.