DeLi(cate) Forum

Full Version: Manual USB mass storage mounting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
USB host controller and USB mass storage support needs to be configured using the delisetup or usbconfig prior to the mounting. Both tools need to be executed from the root account.


1.) Unplug the USB mass storage device from the USB port (if it is plugged in)

2.) Become root

3.) Create a mountpoint (if it doesn't exist)
mkdir /mnt/usb-storage

4.) Make sure the sd_mod kernel module is loaded
modprobe sd_mod

5.) Insert the USB mass storage device into the USB port

6.) Check the list of SCSI devices and pick the last one (on the bottom) if there are more of them
dmesg | grep "SCSI device"

SCSI device sda: 7886848 512-byte hdwr sectors (4038 MB)

7.) List the available partitions on the selected device using the -l (small L) switch
fdisk -l /dev/sda

Disk /dev/sda: 4038 MB, 4038066176 bytes
174 heads, 3 sectors/track, 15108 cylinders
Units = cylinders of 522 * 512 = 267264 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 4 15102 3940352 c W95 FAT32 (LBA)

8.) Mount the selected partition under the previously created mountpoint
mount /dev/sda1 /mnt/usb-flash

Note: The USB mass storage content should be reachable under the /mnt/usb-flash directory from now



1.) Check if no application is using the /mnt/usb-flash mountpoint

2.) Make sure, that all your shells have the current directory set to any directory outside the mountpoint subtree
cd /

Note: you need to execute the above command only in the relevant shells

3.) Become root

4.) Umount the mountpoint
umount /mnt/usb-flash

5.) Wait for the command termination (that could take some time due to a cache flushing)

6.) If there was no error/warning after the previous step, you can safely remove the USB mass storage device from the port
Reference URL's