Booting Xen directly from GRUB2 command line

210 views
Skip to first unread message

Duncan Guthrie

unread,
Nov 25, 2016, 7:37:26 PM11/25/16
to qubes...@googlegroups.com
Hej folks,
I have installed Grub2 as my Coreboot payload, and now I want to boot Qubes from a USB drive.
Since I haven't made any changes to Grub2's default config, I am trying to boot Qubes from the command line Grub provides.
I do the following:
set root=(usb0)
linux /isolinux/vmlinuz
initrd /isolinux/initrd.img
This is clearly wrong though as it boots without Xen, so when Qubes loads, the little bar only gets to halfway then it crashes into a rescue shell.
What I want to know is how I can boot Qubes from the Grub2 CLI then I can install it. I don't know the right commands.

D

Marek Marczykowski-Górecki

unread,
Nov 25, 2016, 7:43:26 PM11/25/16
to Duncan Guthrie, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Something like this (adjust exact filenames and kernel parameters):

multiboot /isolinux/xen.gz (xen options here)
module /isolinux/vmlinuz (kernel options here)
module /isolinux/initrd.img

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJYONqpAAoJENuP0xzK19cstgUH/0o/nXuS733HOaY8k6iOd+Eg
J5ShB7rSeqXtjVfCuFfVsMwr6nOVIpmp9Lyny/It2s6ro+Bzphuyld4egJ4So+XC
I6+5yupKSv5p9kPT7sEG8DSqOmMPFSP2hUg8RsRoaJQ+fs8GmJaZUwKLc+4Spu8i
Y+jx3uEy28Bt2W5za50K3Ox2IVyVV0vf8Vqj+0KEXBw3YzlESQtT2+Sh61Kbl2PJ
IpJJ4s1ij5+JzEvB4M3AZ3ic8uCBUF8/a0FDTemh67Zb4oFIC+K37uPmxR4W91cD
2DO8FVgfs5UhrT+kKEJxYXXK4Cz1Ggc1k0rFenDyP4H1WQEGitZMEuyTSrI89RI=
=O5cr
-----END PGP SIGNATURE-----

Tai...@gmx.com

unread,
Dec 5, 2016, 7:47:52 PM12/5/16
to Duncan Guthrie, qubes...@googlegroups.com
Just as a heads up you can load a grub config file with "configfile
(DRIVENAME,DRIVEPART)/blahblah/grub.cfg"

Great for testing pre-baking it in.
Reply all
Reply to author
Forward
0 new messages