fdisk instead of cfdisk

If you have any suggestions or ideas about improving Salix, here's the place to post them.
Post Reply
GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

fdisk instead of cfdisk

Post by GJones » 20. Aug 2012, 06:11

In stock Slackware, you partition your disks and then run the installer. In Salix the installer launches cfdisk for you. This is nice; but while cfdisk is relatively user-friendly, it doesn't take care of partition alignment. And unfortunately partition alignment is very important on some recent hard drives (especially SSDs, I think).

fdisk on the other hand (as of the current version, old versions not so much) seems to handle partition alighnment issues without any problems. So it might be better to launch fdisk instead of cfdisk - depending on the hard drive, it could save users a lot of trouble later, even if it's a bit less friendly.

User avatar
caitlyn
Posts: 209
Joined: 5. Dec 2009, 20:42
Location: Hunstville, Texas, USA

Re: fdisk instead of cfdisk

Post by caitlyn » 20. Aug 2012, 19:48

If the concern is partition alignment wouldn't parted be a better choice than fdisk? That would give you the flexibility needed and it's certainly more user friendly than fdisk.

GJones
Donor
Posts: 300
Joined: 22. Jul 2011, 23:27

Re: fdisk instead of cfdisk

Post by GJones » 21. Aug 2012, 05:44

I wouldn't call parted (the CLI version) even remotely user-friendly, as (last I checked) it applies changes as you make them - making it much easier to lose data.

User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: fdisk instead of cfdisk

Post by thenktor » 21. Aug 2012, 08:35

I think both are not suited for an installation disk. If you really need partition allignment use gparted before you start your installation :P
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)

User avatar
JRD
Salix Warrior
Posts: 949
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: fdisk instead of cfdisk

Post by JRD » 24. Aug 2012, 08:39

I agree with Thenktor. Better use a LiveCD that ships Gparted as part of the installation.
Image

sojurn
Posts: 41
Joined: 15. Aug 2012, 22:43

Re: fdisk instead of cfdisk

Post by sojurn » 11. Sep 2012, 21:19

From a not so expert side of things, the cfdisk screen in the text installer (which I prefer over a graphical install) is the one point where I am more than happy to just pass through it quickly. It is sitting on <quit> and I just press return. Which means that I always use gparted in advance to make changes whenever I install a system, regardless.

So same conclusion, albeit for different reasons.

User avatar
mimosa
Salix Warrior
Posts: 3096
Joined: 25. May 2010, 17:02
Contact:

Re: fdisk instead of cfdisk

Post by mimosa » 11. Sep 2012, 22:08

@sojurn +1

Also very frequently, I am installing to my guest partition; so there's no need to change anything. If it is an install from scratch, I'd certainly use Gparted, even if I didn't want to install from Live for some reason. This is one case where I very quickly got over the urge to use the command line instead of a friendly graphical app.

Post Reply