CentOS 5 :: Auto Mounting An USB Thumb Drive?

Nov 26, 2009

I would like a USB thumb drive to be automatically mounted whenever I insert the drive into my PC (previously I had been mounting it manually with the 'mount' command). I gave the USB drive a unique label with e2label. I added an entry for it in /etc/fstab. This works in the sense that if I run "mount -a", the drive will be mounted. However, it still isn't completely automatic. Am I missing something? What else do I need to do?

View 8 Replies


ADVERTISEMENT

CentOS 5 :: USB Thumb Drive Thinks It's A CD-ROM?

Mar 13, 2009

When I insert a USB thumb drive into a USB socket a "CD-ROM Disc" icon appears on the desktop. When I double-click on the icon I get a "CD/DVD Creator" window. Messages in "/var/log/messages" shows Vendor (Sandisk) and Model (Cruzer) for the USB thumb drive. Those are correct. But for Type it says CD-ROM. What's up with that?

View 6 Replies View Related

OpenSUSE :: USB Flash Drive Not Auto Mounting?

Feb 15, 2011

USB Flash drive appearing in GParted but not auto mounting

GParted Screenshot:-

View 9 Replies View Related

General :: Not Auto Mounting Drive At Start Up?

Nov 6, 2010

maybe not so simple as what the subject saysBackgroun storyI have a couple of encrypted hard drives created with cryptsetup

I have the following lines in my /etc/crypttab
data1 UUID=someUUID none noauto
data2 UUID=someotherUUID none noauto

[code]...

View 1 Replies View Related

General :: Auto-mounting An Ecryptfs Partition Which Is On A Usb Drive?

May 30, 2010

I have an ecryptfs partition on a usb drive, system runs Debian squeezeWhat I'd like to have is that when I connect the drive it will be auto. mounted and I'lleither have to enter the passphrase or it will already be in the keyring (even better).It seems ecryptfs can auto-mount a directory but I want to auto-mount an entire encryptd partition. Is this possible?.Also, can I have another encrypted directory, say ~/Private, at the same time or can ecryptfs handle only one at a time?

View 3 Replies View Related

Ubuntu :: Auto Mounting Ntfs Drive With Execute Permissions?

May 10, 2011

Current when my NTFS external drive is auto mounted, I can't run any executables from it.

If I unmount it and then manually do:

sudo mkdir /media/portable
sudo ntfs-3g /dev/sdc1 /media/portable

it works fine. Is there a way to make the auto-mount have "full" access so I can run applications from it?

View 2 Replies View Related

Slackware :: External USB Hard Drive Auto-mounting Error

Nov 29, 2009

Just installed Slackware 13 this morning. It's been a long time since I last tried Linux, but Slack works (a lot easier than Slack 8 did back when I last used it!) quite well. I'm using the XFCE desktop and it's smooth as silk except for one odd problem-I cannot get any of my USB drives to mount. I just plugged in my Lexar 4GB USB flash drive and received an error message. Here's from /var/log/messages from when I initally plugged in the drive (I have a 500GB WD MyBook USB external drive that is always plugged in):

Any ideas or suggestions of what to look at? I'm not familiar with HAL in Linux although I've seen plenty of discussion about it and have an idea of what it's supposed to (or break! ).

View 1 Replies View Related

Ubuntu :: Auto Run (auto Exec) A Script On Mounting A Device?

Mar 16, 2010

I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?

The specific question:
I would like to add acl option to a device whenever it is mounted.
I tried fstab but it's changing the behaviour of nautilus see:

[URL]... so I would like to create a script with the command

Code:
sudo mount -o remount,acl /media/data
and auto execute it any time data is mounted.

View 1 Replies View Related

Server :: Control Which Drive Letter USB Thumb Drive Gets Assigned During Install Process?

Mar 30, 2010

The software: Ubuntu Server Edition 9.10.The wetware: A programmer doing his best (read: ignorant, shitty) as an ad-h.When I plug the USB thumb drive in, the install OS gives it a drive letter -- /dev/sdb -- and it pushes the original /dev/sdb down to /dev/sdc. The installation works without a hitch, and GRUB2 installs, dutifully pointing the root at /dev/sdc1 instead of /dev/sdb1.I let GRUB2 start normally ("drive not found"), holding the <shift> key to get to the "rescue>" prompt.From there, I issue "ls" to discover that GRUB can NOT see /dev/sdb, and I can tell that because what is showing up as (hd1) does NOT have three partitions as it should.GRUB2 sees a total of 16 drives, not 26, and one of the drives it sees is "fd0" (there is no floppy drive).Issuing commands like "set prefix=(hdx,y)" and "root=(hdx,y)" have no effect as, I think it's just pointing to the (reiserfs)content drives and this GRUB2 tells me "unknown filesystem".I did try them all in vain, hoping that maybe I'd find a kernel somewhere.I used the "rescue" mode of the Ubuntu installer (the USB thumb drive) to get to a root prompt.From there, I mounted /dev/sdc2 (the "shifted" /dev/sdb2) onto /mnt, I mounted /dev/sdc1 (the "shifted" /dev/sdb1) onto /mnt/boot,and then I chroot'ed to /mnt.I edited /boot/grub/grub.cfg, editing every instance of "root=(hd2,1)" to the appropriate UUID for the "real" /dev/sdb1. Then I issued update-grub2.It refused to work giving me an banal "no such partition" error or something like that.

We originally had this server functioning by putting / and /boot on the SS SanDisk, which caused no problems during installation because /dev/sda doesn't get shifted.We then figured it was a good idea to put our OS files on something with failover capability. And that started us down this crappy "shifting drive letter" path.Can I control which drive letter the USB thumb drive gets assigned during the install process?If I could make it be /dev/sdc then I wouldn't be facing this problem.An alternate solution would be to know the cryptic GRUB2 commands that I can issue from the command prompt post-install, pre-reboot.But I'm wondering if that will ultimately work at all considering that GRUB2 couldn't see /dev/sdb at all.

View 2 Replies View Related

General :: Get Drive Letter And Serial Number Of Thumb Drive?

Feb 4, 2010

I am new to Linux ,i did one project in windows which will block the thumb drive with respect to serial number(Device instance ID) of the device.i am planning to do the same project in Linux using c/c++.I am very new to Linux,there is no drive letter for thumb drives we insert into Linux OS.How to get Drive letter and how to get Device instance id of thumb drives please help me get some clues.please provide me any tutorial or any links .w if have any other clues to block devices with respect "block list" and "allow device list".if the serial number in block list it has to block if serial number in allow device list it has to allow thumb drive to access.

View 3 Replies View Related

CentOS 5 :: 250 GB USB Drive (Fat 32) Not Mounting Automatically?

May 11, 2009

I'm running:CentOS release 5.3 (Final)

when I plug in a Small USB key, hotplug sees the new device, mounts it in userspace and creates a link on the desktop. The user can open the link and read and write to the USB key. I have tested 3 different usb keys and they all work. When I plug in a USB 250 GB drive (Lacie), also fat32, it doesn't mount:

May 11 12:25:29 tinkerer kernel: SCSI device sdf: 488397168 512-byte hdwr sectors (250059 MB)
May 11 12:25:29 tinkerer kernel: sdf: Write Protect is off
May 11 12:25:29 tinkerer kernel: sdf: assuming drive cache: write through
May 11 12:25:29 tinkerer kernel: SCSI device sdf: 488397168 512-byte hdwr sectors (250059 MB

However, I can mount the drive manually as root. The problem is that the user cannot write to the device if it's mounted by root.Is this a problem with hotplug/udev or another way that I can make this device available rw to the user?

View 2 Replies View Related

Red Hat / Fedora :: Only Root Can Automount CD Drive And USB Thumb Drive?

Mar 24, 2009

Nothing happens when ordinary users plug in a USB thumb drive or insert a CD into CDROM drive. Works fine for root. After root mounts the drives then all users can use them. How can I enable mounting/unmounting by all users?

View 3 Replies View Related

CentOS 5 Hardware :: 2TB Drive Installed RAID1 Not Mounting In Fstab

Aug 15, 2010

I have installed a 2TB drive in my dual PIII 866 with 750MB ram. The drive is properly installed and I have configured the drive with 1 partition in RAID1. The array loads fine, but when I add the entry to mount the /dev/md2 /data/repository the following error occurs The filesystem size according to the superblock is 488378000 blocks The physical size of the device is 488377986 blocks Either the superblock or partition table is likely corrupt I have run fsck manually with no errors reported. I have removed the partition and rebuilt the array. The array assembles properly and I can manually mount the /dev/md2, but as soon as I add the entry to the fstab I get dropped to a shell after a reboot. Not sure where to go now?

View 3 Replies View Related

CentOS 5 :: Change Default Noexec To Exec When Mounting A Portable Hard Drive Through Usb?

Jul 18, 2009

How to change the default noexec when an external hard drive is plug to CentOS through usb ?

View 4 Replies View Related

Ubuntu :: USB Thumb Drive Not Recognized In 10.04

Aug 1, 2010

i tried to connect my samsung usb mp3 player and it is not showing up in mycomp. i tried to debug the issue but being a noob i didnt get anywer.

View 2 Replies View Related

Ubuntu :: Using A Thumb Drive For Extra Ram?

May 1, 2011

So i saw a thread somewhere about using a thumb drive to make extra ram for your pc. This was of course on a windows pc. I was wondering if this works on Ubuntu also and if it is really worth it?

Also if you have 4 USB ports could you put in 4 usb thumb drives and have a fantastic amount of ram?

View 7 Replies View Related

General :: Booting From USB Thumb Drive?

Jun 25, 2011

I have a new Giada cube with no hard drive, so my plan is to simply run a Linux/MythTV distro called MythDora from a Patriot 8GB USB stick (this Giada does not PXE boot). I am having trouble figuring out exactly how to make this work. Yesterday, although I have forgotten exactly how, I was able to put a MythDora Live image on the stick and boot up. I went through the initial setup, and then, when I was all done, I rebooted, and..it started all over again...as if I was doing it for the first time. So...What do I need to do to create a proper bootable USB stick?What ISO image should I use? The full DVD? Or the Live ISO? or the Network image?Do I need to partition the stick and load the O/S from one small partition, transferring the installation to another larger one?What utility should I use to create the bootable stick? unetbootin? or similar?Do I have to do anything special to make my O/S and configuration changes persistent on the USB stick?

View 3 Replies View Related

General :: Copying Dir To A Usb Thumb Drive?

May 9, 2011

I want to copy my /home to a USB thumb drive recursively. I've wrestled with this for a few hours now and continue to spin my wheels.The device is listed in my Disk Utility as /dev/sdc. However a little further down it is listed as /dev/sdc1 ? Anyway, I relabeled the volume as usb stick and formatted it to Ext4. I mounted it at /media/usb stick Do I have to enter this drive into the fstab? If so, how? what do I write? Using the command : cp -R (what follows... I want to copy /home recursively to the usb thumb drive.)

View 8 Replies View Related

Software :: Boot And Run App From Thumb Drive?

Dec 10, 2009

I need to have a web app that is feeding ip camera feeds across internet to a server. Need to have thumb drive preconfigured with cameras prior to shipping. End user plugs in cameras, puts thumb drive in any running PC, have WEB app start with some menu options to like name the feeds. Back at server receiving feeds are broadcasted via secure web site.I have never worked with Linux but have read some incredable things already.

View 1 Replies View Related

Slackware :: Installing From Thumb Drive?

Jun 3, 2010

How exactly do i do it, I can't find any clear step's on it?I got no CD-R's left and can't get to the shops.

View 4 Replies View Related

Debian :: Gnome Live On USB Thumb Drive

Sep 8, 2010

I just install Gnome live 5.0.6 on a USB thumb drive and would like to know how to save my setting?

View 5 Replies View Related

Fedora :: Recovering Data From A Thumb Drive

Dec 3, 2009

The following quote is the sad, sad story of a thumb drive with the partition table nuked, as told by a friend of mine:

Quote:

Data was recovered from an XP system by booting with a BartPC CD and copying onto a USB thumb drive. Nothing unusual.

System was rebooted into the XP install CD.

The first drive that was found was the 16gb thumb drive (AKA flash drive) and the person (re) installing XP didn't catch the fact that XP presented the 16gb thumb drive instead of the 160gb hard drive.

The drive partition function in XP deleted the partition table - on the thumb drive.

A freeware utility in Windows shows the data but can't recover the file names, so that everything is gobbledygook. Does anybody know of a utility or program under Linux that can help? I have a laptop running F 12 and can do the work if needed, but don't know what program to use.

View 2 Replies View Related

General :: OpenVMS Packaged On A Thumb Drive?

Nov 28, 2010

I am looking for OpenVMS distribution on a thumb drive for a PC. I image it would be a Linux system that automagicly starts a VAX simulator then boots OpenVMS on that. Either it would run live off of the thumb drive or it would install to the system's hard drive.

View 1 Replies View Related

Ubuntu Installation :: 9.10 Thumb Drive With Persistent Changes?

Mar 27, 2010

I've just installed UNR version of Ubuntu on one of my thumb drives and was wondering what I needed to do to for making it have persistent changes? I've seen the different tools and the usb creator they have on Ubuntu already but I want to do it myself from scratch. What files do I need to edit to make the drive persistent? I made the bootable thumb drive using UNetbootin.

View 9 Replies View Related

Ubuntu :: Thumb Drive Insert Cannot Read

Apr 6, 2010

i inserted a thumbdrive on one of the usb slots on my laptop upon inserting it shows:[sdb] Assuming drive cache: Write through[977.113519] sd 5:0:0:0: [sdb] Assuming cache: Write through

how to read the contents of my thumbdrive?Do i need to mount it first or what should be the procedure?

View 1 Replies View Related

Ubuntu :: Low Level Format For Thumb Drive?

Dec 4, 2010

I have a thumb drive that I cannot get a clean format done to use it as a boot device.Is there some way to do a lower level format (I am using Gparted) to get rid of this error?

View 6 Replies View Related

Ubuntu Installation :: Emergency USB Thumb Drive ?

Jan 25, 2011

I want a USB drive for emergency situations. It will have sensitive information, family photos, etc. stored on it. I want it to have one encrypted portion (TrueCrypt) for the sensitive materials. I want the files to be able to be viewed on a Windows machine first and foremost. If no Windows machine is available I would like to have a bootable version of Ubuntu on the USB drive so I can boot it and also view the files.

View 2 Replies View Related

Ubuntu :: Move 1.2GB Of Photos Onto A 2GB Thumb Drive?

May 3, 2011

I want to move 1.2GB of photos onto a 2GB thumb drive, calling up Properties, it says the size on disk is 9.7GB. What is going on? I don't recall discrepencies this huge in previous OS's. What is taking up 7 times more space than my actual files?

View 3 Replies View Related

SUSE :: Why Thumb Drive Can't Detect In Sles11

Jan 28, 2011

I 'm using vmware server to virtualized suse linux enterprise server11 as the guest operating system under my main OS of window 7 professional version, but when i plug on the pen drive, SLES11 (guest OS) that hosted under vmware with window 7 prefessional as main OS can't detect of my pendrive but i can do this before at window XP version...

View 1 Replies View Related

Hardware :: Usb Thumb Drive Unmount And Remount By Itself?

May 17, 2011

I have thumb drive connected to a busybox box.I mounted it /opt in initialzation file. However after a while it will unmount itself because it changes its drive letter from sda1 to sdb1. How could a usb device change its drive letter by itself? How could I prevent it happening?

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved