45
votes
Accepted
Automount USB drives with systemd
After several false starts I figured this out. The key is to add a systemd unit service between udev and a mounting script.
(For the record, I was not able to get this working using udisks2 (via ...
22
votes
Automount USB drives with systemd
there is a new, succinct systemd auto-mount option which can be used with fstab which allows you to use all the standardized mount permission options, and it looks like this:
x-systemd.automount
...
6
votes
Automount USB drives with systemd
Using pmount, systemd and Mike Blackwell's approach, you can simplify the whole thing:
/etc/systemd/system/[email protected]
[Unit]
Description=Mount USB Drive on %i
[Service]
Type=oneshot
...
3
votes
Accepted
How to clone Linux hard drive to smaller flash drive
You haven't specified much about your disk layout so I am going to make some assumptions. Please modify for your application, or provide the additional details and I can edit this.
Assumptions:
1 ...
3
votes
USB virtual storage device service
There’re was a project called Aclouda and it could do a similar thing but with ARM CPU and internal flash & disk. I don’t know how functional it’s and what it costs.
http://aclouda.com/
This is ...
3
votes
Automount USB drives with systemd
I'd go with Warren Young's answer I have a few changes I made to
I added some space protection as it was giving errors from the eval of the environment for the drive.
I added a section to chmod a ...
2
votes
Centos 7/1503 -- Getting Error setting up base repository during installation
when you install centos 7 on network, you may config installation source.
when you input the url under the label 'On the network:', you'll see the check box already checked that means 'This URL ...
2
votes
Automount USB drives with systemd
I have modified the script from @MikeBlackwell to:
recognize device names that span multiple characters, not just /dev/sd[a-z] but /dev/sd[a-z]*; often the case with servers that have larger number ...
2
votes
How can I create a self extracting / self burning bootable USB image?
This may not be the best answer, but you could always write a script/program that does this yourself. (Which in this case would prompt a Stack Overflow question.)
(The following would of course have ...
2
votes
Accepted
need to reset dirty bit on usb flash memory stick
This problem was repaired with: fsck.ext3 /dev/da0s1
2
votes
Accepted
USB Flash Drive unbootable on IBM/Lenovo x3850 X5
I worked on this some more and finally solved it!
I took a second review regarding the UEFI/Legacy settings and made sure ALL the places where the word 'legacy' was mentioned, was disabled!
For some ...
1
vote
Accepted
USB virtual storage device service
This is a job for Linux USB Gadget mass storage
Here is a tutorial.
Nevertheless, your Linux host must support USB OTG mode of operation, which isn't very frequent on server hardware.
1
vote
Is there a mapping of USB Flash Drives to Fat32 / NTFS / Ex-Fat?
Does such a mapping exist?
No, because such a relationship doesn't exist. Flash drives are block devices, and do not have any concept of supporting any one filesystem. One could just as easily format ...
1
vote
Backing up a Owncloud server to a USB Drive
I would not check if it's mounted, I would mount it myself. And, I would mount by uuid, so like /dev/disk/by-uuid/*. You can do ls -l there to see what is what. By using uuid, you will know the block ...
1
vote
Centos 7/1503 -- Getting Error setting up base repository during installation
I experienced the same problem. It is working after I switch to Win32 Disk Imager.
Please try using another USB ISO burner. It should work. There is a list of working programs for the task.
1
vote
Accepted
How to mount an USB drive under VMWare ESXi 5.5?
Why are you trying to do this?
I have a whole bunch of operating system ISOs on an external drive that I'd like to use on my home ESXi 6 lab, but I can't mount them directly.
Here's what I did:
...
1
vote
Windows Server Backup "Reading Data; please wait..."
I am using Windows Server 2008 R2. I was also trying to use Windows Server Backup to mount a recently backed-up vhd. My Windows Server Backup program was also stuck forever at "Reading Data Please ...
1
vote
How to write ISO image to usb memory stick from linux command-line?
I use the following procedure:
1. Reading the block size and the volume size:
[root@testserver ~]# isoinfo -d -i /path_to_iso | grep -i -E 'block size|volume size'
Logical block size is: 2048
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
usb-flash-drive × 113linux × 23
usb × 19
windows × 16
boot × 10
vmware-esxi × 7
usb-boot × 7
windows-xp × 6
installation × 6
ubuntu × 5
security × 5
mount × 5
debian × 4
group-policy × 4
hard-drive × 4
storage × 4
zfs × 4
iso × 4
centos × 3
windows-server-2008 × 3
raid × 3
windows-7 × 3
hardware × 3
encryption × 3
clone × 3