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.
Eh? What's going on here? The simple answer is that the formula CHSx512 only works where there are an equal number of sectors on all cylinders, which is OK if you have an older drive. However, if you have a newer drive that uses more sectors for the outer cylinders - 'Zone Recording' - then this formula no longer holds true. (If your drive uses Logical Block Addressing then it's most probably one of these.) Instead, you have to know how many total sectors are on the disk, and that comes from the manufacturer's specification. In my case, they are 39,102,336 (19092 MB) and 156,301,488 (76319 MB) respectively, whereas CHS would only give 16,514,064 sectors for both drives.
So you have to resort to asking the computer how big your drive is, or you could be way off. More info here on CHS and 'Zone Recording':
Thank you for the adjustment on my math, must have hit a button wrong on the calculator. As for the change in the formula, you are correct. I was guessing based on the low number of cylinders that this is an older drive and that the calculation would hold true.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.