On 3 July 2013 03:25, Max Brustkern <[email protected]> wrote: > I had tried using partman-auto/disk initially, but the install was still > stopping at partman-auto/select_disk. I'm trying the new preseed now. Any > thoughts on how long one would expect the early_command to take? >
Well, here running in a VM I get a complete iowait and 100% cpu on the host. With a 16GB VM disk it's 3-4 minutes. I wonder is something more clever can be done to avoid a complete dd. Something like: * iterate lvs, lvremove each one * iterate vgs, vgremove each one * iterate block devices, pvremove each one As that's what's tripping the installer. Regards, Dmitrijs. > Thanks, > Max > > > On Tue, Jul 2, 2013 at 11:20 PM, Dmitrijs Ledkovs > <[email protected]> wrote: >> >> On 27 June 2013 03:52, Max Brustkern <[email protected]> wrote: >> > I've run a few installs on the same machine. The first install is from >> > a >> > desktop image, and proceeds normally. >> > >> > The second install is from a netboot image, and proceeds normally. >> > >> > The third install runs on the same machine with the same preseed as the >> > second, but appears to get stuck in a loop. I'm currently running a >> > fourth >> > install to verify the loop does not resolve itself, but previous testing >> > has >> > typically resulted in the install timing out before that process >> > resolves. >> > >> >> One shouldn't preseed >> d-i partman-auto/select_disk >> d-i partman-auto/automatically_partition boolean True >> >> As those are interactive dialogs which well, end-up in a loop. >> >> Instead of select_disk, one should preseed: >> d-i partman-auto/disk >> >> Nonetheless, even with correct lvm preseeds, subsequent installs fail >> with "No root filesystem specified" which is quite unfortunate, given >> that interactive dialogs see partman-auto/automatically_partition_init >> and can select some_device_lvm recipe there. >> >> It looks to me like another incarnation of the >> https://bugs.launchpad.net/ubuntu/+source/partman-auto-lvm/+bug/154086 >> >> As a crude workaround there is a very thorough way one can reinstall >> same configuration lvm. See attached preseed file..... >> >> Regards, >> >> Dmitrijs. > > -- Ubuntu-installer mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-installer
