Debian :: Automounting USB Drives Without Touching FSTAB And GNOME?
Apr 11, 2010
Before I leave with a bad taste in my mouth forever from the linux communities here, I'd like to ask one more question. I've been snooping around a bit about this issue of how to automount USB Drives, have them show on the desktop in file managers like PCManFM and not have to touch fstab at all.
How do I do this? Without touching Fstab, GNOME, any other DE. I only want openbox around.Another question I also hope to answer: How do I make shortcuts in PCManFM?
I have researched this for a couple of days and I am not getting anywhere. My Fedora 12 install is working just fine with the standard gnome desktop. I can plug in any usb drive and it is recognized and mounted with a link on the desktop. But I want to use Fluxbox. I installed and am running FB just fine except that I can't get usb devices to be recognized and mounted.I don't need a link on the desktop but an entry in /media would be nice.
I am thoroughly confused about which method I should be using to do this simple task. I created a HAL policy for my trackpad to work. Do I need to do something similar for the usb? I have read about udev rules but they seem to be concerned with NOT mounting usb devices. I also read about autofs and thunar but it seems like there should be a much simpler approach and I have certainly missed it.
I can manually mount my iPod shuffle and USB key however they wont auto mount. I cant remember when this stopped but i will admit i did move my install to a new disk. Perhaps there is a permission problem somewhere? the media folder my be incorrect? drwxr-xr-x 18 root root 4096 2010-01-09 16:34 media
The devices are listed correctly in lsusb: Bus 001 Device 008: ID 05ac:1301 Apple, Inc. iPod Shuffle 2.Gen and dmesg | tail [ 2233.640852] sd 4:0:0:0: [sdb] Write Protect is off [ 2233.640858] sd 4:0:0:0: [sdb] Mode Sense: 64 00 00 08 [ 2233.640863] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Even with ivmount killed, my external devices are auto-mounted (under the names of disk, disk-1, disk-2 etc in /media). This would be fine, however I always have to re-mount the drives as by default they are autmounted as read-only no matter their filesystem. Could I have another daemon automounting my drives, and if so, how do I identify it?
I do not have the gnome-desktop environment installed, but instead run Fluxbox with Rox pinboard and filer. I hated having to manually mount drives from the command line, so I installed a certain package (which I forgotten the name of) which is probably culprit. Now I know how to setup pmount, ivman and rox-pinboard to work together.
I've installed Fedora 10 short time after it came out. Now I am having some problems unmounting thes drives on restart or shutdown. It hangs at the stage of 'unmounting file system'. I've looked into this matter and discovered that those drives are automatically mounted and shown on the Gnome file browser. As the /etc/fstab indicates, it is not mounted by it. I must have done something to have all the hard drives shown in the file browser and now Fedora seems to be unable to unmount them.
# # /etc/fstab # Created by anaconda on Mon Sep 7 20:25:11 2009 # # Accessible filesystems, by reference, are maintained under '/dev/disk'
I notice that in 11.2 that USB drives are not automounted anymore. There is a notification that a device is found, but I have to actually click on the notification and choose to open it with dolphin. If I do nothing, the drive is never mounted. I remember from 10.3 that it would automount the drive and put a icon on the desktop. Is there anyway to duplicate this in 11.2?
yesterday my 9.10 stopped automounting my external USB drive, and in general any pendrive I put into any USB slot. What's worse, it also does not recognise CDs put into my DVD drive. (The only update I recall doing was the official update to the "sudo" package.)
1. The USB issue.I plug in my external hard drive. Seemingly, nothing happens. No new icons appear anywhere. b) I tried gconf-editor and in apps -> nautilus -> preferences "media_automount" is set to YES. c) After searching around these forums, I even put "usb_storage" into /etc/modules
2. The DVD drive issue.I put an audio CD in the drive. Usually an 'Audio CD' icon appeared after a few seconds, but now nothing happens. There is a "cdrom0" icon visible in the explorer, but when I click it, I get the following error: Code:Unable to mount cdrom0
So, it seems that for some strange reason my Karmic stopped being able to automount any new media. Does anyone have an idea why it is so and what should I do to bring this much-needed functionality back?
What's the current best practice for automounting a remote drive for automated backup? I want to use Back in Time and maintain snapshots but it can't do that remotely so I have to mount a folder outside of Back in Time. I have used sshfs from this howto in the past and it works mostly but seems to lose connection and not reconnect a lot. [URL]. Is there a more "modern" way? NFS is horribly unreliable and dog slow for me so it's OUT unless it's changed in the last year.
I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)
I just made a fresh install of OpenSUSE 11.4-Tumbleweed and have the latest updates. However fstab lines I've used in the past are not working.
Here's an example of two: //IPADDRESS/share /home/user/mount cifs credentials=/home/user/.scripts/.creds,_netdev,uid=client_user,gid=users 0 0 //IPADDRESS/share /home/user/mount cifs guest,_netdev,uid=client_user,gid=users
I can execute a command
Code: sudo mount /home/user/mount and it works, but I'm wanting all my fstab lines to automount at boot as on other machines.
And right after I restart, all users have permission to read and write, and everything is fine. However, I have an automated backup utility (BackinTime) installed to back up particular (mounted network) directories every night, but whenever I check up on it the next day, I get the error "Unable to mount ..... Authorization required". (These network directories are mounted into the local filesystem in fstab as well.) Oddly enough, if I run BackinTime by hand as the users, it works fine. I'm running 10.04 LTS.
After installing 11.4 my fstab entries for CD and DVD drives as well as floppy generate errors when I try to mount them automatically or via Nautilus when inserting CD or DVD. The icons and CD/DVD name show up ok but will not mount. Manually mounting via terminal command works. Here are the relevant lines from fstab
In /dev scd0 and scd1 are symlinks pointing to sr0 and sr1 respectively. The above error message was generated after attempting to load a CD in scd0 i.e. my laptop internal CD/DVD drive. Lines 10,11 and 12 are the fstab lines quoted above.
I have been battering with FC10 and software RAID for a while now, and hopefully I will have a full working system soon. Basically, I tried using the F10 live CD to setup Software RAID 1 between 1 hard drives for redundancy (I know its not hardware raid but budget is tight) with the following table;
I set these up by using the RAID button on the partition section of the install except swap, which I set-up using the New partition button, created 1 swap partition on each hard drive that didn't take part in RAID. Almost every time I tried to do this install, it halted due to an error with one of the raid partitions and exited the installer. I actually managed it once, in about...ooo 10-15 times of trying but I broke it. After getting very frustrated I decided to build it using just 3 partitions
I left the rest un-touched. This worked fine after completing the install and setting up grub, reboot in to the install. I then installed gparted and cut the drive up further to finish my table on both hard drives. I then used mdadm --create...etc to create my RAID partitions. So I now have
I'm running a Debian squeeze system on AMD64, and with recent aptitude safe-upgrade the automounting of gnome/nautilus broke. Now if you click on a usbdrive it give this error: "Unable to mount 'volumelabel' Not Authorized".Previous it automatically mounted it, making/removing mount points as needed in /media, or you could mount by clicking on the drive icon in nautilus. (It varied a bit with package updates, but i didn't worry too much)Anyone got any ideas what could be wrong? I'm lost where to start, and systems nautilus or gnome-volume-manager use to mount things.
I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.
My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.
So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?
And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.
I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.
I want something stable,tested(not buggy like ubuntu) , easy/automatic configuration(like ubuntu) , and of course should have the option to install the mbr on partition.I know its possible. I just want to know which distribution would make it easy.What I want is to install linux on a separate partition without installing any bootloader like grub onto my MBR. Instead I want to use the already installed xp's bootloader.I think debian's w32 installer works like this. But it is giving me a hal.dll not found error.
How can I fix fstab? at each boot, my partitions switch alternatly from sda to sdb and vice versa. Go to past: On my desktop, I've got 2 hdd, 1 ide and 1sata. (Bios priority boot sata) first, I've installed Seven on the hdd ide and diconnected it. Second, I've installed Sid under hdd sata. So after, sda is SID (sata) and sdb is Seven (ide). Since I've reconnected ide hdd, as say above, my partitions switch alternatly from sda to sdb and vice versa. I use Grub2 and UUID, there no move inside these files Is there another file to configure to avoid this?
So here's the skinny, I have Windows 7 home Premium installed on my Touchsmart PC. I have a 60 GB partition I want to use for Ubuntu. Can I install Ubuntu to that partition so that it doesn't change how my computer boots up already?
I press the power button. The POST test processes and then boots into windows no questions asked, as if it's the only OS on the system.
I want to keep it that way even after Ubuntu is installed.
I want Ubuntu ONLY accessible by using the BIOS boot menu as soon as the PC starts up.
I'm running Ubuntu 10.10 on a Zotac nettop. When I boot up normally, all my external USB drives are recognized and mounted properly in /media.
But when I boot up without Gnome (i.e. there's no monitor attached so Gnome doesn't start) they don't mount right: I see directories for them inside /media but normal users don't have access, and root only sees an empty directory.
Whenever I login to a certain server using SSH I get a very long delay before a prompt appears. Everything I looked up on this issue says that it's a DNS issue and that I should disable reverse DNS lookups on the server.
But, the remote server is a shared webhosting server. I e-mailed the sysadmins but they say they have no DNS issue and that they won't change the server configuration. So, how can I fix this issue from my side (client side)? I have a static IP address and a hostname that points to it.
What is the "recommended" method for dual-booting Ubuntu and Windows 7, if one cannot allow the disk's MBR to be overwritten or changed in any way?
Before now, I have either installed GRUB/GRUB2 to the MBR, or else installed Ubuntu and Windows to two different hard drives.
The machine in this case, a Samsung NP300-V5A-A02US notebook PC, has only a single hard drive. I cannot allow any alteration of the MBR, because then the Samsung backup/system recovery software (Samsung Recovery Solution 5) will no longer work.
I have installed on friday a new distro on my computer, ubuntu 10.04 lts on my 1GB ram and 3Ghz computer. It has dual booting system. Everything worked fine, i have even been using the xwindows and althought i must say that it felt a bit slow in time reaction to my typing still good enough. I left the computer running with no programs, just idle and now my computers screen is dead. I can not see anything.
I restarted the computer and in normal mode it goes black.I started in recovery mode and i manage to get to a console where I type startx and i see the next error.So I had a fresh install, i worked with the xserver (so i do not think is a driver problem) fine until i left the computer without running anything and the xserver crashed.