[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] How to make a Google Compute Engine boot image with guestfish?

On Fri, Feb 17, 2017 at 09:15:09PM +1100, Andrew Stuart wrote:
> I have a zipfile containing a kernel and an initramfs. These are all
> that is needed to boot an in-memory operating system.  I want to put
> these into an image suitable for booting on Google Compute Engine,
> using syslinux or extlinux.

I've not specifically tried it with GCE, but a good starting point
might be this Perl script:


I skimmed the GCE requirements, and you'll probably need to modify
that script a little bit, particularly to make the size be an exact
multiple of a gigabyte (currently it uses a fixed 100MB size).  Also
you'll need to modify it to upload your kernel and initramfs instead
of the ones from /boot on the host.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]