The short answer is that partman-auto has no facility for reusing
existing partitions yet, and thus you have to use 'clearpart'. This
results in the known missing feature documented in
https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/automatic-
install.html, which results in your problem:

  "Restrictions of a partition to a particular disk or device, and
specifications of the starting or ending cylinder for a partition."

Now. It is possible to work around this, if the system has been entirely
pre-partitioned, all the partitions are on one disk, and you happen to
know the installer very well. :-) I've attached a translation of your
'part' commands, which you can include in a %pre script. In addition,
you will need to remove all your 'part' commands and add 'preseed
partman/confirm boolean true'. You will also need to test this to death
on a machine you don't care about. I've tested a variation in a VMware
instance, but that isn't quite the same. If you need to vary the
partitioning scheme in minor ways, I hope the syntax is reasonably
clear; it's not entirely unlike partman recipes.

You cannot create any partitions using this workaround. Adding that
would probably not be very much simpler than just adding proper support
for this to partman-auto.

I hope that helps in the meantime ...

** Attachment added: "prepartitioned.sh"
   http://librarian.launchpad.net/7400628/prepartitioned.sh

** Changed in: kickseed (Ubuntu)
Sourcepackagename: None => kickseed

** Also affects: partman-auto (Ubuntu)
   Importance: Undecided
       Status: Unconfirmed

** Changed in: kickseed (Ubuntu)
   Importance: Undecided => Medium
       Status: Unconfirmed => Confirmed

** Changed in: partman-auto (Ubuntu)
   Importance: Undecided => Wishlist
       Status: Unconfirmed => Confirmed

** Summary changed:

- Autopartitioning via kickseed results in "No root file system" error
+ 'part --onpart' not supported and results in inscrutable error

-- 
'part --onpart' not supported and results in inscrutable error
https://bugs.launchpad.net/bugs/109475
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to