LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 12-04-2006, 05:37 AM   #1
henrnorl
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
ext harddrive not found with fdisk -l /dev/sd*


Hello,

I have a 500 GB external harddrive with 3 partitions. Two of them are unformatted. The third is formatted with NTFS. (When partitioning in Windows it seemed to be number three in the graphical interface.)

When I connect with USB, I cannot find the harddrive on the computer.
fdisk -l /dev/hd* gives info about my internal harddrives.
fdisk -l /dev/sd* gives NO OUTPUT when 500 GB harddrive is connected.
fdisk -l /dev/sd* gives right info when my USB stick is connected.

I was able to mount the harddrive (NTFS) as /dev/sda1 before I partitioned it.

Any ideas of how I can
(1) Get contact with the harddrive
(2) Format one partition to ext3

Thanks!!
 
Old 12-04-2006, 05:52 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Boot your system and login
Connect the USB drive
type dmesg and look at the output. It should says which device it is mapping the usb device to. Maybe your system is using something strange like /dev/uda1. I've seen some people have udev rules where USB devices show up as /dev/ud_#
 
Old 12-04-2006, 08:00 AM   #3
henrnorl
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Original Poster
Rep: Reputation: 0
I've restarted, plugged in the Maxtor OneTouch III harddrive through USB, and run
dmesg
This is the end of the output:

hub.c: new USB device 00:07.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0xd49/0x7212) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: Maxtor Model: OneTouch III Rev: 0343
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
/dev/scsi/host1/bus0/target0/lun0: p1 p2 p3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.

There is nothing called scsi in /dev. What next?
 
Old 12-04-2006, 08:17 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
it should be /dev/sda. The line saying "Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)"
 
Old 12-04-2006, 08:36 AM   #5
henrnorl
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Original Poster
Rep: Reputation: 0
I did fdisk -l /dev/s* and after a looong time I got info about the three partitions. And I could mount the NTFS partition as /dev/sda3.

Now, how do I format a partition to ext3? (/dev/sda1 or /dev/sda2)

Last edited by henrnorl; 12-04-2006 at 08:38 AM.
 
Old 12-04-2006, 09:01 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by henrnorl
I did fdisk -l /dev/s* and after a looong time I got info about the three partitions. And I could mount the NTFS partition as /dev/sda3.

Now, how do I format a partition to ext3? (/dev/sda1 or /dev/sda2)
mkfs.ext3

look at "man mkfs" or "man mkfs.ext3" for details
 
  


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
boot disk no longer /dev/sda when adding ext. disks rspielma Linux - Hardware 5 12-26-2007 06:21 PM
fdisk sees my harddrive but kde doesn't zarcar1 Linux - Newbie 1 10-28-2006 06:01 AM
Suse can't read to my Ext. harddrive.. Adamant1988 Suse/Novell 1 05-24-2006 03:37 PM
as a precaution: Does NForce2 Ultra400 and ext. USB Harddrive work with FC3? Patrique Fedora 0 11-14-2004 03:05 AM
Can U Install Linux On an Ext. HardDrive? DarkOblivion Linux - Newbie 0 01-09-2002 06:16 PM


All times are GMT -5. The time now is 08:55 AM.

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