The officially official Devuan Forum!

You are not logged in.

#1 2022-10-05 19:07:52

Devarch
Member
Registered: 2022-10-03
Posts: 32  

2 installations alongside - EFI

I've decided to install chimaera alongside daedalus.

Both installation have been made by converting debian installation.
The problem is that folder "debian" already existed in the 1th EFI partition.
Now I can not boot daedalus.

I have copied "debian" folder from efi partition before install to backup. I tried to copy it in EFI with different name, but it boot the new install "chimaera"!

How can I  restore it?

The disk layout is:
EFI   Boot-Chimaera(grub)   Boot-Daedalus(grub)   Luks-Chimaera   Luks-Daedalus

The boot manager is refind

Last edited by Devarch (2022-10-05 19:10:04)

Offline

#2 2022-10-05 19:39:49

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,737  

Re: 2 installations alongside - EFI

Devarch wrote:

Now I can not boot daedalus.

Why not? What happens when you try? What do you see?

Devarch wrote:

The boot manager is refind

Please post your rEFInd configuration(s) and also the full output of

efibootmgr -uv

"Who's the idiot in charge?" — ralph.ronnquist

Offline

#3 2022-10-05 20:02:48

rolfie
Member
Registered: 2017-11-25
Posts: 708  

Re: 2 installations alongside - EFI

The default efi entry is called debian. As long as you work without Secure Boot, you may boot your install media in rescue mode and write individual efi entries for your installations, e.g.:

# grub-install --bootloader-id=devuan4 --no-uefi-secure-boot

I have used devuan4 for Chimaera and devuan5 for Daedalus.

Offline

#4 2022-10-05 20:11:48

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,737  

Re: 2 installations alongside - EFI

@rolfie: the OP is not using GRUB. Well, not directly anyway.

Last edited by Head_on_a_Stick (2022-10-05 20:12:39)


"Who's the idiot in charge?" — ralph.ronnquist

Offline

#5 2022-10-05 20:18:19

Devarch
Member
Registered: 2022-10-03
Posts: 32  

Re: 2 installations alongside - EFI

Head_on_a_Stick wrote:
Devarch wrote:

Now I can not boot daedalus.

Why not? What happens when you try? What do you see?

Devarch wrote:

The boot manager is refind

Please post your rEFInd configuration(s) and also the full output of

efibootmgr -uv

Before I had windows (on veracrypt), daedalus and space for other linux to test: 1 partition for boot and one for encrypted root. In my very first partition, EFI partition I had many folders: refind, debian (which means devuan). When I installed ubuntu I had ubuntu folder and the same name appeared in refind's menu.
All my devuan installation are made from debian, so the folder name is debian.
So, I've installed one more debian, converted it to chimaera and all of this alongside daedalus.

Now I cannot boot daedalus. All my important staf is in daedalus. Boot partition is ok, luks with daedalus is ok. I also had old folder EFI/debian. I've renamed this folder and put it in /EFI/daedalus. It did not help. I've installed refind again and got the same result.

# efibootmgr -uv
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,DC5B,0000,0002
Boot0000* Windows Boot Manager    HD(1,GPT,b152e14e-61f7-4570-b496-29920c69a074,0x800,0x200000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)䥗䑎坏S
Boot0002* debian    HD(1,GPT,b152e14e-61f7-4570-b496-29920c69a074,0x800,0x200000)/File(\EFI\DEBIAN\SHIMX64.EFI)
Boot0003* rEFInd Boot Manager    HD(1,GPT,b152e14e-61f7-4570-b496-29920c69a074,0x800,0x200000)/File(\EFI\REFIND\REFIND_X64.EFI)
BootDC5B* VeraCrypt BootLoader (DcsBoot)    HD(1,GPT,b152e14e-61f7-4570-b496-29920c69a074,0x800,0x200000)/File(\EFI\VERACRYPT\DCSBOOT.EFI)

Changed boot menu in bios from refind to hard drive - the same

Offline

#6 2022-10-05 20:19:37

Devarch
Member
Registered: 2022-10-03
Posts: 32  

Re: 2 installations alongside - EFI

rolfie wrote:

The default efi entry is called debian. As long as you work without Secure Boot, you may boot your install media in rescue mode and write individual efi entries for your installations, e.g.:

# grub-install --bootloader-id=devuan4 --no-uefi-secure-boot

I have used devuan4 for Chimaera and devuan5 for Daedalus.

Where should I do it? in chimaera (the only which boots)?

Offline

#7 2022-10-05 20:38:10

Devarch
Member
Registered: 2022-10-03
Posts: 32  

Re: 2 installations alongside - EFI

I have tried this solution: copy old "debian" to EFI as "daedalus" than
efibootmgr --create --disk=/dev/nvme0n1 --part=1 --label="daedalus" --loader='EFI\daedalus\shimx64.efi'

It appears in refind menu and it boots new chimaera!

Offline

#8 2022-10-07 20:54:11

rolfie
Member
Registered: 2017-11-25
Posts: 708  

Re: 2 installations alongside - EFI

Devarch wrote:
rolfie wrote:

The default efi entry is called debian. As long as you work without Secure Boot, you may boot your install media in rescue mode and write individual efi entries for your installations, e.g.:

# grub-install --bootloader-id=devuan4 --no-uefi-secure-boot

I have used devuan4 for Chimaera and devuan5 for Daedalus.

Where should I do it? in chimaera (the only which boots)?

Well, thats an approach that works with grub. I have no idea about rEFIne, never used it. And yes, the first and easiest to do would be to start with Chimaera and define an individual name for this version.
In a second step, I would try to boot the Daedalus install media, select rescue mode, select the partitions for Daedalus for a chroot environment, and use the above approach to define a new name for the Daedalus installation. Then it is easily possible to boot either Chimaera or Daedalus with grub, whatever you like.

Offline

Board footer