Slackware This Forum is for the discussion of Slackware 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.
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.
|
 |
12-15-2013, 07:51 AM
|
#1
|
Member
Registered: Feb 2013
Posts: 34
Rep: 
|
Decent partition manager
I reinstalled Slackware recently. Using cfdisk (from 14.1 iso) I got a partition layout with alignment errors. I got the advice to redo the partitioning, because alignment errors affect performance. So I partitioned with fdisk (also from 14.1 iso). This fixed alignment errors, but when I should install lilo, lilo complained about inconsistent partition table. I had to install lilo manually with a switch to turn ignore errors. Also when partitioning with fdisk, you don't really get the partition size you put in, it's often off by 10's of gigabytes.
Are there any non-buggy partition manager for linux out there? Preferably command line based.
Last edited by insectiod; 12-15-2013 at 08:11 AM.
|
|
|
12-15-2013, 08:10 AM
|
#2
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,525
|
If you are not happy with the performance of fdsik/cfdisk then try parted as a CLI based tool.
BTW- Looking at the partition table in your other thread, I note that you have the boot flag set on two partitions. It is not necessary to set the boot flag on your Linux boot partition.
|
|
1 members found this post helpful.
|
12-15-2013, 02:13 PM
|
#3
|
Member
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 -current running i3
Posts: 499
Rep: 
|
Quote:
Originally Posted by insectiod
[...] Also when partitioning with fdisk, you don't really get the partition size you put in, it's often off by 10's of gigabytes.
Are there any non-buggy partition manager for linux out there? Preferably command line based.
|
Play with the multiples, I've found that 1075 per gig works for me usually.
|
|
|
12-15-2013, 02:15 PM
|
#4
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
I use fdisk and cfdisk with multiples of four. Usually 100 MB for the /boot partition, then 2048, 4096, 8192 etc. for swap... and the rest for the root partition.
|
|
|
12-16-2013, 06:50 AM
|
#5
|
LQ Guru
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,058
|
Hi
I'm curious... what do you have against GUI partitioner front-ends?
|
|
|
12-16-2013, 08:13 AM
|
#6
|
Guru
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian, Ubuntu
Posts: 7,445
|
Quote:
Originally Posted by enorbet
Hi
I'm curious... what do you have against GUI partitioner front-ends?
|
Nothing. They work just fine. I prefer cfdisk and fdisk. Each to his/her own. 
|
|
1 members found this post helpful.
|
12-16-2013, 03:54 PM
|
#7
|
Member
Registered: Feb 2013
Posts: 34
Original Poster
Rep: 
|
Quote:
Originally Posted by kikinovak
I use fdisk and cfdisk with multiples of four. Usually 100 MB for the /boot partition, then 2048, 4096, 8192 etc. for swap... and the rest for the root partition.
|
Could you expand on this a little. Does this prevent alignment problems? Multiples of four bytes or kilobytes etc?
When booting the iso for Slackware or some similar distro, there is no X available, and this is where you need a partition manager. If there was good cli program then this could easily be brought in at installation time, even if it's not actually on the slack iso. I guess the alternative is to use a separate iso for booting up an environment where a graphical partition manager can be used but that's annoying.
With that being said, what is the best partition manager including graphical ones? Is gparted less buggy than fdisk?
|
|
|
12-16-2013, 04:07 PM
|
#8
|
Guru
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian, Ubuntu
Posts: 7,445
|
Quote:
Originally Posted by insectiod
Could you expand on this a little. Does this prevent alignment problems? Multiples of four bytes or kilobytes etc?
When booting the iso for Slackware or some similar distro, there is no X available, and this is where you need a partition manager.
|
After you login as root as part of the installation routine you will be prompted to partition your HD. The partitioning utility cfdisk is included with Slackware; it is more user friendly than fdisk. You invoke cfdisk by using a similar command to this:
# cfdisk /dev/sda
|
|
|
12-17-2013, 12:26 AM
|
#9
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by hitest
After you login as root as part of the installation routine you will be prompted to partition your HD. The partitioning utility cfdisk is included with Slackware; it is more user friendly than fdisk. You invoke cfdisk by using a similar command to this:
# cfdisk /dev/sda
|
And that is exactly why the OP had the problems with the alignment of his partitions. While any other partition manager switched the default start sector of the first partition to 2048 to prevent alignment issues with Advanced Format disks and SSDs, cfdisk has not and still starts the first partition at sector 63.
So, if you want to install on an Advanced Format disk or an SSD I recommend to not use cfdisk, use plain fdisk instead. It may be not as convenient as cfdisk, but it works reliably and after all that is what counts.
|
|
|
12-17-2013, 02:12 AM
|
#10
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,302
Rep: 
|
For the sake of completeness, one can also use gdisk/cgdisk, included in the installer. Their usage is mandatory in case of UEFI firmware but else you still can set a GPT (instead of MBR) partition table. I didn't try on a real machine so please someone correct me if I am wrong.
|
|
|
12-17-2013, 08:17 AM
|
#11
|
LQ Guru
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,058
|
Greetings
I haven't looked at these particular docs in awhile but it used to be in the Slackware Installation docs, that Patrick recommended partitioning BEFORE beginning installation. He mentioned Partition Magic back then, which certainly was a breakthrough piece of software (too bad Symmantec got hold of it) but I don't think they even keep it up anymore with so many Free ones out there.
GParted keeps getting better and is a serious tool, not a toy, but lately I have been preferring KDE's Partition Manager which is included in Slackware Extra. It is also on the Porteus LiveCD which forked off of Slax and is an excellent live environment to get some serious work accomplished or just surf around. One advantage of the GUI types, is that in one place you can gather deep info, edit and even run "e2fsck, checkdisk" whatever is appropriate to the filesystem without launching another Tab or program. Then, of course, there is that lovely resizing/repositioning capability.
Don't get me wrong, I love CLI too, but my toolbox has ratcheting socket wrenches, box wrenches, open ends and for the really ornery ones, torches, Stillsons and Easy Outs :P
|
|
|
12-17-2013, 10:06 AM
|
#12
|
Guru
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian, Ubuntu
Posts: 7,445
|
Quote:
Originally Posted by enorbet
GParted keeps getting better and is a serious tool, not a toy, but lately I have been preferring KDE's Partition Manager which is included in Slackware Extra.
|
Great suggestions. You can downlad GParted here:
GParted
|
|
|
12-17-2013, 10:30 AM
|
#13
|
Senior Member
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
|
I want to second Didier Spaier mentioning gdisk family. It works well with aligning partitions just right. Also the cli verion cgdisk can be a bit funky when creating paritions and you use non interactive mode. One has to thing around the normal numbering scheme. But nothing hard at all.
Also I wish for an option to create a UEFI or similar boot partition. Problem is the first partition will start at 2048 which is aligned and good. But the boot partition fits in between 64-2048 which I normaly create as the second parititon. Its just that I like my paritions numbers to be the same as the layout on the disk itself.
|
|
|
All times are GMT -5. The time now is 10:04 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
|
|