LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-25-2006, 02:23 PM   #1
zhuningwll
LQ Newbie
 
Registered: Apr 2006
Posts: 21

Rep: Reputation: 15
usb disk?


My system is slackware10.2.how can I Do if i want use usbhardisk?
anybody can help me?
Tks!
 
Old 04-25-2006, 02:29 PM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Do you want to boot from it or are you planning only to keep data in it?
 
Old 04-25-2006, 03:22 PM   #3
zhuningwll
LQ Newbie
 
Registered: Apr 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien_Hominid
Do you want to boot from it or are you planning only to keep data in it?
only put data from it!
 
Old 04-25-2006, 04:37 PM   #4
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Insert your USB drive and run dmesg. You should see it toward the bottom as some thing like /dev/sda1 or maybe sdb1, if you have a SATA hard drive. Then what I do is

mkdir /mnt/usb

to create a mount point or just reuse /mnt/floppy on machines that don't have a real floppy. After all that's what USB drives are for now.

Then edit /etc/fstab and add a line like this

/dev/sda1 /mnt/usb auto noauto,users 0, 0

Again you can just reuse the /mnt/floppy entry and change /dev/floppy to your actual device.

Now you can mount your USB drive with this command

mount /mnt/usb

or

mount /mnt/floppy

unmount with

umount /mnt/usb

or

umount /mnt/floppy

Dennisk
 
Old 04-25-2006, 04:44 PM   #5
zhuningwll
LQ Newbie
 
Registered: Apr 2006
Posts: 21

Original Poster
Rep: Reputation: 15
I test if I don't stat /etc/rc.hotplug ,use the dmesg can't see the usb disk.(sda)
use usb disk must start the rc.hotplug???
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM
usb disk tintilin Linux - Hardware 21 12-03-2004 08:14 AM
Using a floppy disk to load a USB disk. joeyjwc Linux - General 2 03-21-2004 06:05 PM
USB 2.0 External Disk Wont Work, but almost in USB 1.1 integr8er Linux - Hardware 2 03-13-2004 09:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:12 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
Open Source Consulting | Domain Registration