On Mon, Nov 11, 2024 at 04:45:31PM -0500, muh muh wrote:
Greetings, I am so far unsuccessful mounting .vhd files using
guestfish.
supermin: kernel: looking for kernels in /boot ...
supermin: kernel: kernel version of /boot/vmlinuz-6.8.0-48-generic =
6.8.0-48-generic (from filename)
supermin: kernel: picked modules path /lib/modules/6.8.0-48-generic
supermin: kernel: kernel version of /boot/vmlinuz-6.8.0-47-generic =
6.8.0-47-generic (from filename)
supermin: kernel: picked modules path /lib/modules/6.8.0-47-generic
supermin: kernel: kernel version of /boot/vmlinuz-6.8.0-45-generic =
6.8.0-45-generic (from filename)
supermin: kernel: picked modules path /lib/modules/6.8.0-45-generic
supermin: kernel: kernel version of /boot/vmlinuz-6.8.0-38-generic =
6.8.0-38-generic (from content)
supermin: kernel: picked modules path /lib/modules/6.8.0-38-generic
supermin: kernel: picked vmlinuz /boot/vmlinuz-6.8.0-48-generic
supermin: kernel: kernel_version 6.8.0-48-generic
supermin: kernel: modpath /lib/modules/6.8.0-48-generic
cp: cannot open '/boot/vmlinuz-6.8.0-48-generic' for reading: Permission denied
supermin: cp -p '/boot/vmlinuz-6.8.0-48-generic' '/var/tmp/.guestfs-1000/
appliance.d.u5glwd06/kernel': command failed, see earlier errors
libguestfs: error: /usr/bin/supermin exited with error status 1, see debug
messages above
The error wasn't what I was expecting, but it's simpler to fix.
You'll have to chmod the /boot/vmlinuz* files so that they are
readable by non-root. More details in this section (under "Ubuntu"):
https://libguestfs.org/guestfs-faq.1.html#where-can-i-get-the-latest-bina...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
nbdkit - Flexible, fast NBD server with plugins
https://gitlab.com/nbdkit/nbdkit