LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-30-2003, 01:02 PM   #1
joesbox
Member
 
Registered: Feb 2003
Location: hampton va
Distribution: ubuntu
Posts: 502

Rep: Reputation: 30
Unhappy boss's pressure for usb storage


ok ladies and gentlemen,
here is the situation. work just bought a usb 2.0 external harddrive and want me to use it to make a complete backup of the internal HD. we are running RH7.1 with kernel 2.4.2. i did a lsmod and no usb-storage was found. although usb-uhci was found. i understand that i have to insmod the module to get usb support for the external HD, am i correct??? also this external HD is preformated with fat32. i know that *nix can read/write to fat32 so i don't have anything to worry about, again am i correct?? i am kinda scared to do anything due to the urgency of our work and we do have a tape backup sys already in place. i think that what the boss is looking for is a quicker way to backup and possible hand carry to a new place and boot off of the usb device. i have not found anything to be too helpful with this situation on google, justlinux or here. i don't even know where to d/l the module to insmod. can someone give me some advice and help calm my nerves?
thanks in advance.
joe
 
Old 04-30-2003, 01:09 PM   #2
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
you can mount the external disk mount /dev/sda1 /mount/sda1
then you have to format the disk cause you can write to fat32 but you will lose all your permisions everything will be executable when you copy them from external to internal.
thats how i use mine.
 
Old 04-30-2003, 01:11 PM   #3
joesbox
Member
 
Registered: Feb 2003
Location: hampton va
Distribution: ubuntu
Posts: 502

Original Poster
Rep: Reputation: 30
what about the kernel and usb what not. will i still have to install the usb-storage mod and if so how do i do it??
 
Old 04-30-2003, 01:46 PM   #4
Nukes
Member
 
Registered: Apr 2003
Location: Scotland UK
Distribution: Gentoo
Posts: 92

Rep: Reputation: 15
I'd upgrade to 2.4.20 anyway. USB has come a long way in Linux since then and you get the newer VM too.
The kernel should recognise which module it needs. If it doesn't, try using modprobe rather than insmod. It just seems nicer but may not make much difference. I've had modules that worked with modprobe, but not insmod, even though it is just a link between them and they are the same program.
 
Old 04-30-2003, 02:08 PM   #5
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
in 2.4 series kernel you do not need anything i used it on 2.4.18 and 2.4.20 with any modification redhat and mandrake adn suse recognized my drive with any problems
 
Old 04-30-2003, 03:50 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,350

Rep: Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908Reputation: 1908
In addition to the USB modules you also need to install the SCSI modules if your tape drive isn't SCSI. sr_mod is one and I think scsi_mod is the other.

Like the other posts if you want a real linux backup then you might want to reformat the hard drive.

Booting from USB depends on your motherboards BIOS.
 
Old 04-30-2003, 04:39 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Not familiar enough with RH, but check whether
you have either usbmgr or murasaki installed.
I'm pretty certain that the presence of either of
these in Nakka's newer distro's does the trick,
the kernel alone won't do it ;)

As for the modules: to mount a USB hdd you'll
obviously need
usbcore
usb-storage
scsi_mod
sd_mod
and the module that matches your USB chipset.
that's either of these:
usb-ohci
uhci
usb-uhci
ehci-hcd

HIH

Cheers,
Tink
 
Old 04-30-2003, 07:16 PM   #8
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
modprobe should definately be used because it isn't a link to insmod but will work out the dependencies that a module needs. So, referring to Tinksters post, modprobing usb-storage should also insert usbcore since it is a dependency for usb-storage.

HTH

Alex
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After plug in apacer ht202 usb mass storage into usb port. Nothing appear. tellmeimhong Linux - Hardware 3 02-04-2006 03:32 AM
USB Storage cccc828 Slackware 9 05-06-2005 02:38 AM
forcing a USB device to use usb-storage eantoranz Linux - Hardware 1 11-13-2004 08:44 AM
USB Drive \ Mp3 + USB Storage imonfya Linux - Hardware 2 07-09-2004 11:54 PM
USB-Stick/usb-storage JC_at_LQ Linux - General 2 07-14-2003 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:30 PM.

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