On Thu, Jan 11, 2018 at 05:50:27PM -0600, Sven Semmler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 01/11/2018 07:15 AM, 'Blacklight447' via qubes-users wrote:
> > This issue described the lack of documentation how to multiboot
> > qubes. I have decided that i will be writing it, but as described
> > in the issue above, I need some user feedback.
>
> Great! Would you consider including instructions on how to multiboot
> between Qubes OS 3.2 (main system) and Qubes OS 4 (test/future system)?
>
> I'd love to test and play with 4RCx but need to have a stable
> environment for work (3.2).
>
> /Sven
>
It's really easy to do this Sven.
Install 4 with its own /boot and system partitions, leaving the 3.2
/boot as it is: Let's say the /boot for 3 is sda1 and for 4 is sda3.
Then you can either install grub to sda or to sda3.
If you do the former, then on restart you will boot in to Q4.
If the latter, then on restart you will boot in to Q3, as before.
In either case, mount the OTHER /boot partition and copy the section
from THE OTHER /boot/grub2/grub.cfg starting
"menuentry 'Qubes....' {
.
.
.
}
and paste it in to THIS /boot/grub2/grub.cfg in the section headed
### BEGIN /etc/grub.d/40_custom
(You MUST include the closing brace.)
You can edit the menuentry title so it's clear to which version it
relates. (e.g menuentry 'Qubes 4.0rc3').
On reboot you should now see the entry you've just inserted and be able
to boot that version.
Once you are happy, make the same change in /etc/grub.d/40_custom. If
you don't, your custom menu entry will disappear the next time you update
grub, perhaps with dom0 update.
I suggest you take a backup of /boot/grub2/grub.cfg before you start
editing. If it all goes pear shaped you can boot from a live distro and
copy the backup back into place.
unman