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

Bug#423820: No attempt to partition second disk when preseeding with partman-auto/disk



Package: partman-auto
Severity: normal

Version: not sure! It's the version I got by downloading:
ftp://ftp.uk.debian.org/debian/dists/etch/main/installer-i386/20070308/images/netboot/netboot.tar.gz

I have two disks specified in partman-auto/disk, but only the first disk
gets partitioned. Subsequently the attempt to set up RAID fails with:
  An unexpected error occurred while setting up a preseeded RAID
  configuration.

The error is:
  partman-auto-raid: mdadm: Cannot open /dev/discs/disc1/part1: No such
  file or directory

Examining the system at this point, I see that it has automatically
partitioned /dev/discs/disc0/disc but not partitioned
/dev/discs/disc1/disc at all. I have checked and fdisk is happy to fdisk
both /dev/discs/disc0/disc and /dev/discs/disc1/disc manually.

My preseeding is as follows (identical to the manual):

d-i partman-auto/method string raid
d-i partman-auto/disk string /dev/discs/disc0/disc /dev/discs/disk1/disc

d-i partman-auto/expert_recipe string \
        multiraid :: \
                1000 5000 4000 raid \
                        $primary{ } method{ raid } \
                . \
                64 512 300% raid \
                        method{ raid } \
                . \
                500 10000 1000000000 raid \
                        method{ raid } \
                .

d-i partman-auto-raid/recipe string \
        1 2 0 ext3 / \
                /dev/discs/disc0/part1#/dev/discs/disc1/part1 \
        . \
        1 2 0 swap - \
                /dev/discs/disc0/part5#/dev/discs/disc1/part5 \
        . \
        0 2 0 ext3 /home \
                /dev/discs/disc0/part6#/dev/discs/disc1/part6

d-i partman-md/confirm boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition \
        select Finish partitioning and write changes to disk
d-i partman/confirm boolean true




Reply to: