So, what's happening is roughly as follows:

  * RAID partitioning - or, in general, any multi-disk partitioning - operates 
by running /bin/autopartition on each of the disks in turn.
  * /bin/autopartition expands the recipe into a usable internal form and then 
calls /bin/perform_recipe, which has 'clean_method' (a function in 
/lib/partman/lib/recipes.sh) as one of its steps.
  * clean_method removes any old method files from all partitions on *all* 
disks.  This makes sense in isolation, when you're autopartitioning a single 
disk and don't want to have stale information lying around, but not when 
autopartitioning multiple disks.

The upshot is that only method files from the last disk are taken into
account, which is of course bad and results in the symptom you're
seeing.  I'll see if I can figure out a way to fix this as non-
intrusively as possible; I agree that if possible it should be fixed for
10.04 LTS.

Thanks for your detailed report, which made it much easier to reproduce
and diagnose this!

** Package changed: partman-base (Ubuntu) => partman-auto (Ubuntu)

** Also affects: partman-auto (Ubuntu Lucid)
   Importance: High
     Assignee: Colin Watson (cjwatson)
       Status: In Progress

** Changed in: partman-auto (Ubuntu Lucid)
    Milestone: None => ubuntu-10.04

-- 
preseed with RAID and GPT fails to set bios_grub flag on first disk but does 
set it on second so install fails
https://bugs.launchpad.net/bugs/566965
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to