1 |
On 6/15/19 7:04 AM, Peter Humphrey wrote: |
2 |
> Hello list, |
3 |
|
4 |
Hi, |
5 |
|
6 |
> The main system on this box is ~amd64 plasma, but I also have a |
7 |
> small rescue system which is amd64, no desktop. I use bootctl from |
8 |
> systemd-boot to manage the UEFI images. |
9 |
|
10 |
I don't have much experience with UEFI. But I do have some thoughts. |
11 |
|
12 |
> My question is: how much of the bootctl-installed image is essential |
13 |
> for booting? In other words, if I install the ~amd64 kernel (5.1.9), |
14 |
> what effect will that have on booting the rescue system; and if |
15 |
> I install the amd64 kernel (4.19.44), what effect will it have on |
16 |
> booting the plasma system? |
17 |
|
18 |
I think it largely depends on where things are installed to. |
19 |
|
20 |
Do the different installs share a common /boot? Or do they have |
21 |
separate /boot partitions? |
22 |
|
23 |
I assume the other file systems are separate e.g. / (root), /home. |
24 |
|
25 |
> In practice, I install the ~amd64 kernel and hope it doesn't affect |
26 |
> the rescue system too much; and it seems not to. Could I do better? |
27 |
|
28 |
I don't know if it's better or not, but here's what I'd do. |
29 |
|
30 |
· I'd put each OS on it's own drive (if at all possible). |
31 |
· I'd have a separate /boot and / (root) for each OS. |
32 |
· I'd configure UEFI boot menu entries for each OS. |
33 |
|
34 |
That way, the only thing that's common between the OSs is the hardware |
35 |
and the UEFI. They are separate from the time that UEFI boot menu onward. |
36 |
|
37 |
I recommend the separate drives so that you can use the OS on the other |
38 |
drive to deal with a drive hardware issue. |
39 |
|
40 |
I /might/ be compelled to try to leverage the two drives for some swap |
41 |
optimization. I'd probably have a minimal amount of swap on the same |
42 |
drive as the OS and more swap on the other drive. That way each OS has |
43 |
some swap in the event that the other drive fails, yet still has more |
44 |
swap if the other drive is happy. So you benefit from the 2nd drive |
45 |
without being completely dependent on it. |