Solved

mounting external HD in linux

Posted on 2013-01-30
12
256 Views
Last Modified: 2013-01-31
Hi, how can i find the partition device name on an external hard drive to format it. fdisk -l does not show the hard drive listed, however dmesg shows kernel recognizes the HD.
ScreenHunter-02-Jan.-30-13.40.gif
0
Comment
Question by:nevyana2006
  • 6
  • 5
12 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 38836520
Issue command
lsusb

Open in new window

0
 

Author Comment

by:nevyana2006
ID: 38836557
0
 
LVL 31

Expert Comment

by:farzanj
ID: 38836620
Ok, if you know the label of your drive, you can try

lshal | grep -i 'label'

Open in new window

0
 

Author Comment

by:nevyana2006
ID: 38836650
don't have that command available...
0
 
LVL 31

Expert Comment

by:farzanj
ID: 38836859
Disconnect your hard drive.

Become root
Issue command
tail -f /var/log/messages

Connect your hard drive.
Do you see anything on the screen?
0
 

Author Comment

by:nevyana2006
ID: 38836883
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 
LVL 31

Expert Comment

by:farzanj
ID: 38836941
Do you have any /dev/scsi0    
?

Check by command

ls /dev/scsi0

Open in new window



If so
mkdir /media/external

mount /dev/scsi0 /media/external

Open in new window


What is the partition type? vfat?

If the above doesn't work try:
mount -t vfat /dev/scsi0 /media/external

Open in new window

0
 

Author Comment

by:nevyana2006
ID: 38836983
yeah, i don't have ls /dev/scsi0, its ext3
0
 
LVL 10

Assisted Solution

by:asavah
asavah earned 250 total points
ID: 38837481
Your ext3 fs is damaged, you get a warning about it, disk label seems to contain some non standard characters, not sure about it, but it could prevent automount from working.

Knowing what kind of linux you got would help. I suggest you start help requests for *nix systems with distribution flavor ie: debian,centos, ubuntu and kernel version ( uname -a command ).
Now we need to get the /dev/ node that your system is assigning to the usb hd.
In most modern linuxes usb storage devices will get sdXY dev node, something like /dev/sdc1.

Try:
blkid

Open in new window

command as root.

Post output here.
0
 

Author Comment

by:nevyana2006
ID: 38837715
yeah... but its Linux 2.4.20-20.9. blkid is not available...
0
 
LVL 31

Accepted Solution

by:
farzanj earned 250 total points
ID: 38837967
It is not working.  dmesg and /var/log/messages should have had the right device name if the kernel was accepting your hard drive as a valid drive.  Perhaps it doesn't have a valid driver.  Kernel is way too old.  It appears to be like RHEL 4 or similar.  Get a newer release.
0
 

Author Comment

by:nevyana2006
ID: 38839373
yeah, at least clear conscious that i tried...thanks much
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Sed question 2 48
Can't get /etc/resolv.conf to configure after reboot 8 40
Notice: Undefined variable 5 54
change time in cron 4 40
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now