LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-16-2007, 07:57 PM   #1
choconlongxu
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Rep: Reputation: 0
how to mount usb and hdd form usb linux?


Hi all,

I am a newbie, pls. i want to to use USB and hdd in linux, i run from linux usb(linux DSL) in windows sp2, how can i mount usb or hdd?

Thanks.
Trang
 
Old 11-17-2007, 05:21 PM   #2
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 13.37
Posts: 436

Rep: Reputation: 56
I have never tried DSL, but this way of doing it should work:
Plug inn your USB device. Now, locate what it is called. Do this by typing:
dmesg | tail
There many new lines there, and should be something like this:
sd 7:0:0:0: [sdc] Attached SCSI disk

In this case, /dev/sdc is the device name to use. This disk has one partition, and therefore /dev/sdc1 is the only device that could be used. If you have more then one partition, the names are sdc1 sdc2... To get a complete overview of the partitiontable use fdisk or cfdisk.

Now to the mounting. Most distros have a folder /mnt/hd that is good for this purpose. Which folder you use doesn't matter. Mount the device like this:
mount /dev/sdc1 /mnt/hd

To get som extra info, read man mount/cfdisk
 
Old 11-21-2007, 07:44 AM   #3
nthillaiarasu
Member
 
Registered: Nov 2007
Posts: 39

Rep: Reputation: 15
enter into ur terminal as superuser
then type fdisk -l in terminal
it will show like this

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1275 10241406 c W95 FAT32 (LBA)
/dev/sda2 1276 4870 28876837+ f W95 Ext'd (LBA)
/dev/sda5 1276 2435 9317668+ b W95 FAT32
/dev/sda6 2436 2566 1052226 82 Linux swap / Solaris
/dev/sda7 2567 3088 4192933+ 83 Linux
/dev/sda8 3089 3218 1044193+ 83 Linux
/dev/sda9 3219 3728 4096543+ 83 Linux
/dev/sda10 3729 4870 9173083+ 83 Linux

Disk /dev/sdb: 8622 MB, 8622931968 bytes
255 heads, 63 sectors/track, 1048 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 538 4321453+ b W95 FAT32
/dev/sdb2 539 1048 4096575 7 HPFS/NTFS

Now choose which partion u want to mount
before mounting create a directory in media .for ex:create as usb

now u cant use mount command to mount ur USB Drive
mount /dev/urusb partition /media/usb
 
Old 07-30-2008, 09:28 AM   #4
mkenyon2
Member
 
Registered: Dec 2007
Posts: 32

Rep: Reputation: 15
In the DSL I have, I get this in dmesg:

usb 1-1: new full speed USB device using uhci_hcd and address 3


fdisk -l only gives me my hda1 which is the root drive.

This is a hard drive install of DSL.

I searched the /dev folder for anything like uhci or hcd, but nothing like that was there.
 
  


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
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 08:49 AM
grub cant mount usb hdd creon Linux - General 1 06-08-2007 07:23 AM
manual mount - external usb hdd (ubuntu) tripled2006 Linux - General 1 01-15-2007 10:08 AM
USB hdd mount n2 koy Linux - Newbie 2 10-03-2004 11:48 AM
mount a usb hdd in R/W mode asterix Linux - General 3 10-14-2003 10:57 AM


All times are GMT -5. The time now is 05:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration