Unblock USB storage in Ubuntu

From Notes_Wiki

Home > Ubuntu > Creating Unblock USB storage in Ubuntu

Steps to Unblock USB Storage in Ubuntu

Step 1: Remove Immutable Attributes

Run the following commands to remove the immutable attribute from the configuration files:

sudo chattr -i /etc/modprobe.d/blacklist-usb-storage.conf
sudo chattr -i /etc/modprobe.d/usb-storage.conf

Step 2: Edit blacklist-usb-storage.conf

Open the configuration file:

nano /etc/modprobe.d/blacklist-usb-storage.conf

Comment the following lines:

# blacklist usb_storage
# blacklist uas

Save the file and exit the editor.

Step 3: Edit usb-storage.conf

Open the configuration file:

nano /etc/modprobe.d/usb-storage.conf

Comment the following line:

# install usb-storage /bin/true

Save the file and exit the editor.

4. Update initramfs

Run the following command to update the initial RAM file system:

sudo update-initramfs -u