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

Re: bypassing partman while preseeding



Hi Feri,

On Mon, May 19, 2008 at 2:28 PM, Ferenc Wagner <wferi@niif.hu> wrote:
> partman-auto partman-auto/init_automatically_partition select Manual
> doesn't work.

It works the same for the Woody, Sarge, Etch and Lenny installers.
It skips the following question by pre-selecting the manual method:

I understand, but I'm doing something wrong because I keep getting the "Guided - use entire disk and set up LVM" partitioning layout. I'm using the scripts from hands.com/d-i, with some altered preseeding. I added the files in the early_script phase and confirmed they're there. Then I added a preseed script with exactly the contents as in your preseed.example. However, I still get the default Guided LVM thingy.
 
> At least, I still get "partman-base" selected.

I don't understand this sentence.  The partman-base package is
installed (selected?) for me, too: it's what ask the above question.

Yeah, ignore this, I was still half asleep when i wrote this sentence :S
 
The above paste is from a Lenny installer session, fwiw.  Please
clarify, and I'll try to help.

My preseed file (copy of yours):

partman-auto partman-auto/init_automatically_partition select Manual
partman-lvmraid partman-lvmraid/logical-volumes string \
        root :/         :256M:xfs,\
        usr  :/usr      :512M:xfs:ro:nodev,\
        tmp  :/tmp      :256M:xfs:nodev:nosuid,\
        var  :/var      :512M:xfs:nodev,\
        swap :none      :128M:swap,\
        mailman:/var/lib/mailman:1G:xfs:nodev:noexec

The early_script:

INITRD_OVERLAY="/classes/partition/kumina/extra.tar.gz"
preseed_fetch $INITRD_OVERLAY /tmp/extra.tar.gz || echo "warning... initrd overlay not found!"
tar -zxf /tmp/extra.tar.gz -C /

Output from 'ls /dev/mapper' right after the partitioning (typed over from screen):

control
debian-home
debian-root
debian-swap_1
debian-tmp
debian-user
debian-var

--
Gegroet,
Tim

Reply to: