The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
42 views

suspicious/phantom usb “Mass Storage Device”? [closed]

[solved, see last comments] I have /dev/sdd that doesn't seem to be a physical device. I'm trying to determine what hardware it is, or track what application created it. With this answer, I managed ...
-1
votes
1answer
30 views

How turn external HD visible in Virtualbox Debian VM?

I want to clone my Virtualbox VM to a another/external HD in my computer. My VM is a Debian 7, and I want to use the dd command on an external HD. Is this possible? When I use # fdisk -l only ...
1
vote
1answer
41 views

GNU/Linux: automatic cloning of a system with partitions encrypted with LUKS+dm-crypt

I would like to have an up-to-date clone of a (Debian) GNU/Linux system on an external HDD and therefore be able to replace the internal HDD with the external HDD at any time and being up and running ...
3
votes
2answers
47 views

How to tell if a SCSI device is removable?

In DMESG I see: [sdb] Attached SCSI removable disk How does Linux decide what is removable and not removable? Is there a way I can look up if a device is "removable" or not other than the log, for ...
3
votes
3answers
177 views

Removable USB stick listed as non-removable in /sys/block?

In my question Bash script to output path to USB flash memory stick I got stuck on a problem nobody else seems to be having. (The issue also impedes my desire to use this answer: ...
2
votes
0answers
78 views

Set PERM_WRITE_PROTECT on an SD card

From what I read here and here I gather that there is a bit on SD cards called PERM_WRITE_PROTECT that will allow me to make an SD card read only. Is it possible to set this bit from Linux? If so, ...
1
vote
1answer
727 views

Mount exFAT file system as user without hardcoding

I've "solved" the following problem, but not in a desirable way. First, mounting exFAT file systems in Linux was truly as simple as this site says. The catch is, "as long as you are root." A user ...
-1
votes
2answers
90 views

Is there any other way to restrict USB storage?

I have been using /etc/modprobe.d/blacklist.conf to restrict USB storage but all employees are given root permissions, so they are removing restriction very easily. What I'm looking for is is there ...
3
votes
1answer
782 views

Thunar doesn't auto-mount USB devices with default setup

After installing and configuring Thunar Volume Manager for Arch Linux it doesn't mount any USB devices automatically: $ thunar thunar-volman: Unsupported USB device type. thunar-volman: Unsupported ...
1
vote
1answer
78 views

Portable bootable installation of Ubuntu, synchronized with my main computer

I have a difficult problem that I'm trying to solve. Currently, I am using Mac OSX and I want to create a full Ubuntu partition on my home computer; this is fine. I'm currently doing a lot of ...
0
votes
1answer
167 views

How to set default auto mount options for removable media?

I have quite a bit of removable media (flash drives, external hard drives, etc) that I want to adjust auto mount options for. How does one do this? Is there something similar to /etc/fstab?
4
votes
2answers
229 views

List all the ways a block device is in use

I want to be sure that a removable hard drive (USB, but this shouldn't matter) is safe to remove. Let's say this drive is sdb. Obviously I need to make sure that there is no mounted filesystem on ...
4
votes
1answer
538 views

Find out if a specific device is an USB mass storage

Context I'm automating SD card imaging from an existing dd factory image. The SD card is always connected through an external USB card reader and thus appears in the system as a SCSI block device ...
1
vote
2answers
286 views

Permissions on an ext4 filesystem on a removable drive used in different machines

I have a USB flash drive with ext4 file system and its files are owned by my user on my local machine, for example by myuser@myhost with 700 permissions. If I unplug my flash drive and plug it in ...
1
vote
1answer
438 views

How to format a USB storage no detected in Ubuntu?

I have a memory stick that is not mounted in Ubuntu and it doesnt works in Windows. I can check is connected using Bus 003 Device 011: ID 05e3:0727 Genesys Logic, Inc. microSD Reader/Writer But I ...
1
vote
2answers
1k views

How to check how many External Hard Drives are connected to Linux Server

Is there a way to distinguish between the Internal Hard drives and External Hard drives. Actually i need to see how many External hardrives do we have and to which server are they connected . This ...
3
votes
4answers
2k views

Live USB: how to access USB drive that linux booted from

Can't find it in /media or /mnt. What I want: live distro so I have guarantee it won't break and will boot/work every single time have access to directory on that USB drive for storage purposes, ...
5
votes
2answers
571 views

Make `locate` able to search files on external HDD

If I understand correctly, the database locate relies on is just for files on partitions of internal HDDs. I wonder if it is possible to use locate on external HDDs?
7
votes
2answers
9k views

How to mount removable media in /media/<LABEL> automatically when inserted, without any desktop environment?

I have a Debian sid system (Wheezy) (and same for arch), without any desktop environment (and no Xorg at all). I can mount my SD-cards, USB sticks, external HDD by label into a specified directory in ...
6
votes
2answers
896 views

How to properly unplug/plug removable LVM2 device?

How to properly unplug (remove) and later plug (insert) removable (hot-plug, usb etc) storage device with LVM2 on it ? I've found this note Remove (unplug, eject): lvchange -an ...
0
votes
1answer
96 views

(audio) Files transferred to Motorola Milestone does not stay there

I'm using gpodder to manage podcast on Ubuntu machine (thinkpad laptop). When I transfer files to the phone I see the files on the phone sd card via ubuntu file manager, however, when I disconnect the ...
5
votes
6answers
2k views

Linux on pendrive? Which distro to use? [closed]

Terms regarding the OS: Must be installed on pendrive It must contain software for office use Need to save files, GUI settings on it (auto) So I'm not searching for a LiveCD. What could be the ...
4
votes
1answer
2k views

How do I change permissions on an external hard drive in Arch Linux?

Permissions to my portable hard drive on Arch is read-only and it seems I can't change it- when I change it from the GUI it takes no effect. So, how can I change it through the terminal? Is there ...