[opensuse] dual boot Suse's with current one encrypted?
Hello, maybe I'll give 15.1 a try. Question: can I install 15.1 without touching my /completely encrypted/ 42.3? I wouldn't use anything from 42.3 in the 15.1 which I first only want to test, so it would be completely independent (and at that moment not encrypted). I'd use a new, naked disk for this test install. Can I do this so that I can boot both, one or the other, without putting in danger my current install? Do I have to watch out for something special? Will the 15.1 installer automatically take care of the boot necessities for my current encrypted 42.3? Thanks for helping with my fears... -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2019-07-15 at 15:27 +0200, Daniel Bauer wrote:
Hello,
maybe I'll give 15.1 a try. Question: can I install 15.1 without touching my /completely encrypted/ 42.3?
I wouldn't use anything from 42.3 in the 15.1 which I first only want to test, so it would be completely independent (and at that moment not encrypted). I'd use a new, naked disk for this test install.
Can I do this so that I can boot both, one or the other, without putting in danger my current install? Do I have to watch out for something special? Will the 15.1 installer automatically take care of the boot necessities for my current encrypted 42.3?
Thanks for helping with my fears...
Yes, but the details depend on the details depend on the details of your current setup. For example, if your setup is UEFI, there is a UEFI menu (think of a bios menu) at boot that allows you to choose what to boot. How usable this is depends on the UEFI (aka BIOS). If this works for you, then you change noting on the existing setup - well, entries in /boot/EFI (see below). Otherwise, the typical road is to change something in the current grub menu. There are two methods. One is automatic. Run the "old" system, boot configuration, and allow probing for other systems (os-prober). An entry for the kernel of the other system will appear on next boot. Another is manual. Add an entry on "/boot/grub2/custom.cfg" that boots the grub in the second disk: menuentry '--> Another system' --id daniel-another-001 { insmod part_gpt insmod ext2 set root='hd0,gpt3' if search --no-floppy --fs-uuid --set=root 32392d31-... ; then chainloader +1 else echo Could not find this OS instance, will not boot (3) sleep 1 fi } You have to edit the 'hd0,gpt3' entry and the uuid to be correct. Ah, and "ext2". I typically allow os prober first to find out how it does it, then create my entries, then disable os-prober. On each change (or many changes) you have to run: grub2-mkconfig -o /boot/grub2/grub.cfg' About /boot/EFI. You have to change in the current setup the "name" of the system. Edit "/etc/default/grub". Search for the line GRUB_DISTRIBUTOR="" and write something, like for example "openSUSE_42.3". then run: grub2-mkconfig -o /boot/grub2/grub.cfg Do the same on every system you install (after install) to something different. By default it would be "opensuse" or similar, colliding with other new installs. - -- Cheers, Carlos E. R. (from openSUSE 15.0 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXS3L/Rwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVk+kAnipiDnvu9HTdAwjLMCfV V5y/tDQ5AKCG0dtkTd7zEuyiVmNn9w5x2II3YA== =b8t7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Carlos E. R.
-
Daniel Bauer