[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#627064: partman-auto: Function create_primary_partitions() creates whole-disk partition even if smaller requested



Le Wed, Aug 03, 2011 at 05:56:34PM +0200, Robert Wolf a écrit :
> 
> I have found one workaround.
> 
> Simply I define LVM PV as second primary partition - installer does not create 
> it, but there is something in $scheme_rest variable and therefore the first 
> boot primary partition is created with command

Dear Robert,

I found your bug report while looking for a way to install on a whole
disk instead of partitionning it...

I just inspected the source repository of partman-auto and it looks like
your workaround is close to the expected solution, where one would replace
the LVM by a logical partition.

    commit 5d4e9ddbfeccf1899d330964681575570845e0ed
    Author: Colin Watson <cjwatson@debian.org>
    Date:   Tue Jul 14 13:29:32 2009 +0000
    
        If we're creating primary partitions and find that we've reached the end
        of the recipe, use "full" rather than "beginning" as the place passed to
        NEW_PARTITION, thereby avoiding rounding problems and matching the
        process for creating logical partitions (closes: #516347, LP: #287571).
        
        r59347

    http://anonscm.debian.org/gitweb/?p=d-i/partman-auto.git;a=commit;h=5d4e9ddbfeccf1899d330964681575570845e0ed

Do you (and others) think that we can close that bug ?  Or suggest a patch to
our documentation ?

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


Reply to: