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.
When I bring up Gparted in Linux Mint it shows my hda1, hda2. If I had a second HDD would it be hdb or sda. I'm confused, what are all these designations? Thanks.
Classically, hdX referred to a PATA drive while sdX referred to a SCSI drive. Sata drives will show up as sdX.
Newer kernels now use one of the scsi kernel modules for PATA drives as well, so on a newer Linux installation, you may not see any hdX references at all. They weren't happy with some of the pata code and how well it was maintained.
USB drives use scsi code and show up as sdX devices. SCSI drivers are used to handle USB drives in MS Windows as well, since USB is a bus that is how USB drives are implemented, and coded internally, pretending that they are scsi drives.
On systems with PATA the standard is two IDE PRI-0 and SEC-1
(different manufacturers may call them a little different). Each IDE has two channels Master and Slave so in total you have 4 channels. Linux sees them like so.
hda = PRI - Master
hdb = PRI - Slave
hdc = SEC - Master
hdd = SEC - Slave
SATA = sdx
SCSI also is seen as sdx
And as jschiwal has stated with the newer kernel's hda is seen different, although you can still use the old standard when editing your fstab.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.