Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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've just connected a USB external hard drive to CentOS 5.
I then formatted to ext3 and mounted it and added to the fstab to automount.
How do you find in Linux whether it's using USB 2.0 or USB 1.0?
And when I do fdisk -l, it shows up as NTFS even though I've formatted it (sda2) to ext3 and it's writable by Linux.
#fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6 48163+ de Dell Utility
/dev/sda2 7 19452 156199995 7 HPFS/NTFS
Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
You can format a partition independent of its ID so difficult to say what you actually did to expand on saikee's post. Since sda1 is a dell utility parititon I would guess this to be your internal hard drive. You did not include any partition information for sdb which could be your USB drive.
The command lspci should show what type of USB controllers are in this computer.
sda is the external USB hard drive which I mounted to /home/external. The internal hard drive is hda.
I can write to the external USB hard drive sda2 in Linux although slow in speed.
I didn't format sda1, the one that shows up as Dell Utility and did format sda2 but I'm not sure why it shows up as NTFS when I do fdisk -l.
Did I format it wrong?
By using lspci:
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 02)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 02)
Is (rev 02) = USB 2.0?
I think it's USB 1.0 since if it's USB 2.0 it would say USB 2.0 (rev 02) right?
I believe you have a USB 1.1 controller which has a max speed of 12.5 Mbps.
You did not format it wrong. As stated the partition ID has no bearing on the filesystem, i.e. A linux native filesystem partition ID is 83 but you can format it with ext2/3, reiserfs, xfs, jfs, etc and it will still be 83. linux does not care but if using windows you could have problems. Use you can cfdisk or fdisk to change the partition ID type.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.