Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-25-2014, 07:51 AM
|
#1
|
Senior Member
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,488
|
fdisk shows logical sector size smaller than physical sector size?
Searching on the above message I find this thread
http://www.linuxquestions.org/questi...la-4175449117/
Which doesn't exactly say how to fix it.
I'm putting a 1TB drive in my 'server' and when I ran fdisk I received that error message, looks like I need to use a different tool such as sfdisk or GPT but I haven't found a good how to on either. I've been just using fdisk all these years
|
|
|
04-25-2014, 11:22 AM
|
#2
|
Senior Member
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,815
|
fdisk will work just fine on a 1TB drive. You just need to make sure the partitions are aligned properly. Recent versions of fdisk will default to "sector" units rather than legacy "cylinder" units. If yours does not, either invoke it with the "-u" flag or use the "u" command interactively. Then, switch off the deprecated "DOS-compatible" mode ("c" command), and fdisk will default to Megabyte alignment, which is suitable for modern disks and SSDs.
|
|
|
04-25-2014, 12:27 PM
|
#3
|
Senior Member
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,488
Original Poster
|
I see some references to later versions of fdisk, wouldn't (Slackware) 14.1 have a more recent fdisk?
I'll try u and c when I get home.
|
|
|
09-03-2014, 05:08 AM
|
#4
|
Member
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 527
Rep: 
|
the message is a bit of a red herring. Slackware 14.1 version of fdisk already defaults to the modern options of sector mode and non-dos mode for the partition table. If you create a first partition it will by default start at 2048 sector which is safe, as it is a multiple of 4kbytes (1MB). I had the same message which got me checking things, like you, only to find it was a false alarm.
If you format using ext4, then even if it wasn't aligned, it wouldn't make much speed difference. - see this report by ibm
http://www.ibm.com/developerworks/library/l-4kb-sector-disks/ for a table comparing different formats for unaligned partitions
|
|
|
09-03-2014, 05:50 AM
|
#5
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,263
|
Quote:
Originally Posted by timsoft
|
hi, the link you gave is mistyped. (here fixed)
|
|
|
09-03-2014, 11:57 AM
|
#6
|
Member
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 527
Rep: 
|
thanks for the fix. bbcode messed me up again. I should just have left the link as is :-)
|
|
|
All times are GMT -5. The time now is 03:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|