Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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_#
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.
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)"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.