Does the debian installer really not support lvm? I'm sure I've
installed debian with root on software raid + lvm before... maybe the
sarge version has less features than the one I used, although this was
between 3 and 6 months ago.
I'd use debootstrap in preference to the debian installer, but that's
probably just my preference, the installer might make the final config a
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Philip Hands
> Sent: Wednesday, 29 June 2005 22:07
> To: Debian Install System Team; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] auto-installing debian on xen on debian
> installer preseeding
> Hi Folks,
> Hopefully this will be of interest to some of you.
> I've put together a debian-installer preseed setup, that allows (among
> other things) one to do a non-interactive install of Xen with a
> Debian as it's Domain0, sets up LVM so that one can create disks for
> domains and then lets you run the debian installer in a new domain so
> you can then install Debian instances.
> For the Xen folks, this should turn into an easy way for people to dip
> their toe in the water without having to read lots of tedious
> documentation, and also be a pretty decent way of doing real
> (although I'd have thought that using debootstrap for the secondary
> installs might make a bit more sense, but at least you get a machine
> you can do that without any effort)
> For the debian-installer folks, you might be interested (or horrified
> about how I managed this with only slight tweaking to the sarge
> version of debian-installer (given that it doesn't support LVM, so I
> do a bit of scripting). Also, there's some (at present rather
> tweaks that are needed to allow debian-installer to work within an
> unprivileged xen domain.
> Given that you could have a load of diagnostic tools in Dom0, and then
> up one or more installs in subsequent domains, with the (theoretical)
> possibility of monitoring what they were doing from the outside, this
> turn into a nice environment for testing debian-installer. Although
> present it's significantly less helpful than a real machine because I
> see any way of getting to /dev/tty under xen, so debugging is
> currently a right pain,
> Anyway, here it is:
> There are some HOWTOs and top page includes a README.html. It's still
> work in progress, so I may well reorganise the layout of the
> at some point (it's mildly chaotic at present). The idea behind the
> structure is that one can turn up to a site with standard(ish) boot
> and have the preseed system determine the site it's running on (or you
> tell it by hand) and then install the requested machine type.
> The xen setup described above will get installed if you specify a
> type of "xen0", which you do by booting the mildly tweaked boot media,
> specify this at the boot prompt:
> boot: auto26 local/cfg=xen0
> the tweaks to the boot media are described in the
> files, the details about the xen setup are described in the
> If people want to customise this to their own needs, they can either
> copy and point the install media at their local server in the initial
> preseed,cfg, or they're welcome to have write access to the svk
> where all this resides (once I work out a clean way of admin-ing
> Anyway, feel free to have a play, and I'm very open to suggestions on
> to improve things.
> Things that are currently less than perfect:
> Xen: it would be nice to know how to access the other virtual
> of a XenU domain from Dom0, so one could get at the shell if
> install goes wrong.
> the current setup uses side effecting include-commands in a
> positively abusive manner to set preseed variables under
> control --- there must be a better way (or we should add one)
> I'd like to be able to say "include this preseed file if it
> but don't give me an error if it doesn't" or alternatively
> this file if it exists, otherwise include that one"
> It would be nice to have a script run late enough in the
> so that one could reboot (in this case for the first boot into
> Cheers, Phil.
> P.S. Please only reply to one list unless you're pretty sure that
> saying something of interest to both.
Xen-devel mailing list