LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-19-2013, 07:39 AM   #1
permissive
LQ Newbie
 
Registered: Mar 2013
Posts: 23

Rep: Reputation: Disabled
Set custom block sizes (512-4096 bytes) in Gparted?


It is easily don in Windows, you can select 512, 1024, 2048 and 4096 byte partitions and format as you wish.

But how you can easily do it in Gparted? Google wasn't helpful. Or you can only do it with command line Parted?

Last edited by permissive; 08-23-2013 at 05:25 AM.
 
Old 08-19-2013, 08:32 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860
What you choose in Windows is the blocksize and has nothing to do with aligning partitions at all (to format a partition it has already to exist, so formatting it can by definition not change the alignment).
What is it really that you want to achieve, formatting with a specific blocksize (if so, which filesystem do you want to use) or aligning the partition to specific sectors?
 
Old 08-20-2013, 07:02 AM   #3
permissive
LQ Newbie
 
Registered: Mar 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
What you choose in Windows is the blocksize and has nothing to do with aligning partitions at all (to format a partition it has already to exist, so formatting it can by definition not change the alignment).
What is it really that you want to achieve, formatting with a specific blocksize (if so, which filesystem do you want to use) or aligning the partition to specific sectors?
As far as I know I did not mention aligning partitions in this thread at all. (That is for other threads.) Here I only want to format to specific block sizes in Linux, such as you can choose in Windows: 512-4096.
 
Old 08-20-2013, 07:55 AM   #4
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
Quote:
Originally Posted by permissive View Post
As far as I know I did not mention aligning partitions in this thread at all. (That is for other threads.)
Thread title- "Align partitions to 512-4096 blocks in Gparted?", so yeah, you mentioned it....

Changing the block size wont make sure that partitions are aligned.

fdisk and mkfs will let you set the block size easily (I cant seem to fiure out how to get gpatred to change block size, even though I know it's meant to do it).
 
Old 08-20-2013, 08:15 AM   #5
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,046

Rep: Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798
Quote:
Originally Posted by permissive View Post
As far as I know I did not mention aligning partitions in this thread at all.
Perhaps you don't consider the thread's title to be "within the thread" technically.

Setting the filesystem parameters, such as blocksize, is part of formatting, and is not directly related to partitioning a device, though tools such as gparted frequently combine the two operations. In gparted, I don't see any way to choose filesystem parameters. If you manually run mkfs to format a filesystem, you do have the opportunity to choose the blocksize for ext2/3/4 or the cluster size for the various msdos variants.
 
Old 08-23-2013, 05:27 AM   #6
permissive
LQ Newbie
 
Registered: Mar 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
I fixed the title. Sorry, my lingo was not precise at first. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GParted partitioning options, align to cylinder or to MiB ? james2b Linux - Newbie 7 01-28-2014 04:17 AM
Align USB flash drives to 4096 bytes as well such as SSDs? Check in Linux? permissive Linux - General 21 08-23-2013 07:24 AM
Fixing partitions with Gparted? mywytefeet Linux - Newbie 3 05-24-2010 01:31 AM
Gparted does not detect partitions... jmite Linux - Newbie 2 04-12-2009 07:51 PM
gparted says no partitions JohnyDRipper Linux - General 4 02-12-2007 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration