General :: Automount/unmount Usb Pendrive On Lenny (minimal)?

Oct 30, 2010

I need to configure udev to auto-(u)mount usb pen-drive on my minimal lenny (No X,hal,etc, only udev). kernel correctly detect :

Code:

[287909.514127] usb 1-1.4: new high speed USB device using orion-ehci and address 4
[287909.635454] scsi1 : usb-storage 1-1.4:1.0
[287910.635307] scsi 1:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 0 CCS
[287910.648078] sd 1:0:0:0: Attached scsi generic sg1 type 0

[code]....

But I would like an hot-plug automount like in my ubuntu desktop, on /media/{us_label_or_uuid}

View 1 Replies


ADVERTISEMENT

Ubuntu :: OpenOffice Locks Pendrive - Can't Unmount

Apr 21, 2010

When I have several documents open in OpenOffice.org and save one of them to my Pen/Flash drive, and then try to unmount, it won't let me. It says an OpenOffice document is using the drive. Here is the problem: The document refers to isn't the one I just saved to the Pendrive. It's a document saved on my Hard Drive! I close it (which should not be necessary) and try unmounting again. Now it tells me to close the document saved on the Pendrive.

I don't understand why I need to close ALL Openoffice documents to unmount the drive. Not sure if this is a bug in OpenOffice or in Ubuntu. Either way it's annoying and is a complete waste of time to be messing around with closing and opening documents every time I want to unmount an external drive.I have tested this on various computers all running Ubuntu 9.10, with both Gnome and LXDE. Same results. Ubuntu, I hate you!

View 3 Replies View Related

Ubuntu :: Nautilus Automatically Re-mounts Pendrive After Unmount / But Only Once

Apr 24, 2011

What happens on my computer is this: when I insert my Walletex business card-shaped pendrive into any USB port, everything works fine, and so does unmounting using the right-click "Eject" option.However, when I try to unmount the device using the other context menu option, "Remove device safely" (or something like that; sorry, I'm using a localized version of GNOME), it does unmount it, but then mounts it right back on. The weird thing is that after it does it, if you try using that same unmount option again ("Remove safely"), it actually works! And I can replicate this issue every time: the "Eject" context menu option works the first time every time I try it, but the "Remove safely" one, when used for the first time per device insertion causes an unmount and then a re-mount, and works the second time you try it

View 2 Replies View Related

Ubuntu :: No Write Permission On Pendrive After Automount

Aug 14, 2011

cat /etc/fstab
mount
ps -A
ls -al /media/
dmesg
groupsfootnotes

My problem:
When plugging in a pen drive it will be automounted, but only root (who owns it) has write access to it. Other users only have write access. (Neither my user, nor an unmodified test user)

My aim:
I want to be able to write on my pendrive without any additional manual work after plugging it in (iirc that is default on a standard ubuntu install).

Possible causes:
I once had a time where I wanted everthing to be minimal. Might be, that I removed something in connection with my problem. I reinstalled everything that came to my mind and could be connected to that problem w/o success. I merely removed stuff than editing stuff (never touched /etc/fstab or /etc/udev/rules.d/*). S
So I think I am missing some kind of service, that manages my (user?) permissions or so.

I use:
Ubuntu 10.04 (initially a kubuntu but I remove nearly everything Qt/KDE stuff) fluxbox (but most gnome services are active).

I tried/checked:
check my automount setting[1] - did not change the behaviour
media_automount - is checked
media_automount_open - is checked
usbmount - is installedntfs-config - did not help (even after reboot)
manual mount[2] - worked, but i don't want to do that everytime I plug in a pendrive
gksudo users-admin (made sure that amongs others the following entries are checked)
Access external storage devices automatically
Administer the system
Mount user-space filesystems (FUSE)

I didn't try:
chmod - seems to be only used for ext* fs
edit /etc/fstab - seems not to be supposed for such variable things like pendrives
- changing file systems for same pendrive
- different number of pen drives
- every pendrive needs its own fstab entry
udev rules - I was told to write some, but I am reluctant because- I never did that before (so I also didn't mess them up)

Additional info:
Code:
benedict@box:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# Use 'blkid -o value -s UUID' to print the universally unique identifier for a device; this may be used with UUID= as a more robust way to name devices that works even if disks are added and removed. See fstab(5).....

View 4 Replies View Related

Debian :: Write Udev Rules In Order To Automount Usb Pendrive?

Oct 9, 2010

im using Debian (lenny) with 2.6.26 kernel, I'm trying to write udev rules in order to automount my usb pendrive, so I added this rules in udev:

SUBSYSTEM=="block", SUBSYSTEMS=="scsi",ATTRS{vendor}=="OTi ",
ATTRS{model}=="Flash Disk ", NAME="penna128M",RUN="/usr/bin/
pmount /dev/penna128M"

I use pmount to install the device as normal user If i connect my device to the usb port I don't see nothing in /media/penna128M, BUT giving at the prompt cat /etc/mtab the last line is:

/dev/penna128M /media/penna128M vfat rw,noexec,nosuid,nodev 0 0

The line in fstab about this pendrive is:

/dev/penna128M /media/penna128Mvfatdefaults,user,owner,auto00

View 5 Replies View Related

Debian :: Install Absolutely Minimal Xfce4 On Lenny?

Feb 15, 2011

I'd like to install absolutely minimal Xfce4 without any extra stuff like xfce4-panel, taskbar, calendar etc.
How to install it on Lenny?

View 4 Replies View Related

Debian :: How To Get Debian Lenny To Automount CDs Same As Ubuntu Does?

Aug 21, 2009

Could anyone tell me how to get Debian Lenny to automount CDs the same as Ubuntu does i.e. automatically, with a Desktop icon etc.I've worked out how to automount CDs using autofs, which is OK, but it still doesn't seem quite as good as the way Ubuntu does it.

View 6 Replies View Related

Ubuntu Servers :: Create A New Server Package And Leave Minimal Minimal?

Feb 17, 2010

After a long time I tried ubuntu(9.10) again on my fileserver, I have some remarks; why does a minimal server installation include X/openoffice? I don't need document conversion on a fileserver and I bet a lot of people don't. Wouldn't it be better to create a new server package and leave minimal minimal? low memory installs (64mb) don't work unless you configure swap by hand in between things, 64mb ram is a lot in my eyes. I mean, not to be rude but if I wanted all this I could've better installed Solaris.

That said it's stable and running fine. Since it's my home fileserver I tried to convert my previously created raid10 mirror on an adaptec 1200 card to a softraid 5 solution. This is wat I did:

[Code]...

View 6 Replies View Related

General :: Debian Lenny : How To Install Xfce 4.6 Instead Of Lenny's 4.4

Dec 14, 2009

i was trying to use gnome and kde but i don't like them. I tried xfce and it seem to fit my needs but.My computer is used to be powered on for a weeks. While time passes, a process xfdesktop begin to use more and more memory and to free RAM i need to log out and log in again.

I tried squeeze yesterday on my virtual machine and it has 4.6 and seem not to have that bug, RAM usage is static(yes it still works when i write this and have memory usage 34492k, which is not changing for an hours of usage already), also 4.6 is MUCH better than 4.4.

i already tried adding squeeze to "sources.list" but i can see too many dependencies which should be upgraded if i install 4.6, i'm beginning to afraid it can crash entire GUI(or entire system, i can see there is libc6 required to be updated).

View 14 Replies View Related

Ubuntu :: Installed Debian In Pendrive Nd Lost Grub. No Grub If Pendrive Is Not Connected?

Mar 13, 2011

So here is my situation..i was using win 7 and ubuntu 10.10 in my dell studio 1555. and i wanted to try out debian so i installed debian in my pendrive. so the grub was modified. when the computer starts it shows debian,ubuntu and win7 no problem.. but if i remove the pendrive, nothing comes up. it shows grub rescue>..

so now i cant start up unless i plug in the pendrive. what to do now to solve this problem?? i want to restore my grub to the previos state.

View 2 Replies View Related

General :: How To Enable Pendrive

Jan 6, 2010

I've installed fedora 8 in my system. i've tried to mount my usb drive. but it's doesn't work out. i followed the following procedure.

#mount /dev/sdb1 /mnt

But now i don't even get the drive as sdb or sdc. i don't know why.

View 5 Replies View Related

General :: Unmount Versus Hide

Oct 25, 2009

trying to do a multiboot, just for fun Now I installed Foresight Linux, which was not such a good.Foresight is based on rpath and uses Conary as update system Now Conary destroyed all other linux systems installed on the other partitions. Now I found that there is something such as hide and unmount but have read several pages full of it but still have no idea what is the difference between the two and more important, how to use this as most explanations seem to complicated How can I hide partitions for a booted linux operating system so it is unable to see it, use it or even mount it when it tries

View 2 Replies View Related

General :: Usb Disable Pendrive Blinking

Jan 17, 2010

I recently bought a 16GB Super Talent pen drive that seems to work well for running the Ubuntu Live "CD" in persistent mode (see this for how I installed it). One slightly annoying thing, however, is that this pen drive has a bright red light on it that stays on when it's idle.

Is there a way to make the light stay off at least when the pen drive is not performing IO? I'm not even sure it's possible to do. If there is (in Linux), I'm guessing it boils down to some ioctl invoked by some utility. Otherwise, I imagine it would involve hacking the firmware or simply opening up the pen drive and removing the LED.Then again, I guess it keeps the LED on to indicate that the drive should not be removed.

View 2 Replies View Related

General :: How To Make Bootable Pendrive

May 4, 2011

how to make bootable pendrive

View 5 Replies View Related

General :: Cannot Format My Pendrive / Solve This?

Jan 8, 2010

I cannot format my Transcend 4 Gb Pen Drive.. When i try to format with the following command code...

I'm not able to format it...

dmesg gives code...

View 3 Replies View Related

General :: How To Install RedHat 6 From Pendrive

Jun 1, 2011

I am a using Windows xp. I had Started my Redhat6 tuition from some days,, My question is " How can I install redhat linux 6 from my pendrive? Please describe me all the steps cause I haven't try to install a O.S. from pendrive?

View 2 Replies View Related

General :: Install From A Partitioned Pendrive?

Jul 19, 2010

I would like to use half of my 16gb pendrive to keep files and the other to install linux. Is it possible?

View 7 Replies View Related

General :: Mount Pendrive With SUDO

Feb 9, 2010

I can login into my linux only as normal user "abc". my slax is giving HAL error in automounting pendrive.

To mount a pendrive i have to login as root in a terminal with SU command and then i can access the pendrive through command line. i normally copies my files into "abc" home directory and browses it from there in konquorer file browser......this is tedious job...everytime.

My idea is to have an icon on "abc" desktop ...which onclick will execute a shell script and manually mount my pendrive in READ WRITE mode at background and display the pendrive folder contents.... using KDE Scripting.

View 2 Replies View Related

General :: Ubuntu On A Pendrive: Grub?

Sep 17, 2010

i have a similar problem , i installed ubuntu 10.04 onto a pendrive, it all works fine , but the catch is i have to keep my pen drive inserted to get the grub menu. is there a work around to get grub to work off my hdd( my guess is it is in my pen drive along with the ubuntu files)

View 3 Replies View Related

General :: Unable To Mount Pendrive

May 27, 2010

I am using CentOS 5.4 in VMware, having Win XP as host OS. i am unable to mount a pendrive. I have used "#dmesg" command to display the hardwares connected, but its not showing anything about Pendrive. Also tried #mount -t -vfat /dev/sda2 /pendrive........but the error is "...its not a block"

View 3 Replies View Related

General :: Vanishing Mount Points On Unmount?

Jun 19, 2011

When I insert an SD card in the reader, slackware creates a mount point and mounts my card volumes. On unmounting the volumes, the mount point vanishes. How do I achieve this manually?When I attempt to mount a volume using the mount command, the mount point folder must exist and the folder does not vanish on umount. Is there a way to create a mount point if it does not exist? and ensure that the folders vanish on umounting?

View 2 Replies View Related

General :: Can't Unmount ESATA Drive As User

Dec 6, 2009

I have external hard drive which I used to connect via eSATA. I have edited fstab and it looks like that now: UUID=35C595D5738A319A /media/DATA ntfs auto,user,exec,suid,rw 0 0 The problem is that I can't unmount it as normal user, when do that, receive: Error unmounting: umount exited with exit code 1: helper failed with: umount: only root can unmount UUID=35C595D5738A319A from /media/DATA

View 2 Replies View Related

General :: Unmount The Partition With Exec Permissions?

Aug 9, 2010

My hosting company said: You need to unmount the partition with exec permissions, install memcached and re-mount it with no-exec as a security measure.

Code:

[root@server tmp]# pecl install memcache
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl
channel-update pecl.php.net" to update

[code].....

View 4 Replies View Related

General :: Cannot Properly Format Pendrive On Ubuntu 10.10

Dec 15, 2010

I put Jolicloud on a pendrive to install it to my laptop, tried it out, didn't like it, and installed ubuntu with a CD instead. Now I want to use my pendrive for storage, so I popped it in, loaded up Gparted and formatted the drive.

Now, when I pop the pendrive into my laptop, Ubuntu thinks that Jolicloud is still on it, when Gparted says there are no partitions on the pendrive.

Screenshot:

How can I properly format the pendrive?

View 2 Replies View Related

General :: OpenSuse Won't Boot Without Pendrive Plugged In

Apr 3, 2011

I was building LFS on a pendrive this morning when it crashed in the middle of making gcc. I rebooted without my pendrive and I never got into the desktop. Instead, I get a visually pleasing terminal telling me that it couldn't find and that the only way to reboot would be to press CTRL+D. I'm then given a command line and that's that.

Rebooting with the key inside works perfectly.

I reformatted my key and now there's nothing on it. I feel like somewhere somehow I added an entry to the boot process of my system and now I have to remove it. Never dealt with something like this before

Fstab:
/dev/disk/by-id/ata-WDC_WD2500AAJS-60Z0A0_WD-WCAV2M336077-part1 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD2500AAJS-60Z0A0_WD-WCAV2M336077-part2 ext4 acl,user_xattr 1 1

[Code]....

The LaCie entry at the bottom there is my pendrive.

View 1 Replies View Related

General :: Install A Distro Using A DVD Image And A Pendrive?

Jun 8, 2011

I have a 8 GB flash drive and a 4.3 GB DVD iso (openSUSE-11.3) Is it possible to use the flash drive to install the linux? Pendrive linux universal USB installer formats it to Fat32 which limits the filesystem to 4 GB.

View 1 Replies View Related

General :: Disable USB Pendrive Access Only In Fedora14?

Jul 23, 2011

how to disable Pendrive access in my Fedora 14KDE. while allowing usb mouse and keyboard.(se linux and firewall to be off) or how to set usb mounting permission only to root?

View 4 Replies View Related

General :: Format USB Pendrive For HP Mini Netbook?

Apr 25, 2011

How to format USB pendrive for HP Mini netbook?

There are many softwares; Gparted, LiLi USB creator, or Universal USB Installer...

View 6 Replies View Related

General :: Install Vlc Player On Fedora 11 From Pendrive ?

May 17, 2010

I want to play media file on fedora 11 for this i want to install vlc player on it.. i have this player on pendrive..

View 3 Replies View Related

General :: Cameras, Pendrive: Severail UUID Into The /etc/fstab?

Dec 29, 2010

Simple. UUID is apparently limited to a single UUID to be defined. Example UUID="DEB0-0001","3338-3164" separated with a comma is not working.

What could be the linux alternatives for pluging several UUID disks? How to bypass when there is a CF card and a reader box, since blkid gives no UUID ?

Code:
UUID="DEB0-0001" /media/pendrive vfat users,rw,noauto,umask=0000,uid=1000,gid=1000 0 0
#UUID="3338-3164" /media/pendrive vfat users,rw,noauto 0 0
#TYPE="vfat" /media/pendrive vfat users,rw,noauto 0 0

View 3 Replies View Related







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