Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Configuring domU filesystem image from dom0
On Wed, Jun 29, 2016 at 10:33:28PM +0100, Alaric Snell-Pym wrote:
> Ok, this isn't strictly a Xen question, but it's something that probably
> only Xen users ever need to do...
>
> So, the HOWTO mentions that one can either run an INSTALL kernel in a
> domU, or extract the sets into the domU root filesystem image from dom0
> when setting it up. I want to do the latter, as I can also set up /etc
> and (in theory) have a fully bootable and configured system ready to go
> the first time the domU starts.
>
> But: How does one do this in practice? I have created my nice LVM LV for
> my domU root. I can newfs it and mount it as a filesystem, but of
> course, the domU kernel sees it as an entire disk, and so expects a
> disklabel.
This works fine with file-backed virtual disks (attach a vnd to the file
and work on the vnd). I don't think there's a way to do this when using
LVM or disk partition as virtual disk.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index