On 04/15/2017 12:12 AM, Vít Šesták wrote:
> IIUC, for pvgrub, you need to choose it as kernel for the particular AppVM.
> Have you done so?
>
I did; I boot coldkernel on Debian templates, so I know how to work with
pvgrub. The problem is that it just isn't generating a grub.cfg file.
This is the output of grub-mkconfig:
user@xenial-snaps:~$ sudo grub-mkconfig
Generating grub configuration file ...
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
grub-probe: error: cannot find a GRUB drive for /dev/mapper/dmroot.
Check your device.map.
and what gets stored in /boot/grub.cfg.new. It doesn't even make a
regular grub.cfg file.
HOWEVER, I think this whole native kernel thing was a red herring. The
problem with the Anbox installer was that apparmor wasn't running, even
though the dom0 qubes-vm-kernel I'm running supports it. Easily fixed with:
qvm-prefs -s XenialVM kernelopts "nopat apparmor=1 security=apparmor"
And right now the installation is going. We'll see what happens when it
finishes.
If I get this running, I might try again without installing
qubes-kernel-vm-support. That might be unnecessary after all and it
might have been apparmor not running that was the real problem.
--
You received this message because you are subscribed to the Google Groups
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/ocseis%24f8f%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.