Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 03-01-2010, 06:19 AM   #1
Registered: Nov 2003
Location: Bulgaria
Distribution: Vector Linux, Morphix
Posts: 295

Rep: Reputation: 31
disable USB storage Ubuntu 8.10

I want to disable usb storage module on Ubuntu 8.10.
I also have Ubuntu 9.10 and when I put

blacklist usb_storage

in /etc/modprobe.d/blacklist.conf everything is fine.
When I do the same in 8.10 nothing happens. The difference is that there is

Please advice
Old 03-01-2010, 06:35 AM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I suppose upgrading the 8.10 box is out of the question?

1. physically remove the kernel module
2. put "nousb" in the grub kernel line
3. switch the usb system off in BIOS

... unless you want root to load the module with insmod.

I suppose you could also fiddle the rules so that only root gets read access to any usb devices loaded.

blacklist usb_storage
in /etc/modprobe.d/blacklist is what will disable the usb_storage driver in Ubuntu 8.10. I'm guessing a different driver is being used back then.
Old 03-01-2010, 07:24 AM   #3
Registered: Nov 2003
Location: Bulgaria
Distribution: Vector Linux, Morphix
Posts: 295

Original Poster
Rep: Reputation: 31
Thank you very much.
Just renamed usb-storage.ko to usb-storage.ko1
Actually no one of the users can mount the usbs, hal automount is disabled, but I wanted to make sure the usb-storage is completely disabled.

Thank you again,
by the way nousb in the grub didn't work, I tried it before post


blacklist, usbstorage

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Distributed Storage Across Four Storage Nodes With GlusterFS On Ubuntu 9.10 LXer Syndicated Linux News 0 01-14-2010 01:50 PM
Disable/enable USB storage device @ run time Mr.J Linux - Security 1 09-08-2008 10:16 AM
Disable/enable USB storage device @ run time Mr.J Linux - Kernel 3 08-03-2008 08:14 AM
How to disable USB Mass Storage device ( usb drive ) in Linux vijaush Linux - Newbie 4 06-25-2008 09:43 AM
Is it possible to disable power supply to an USB storage device when unmounting? costavi Linux - Hardware 2 11-14-2006 03:23 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration