My primary OS is Ubuntu and it's likely to stay that way (I need 
vagrant/virtualbox for work), but I'd like to spend some time using Qubes when 
I can. 

In my ideal setup, my laptop would boot into Ubuntu by default, but have a grub 
entry to switch over to the Qubes bootloader on demand.

This setup isn't covered by https://www.qubes-os.org/doc/multiboot/ so I 
figured I'd give it a shot myself.

I installed Qubes, but elected not to make the install device bootable (since I 
want to keep Ubuntu in charge of booting). Then I found the Qubes bootloader 
partition at /dev/sda7 and attempted to add a chainloader entry to 
/etc/grub.d/40_custom like this:

menuentry "Qubes Chainloader" {
  insmod chain
  insmod ext2
  set root=(hd0,gpt7)
  chainloader /EFI/qubes/xen-4.6.1.efi
}

I can select 'Qubes Chainloader' at the grub menu, but it just flashes a 
message (I think it's something like "Loading xen-4.6.1.efi") for the briefest 
instant before dumping me back into grub. For what it's worth, I know it's at 
least finding the .efi file because it no longer complains that it can't.

TL/DR: what can I put in /etc/grub.d/40_custom to chainload the Qubes /boot 
partition at /dev/sda7?

-- 
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/b9c7e827-b344-4d01-8063-7e584acf4987%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to