Bug#211623: partitioner: SRM-aware selection script needed for Alpha
On Fri, Sep 19, 2003 at 10:35:02AM -0500, Steve Langasek wrote:
> On Fri, Sep 19, 2003 at 05:12:54PM +0200, Sven Luther wrote:
> > On Fri, Sep 19, 2003 at 10:08:28AM -0500, Steve Langasek wrote:
> > > On Fri, Sep 19, 2003 at 02:47:04PM +0200, Sven Luther wrote:
> > > > On Thu, Sep 18, 2003 at 09:40:51PM -0500, Steve Langasek wrote:
> > > > > Package: partitioner
> > > > > Version: 0.07
> > > > > Tags: d-i patch
> > > > > Partitioning on most alphas can only be done with fdisk, not cfdisk,
> > > > > because cfdisk lacks BSD disklabel support (bug #211556). The attached
> > > > > patch is a first try at a script for partitioner to use when we're
> > > > > installing on an alpha. SRM magic patterned after the srm-reader udeb,
> > > > > and has not yet been tested.
> > > > Would parted also work ? Not as per see, since parted is not really user
> > > > friendly, but when using a (graphical) libparted frontend ?
> > > Anything that understands BSD disklabels and is assailable by the user
> > > is fine. Today, that means fdisk. When something better becomes
> > > available (I've also filed a wishlist requesting BSD disklabel support
> > > from cfdisk), the script can be changed.
> > Parted should work also. In i took the disk_bsd.c file as an example
> > when writing the amiga partitioning support in libparted. Could you
> > perhaps test parted 1.6.6 and confirm this to us, as i don't have the
> > hardware for it.
> A quick test with parted shows that it does understand an existing BSD
> disklabel. Quickly glancing through the options didn't show me a way to
> initialize a disklabel on a fresh disk, though?
mklabel should do you a fresh disk (mklabel bsd) and mkpart should
enable you to add partitions (and mkpartfs or mkfs to add filesystems). From
the source, there is definitively code there to create the partition