Re: Providing official virtualisation images of Debian
On Thu, Jul 28, 2011 at 10:45:30AM +0200, Daniel Baumann wrote:
> On 07/28/2011 10:34 AM, Lars Wirzenius wrote:
> > Where is that documented?
> man lb_config and look for -b virtual-hdd in connection with
> --virtual-*. if you build with --initramfs none, you'll get a non-live
> image, if you build with --initramfs live-boot (default), you'll get a
> live image.
Version 3.0~a21-1 of live-build (from sid) does not document
a virtual-hdd value of the -b option. (No idea if the code
actually supports it or not.)
The manual page includes the string "virtual-hdd" exactly once,
in the documentation for the --virtual-root-size option, but
no explanation of what a virtual-hdd is.
The lb_binary_virtual-hdd manpage exists, but also does not
explain what the format is.
Having to hunt for this information is annoying (but seems
typical for live-build documentation), so I'll just ask: is
virtual-hdd a RAW disk image, with partitions and boot loaders
and the root filesystem, and can I dd it to a hard disk or
USB drive and boot a real computer off of it?
If so, then live-build (now?) does about what vmdebootstrap
does, except more, and in a more complicated fashion. (My
vmdebootstrap is essential qemu-img + parted + kpartx + debootstrap +
extlinux: intentionally quite simple, even simplistic, and I
don't intend to make it much more complicated.)
The complexity in live-build is probably warranted, since it
does so much more. I don't intend vmdebootstrap to compete with,
never mind replace, live-build. However, I wish the complexity
wouldn't extend to finding out anything about live-build, including
how to use it.
Freedom-based blog/wiki/web hosting: http://www.branchable.com/