Skip to content

Instantly share code, notes, and snippets.

View thatch45's full-sized avatar

Thomas S Hatch thatch45

View GitHub Profile
[root@ragnarok ~]# LIBGUESTFS_DEBUG=1 guestmount -i --ro -a arch /mnt/guest/
new guestfs handle 0x24591a0
[00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/lib/guestfs/supermin.d' x86_64
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
supermin helper [00002ms] finished creating kernel
supermin helper [00002ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00002ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00002ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00003ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
From 5fa6a519cf924217d90addc12ea79bf79fc612e0 Mon Sep 17 00:00:00 2001
From: Thomas S Hatch <[email protected]>
Date: Thu, 10 Mar 2011 12:18:39 -0700
Subject: [PATCH] Add support for gzipped kernel modules
---
helper/appliance.c | 12 ++++++++++--
helper/ext2initrd.c | 28 ++++++++++++++--------------
2 files changed, 24 insertions(+), 16 deletions(-)
[root@node10 ~]# LIBGUESTFS_DEBUG=1 guestfish -a /mnt/local/vm/jglazner01-dev.la.bo/disk.0 -m /dev/vda3 edit /etc/fstab
new guestfs handle 0x215aa00
[00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/lib/guestfs/supermin.d' x86_64
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
supermin helper [00008ms] finished creating kernel
supermin helper [00008ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00008ms] visiting /usr/lib/guestfs/supermin.d/base.img
supermin helper [00008ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00008ms] visiting /usr/lib/guestfs/supermin.d/hostfiles
[root@node10 ~]# guestmount -a /mnt/local/vm/jglazner01-dev.la.bo/disk.0 -m /dev/vda3 --rw /mnt/guestmount/
cp: missing file operand
Try `cp --help' for more information.
febootstrap-supermin-helper: ext2_make_initrd: copy kmods failed
libguestfs: error: external command failed, see earlier error messages