You are not logged in.

#1 2025-08-21 15:25:01

gabx
Member
From: Geneva, Switzerland
Registered: 2011-11-20
Posts: 219
Website

[SOLVED]Dual boot arch and fydeos with systemd-boot

I boot archlinux with systemd-boot. I want to dual boot with FydeOS.
I have 3 partition on my drive: 1 EFI system for boot (/dev/sda1) and 2 linux filesystems for arch (/dev/sda2) and fydeOS (/dev/sda3).
Below is my arch boot parition

tree /boot
/boot
├── EFI
│   ├── BOOT
│   │   └── BOOTX64.EFI
│   ├── fydeos
│   │   ├── bootx64.efi
│   │   ├── grub.cfg
│   │   └── os_fydeos.png
│   ├── Linux
│   └── systemd
│       └── systemd-bootx64.efi
├── initramfs-linux-fallback.img
├── initramfs-linux.img
├── loader
│   ├── entries
│   │   └── arch.conf
│   ├── entries.srel
│   ├── keys
│   ├── loader.conf
│   └── random-seed
└── vmlinuz-linux

When I installed fydeOS from USB key, I had 3 choices for dual booting:

  1. installing refind (I said no)

  2. adding a menu entry (I said yes)

  3. do nothing, I will deal by myself latter

I told the installer to use first partition (/dev/sda1) to install boot files.

Unfortunately, after install was finished, when I rebooted, no entry was found on my systemd-boot menu.
Below is the boot directory I found when mounting the fydeOS partition

# mount /dev/sda3 /mnt/fydeOS
# ls /mnt/fydeOS
drwx--x--x 2 root root 4,0K 21 août  15:33 boot/
drwx--x--x 2 root root 4,0K 21 août  15:33 fydeos/
drwx------ 2 root root  16K 21 août  15:32 lost+found/
# tree /mnt/fydeos/boot
/mnt/fydeos/boot
├── core_util_ramfs.cpio
├── dual_boot_ramfs.cpio
├── fydeos_vmlinuzA -> vmlinuz-15886.67.19.12
├── fydeos_vmlinuzB -> vmlinuz-15886.67.19.12
└── vmlinuz-15886.67.19.12
----------------------
and I found this entry in my archlinux filesystem:
# tree /boot
/boot
├── EFI
│   ├── BOOT
│   │   └── BOOTX64.EFI
│   ├── fydeos  <---------
│   │   ├── bootx64.efi
│   │   ├── grub.cfg
│   │   └── os_fydeos.png
│   ├── Linux
│   └── systemd
│       └── systemd-bootx64.efi

Is it a good idea to manually copy the correct boot files from fydeOS to my boot partition (fydeOS kernel update will be an issue in such a case) ? If yes, which files and where?
Or safest is to install again and say yes to install refind, as according some posts it works and refind will offer the menu with arc, fudeOS and firmware.
Thank you for help.

Last edited by gabx (2025-11-02 12:33:48)

Offline

#2 2025-11-02 12:33:27

gabx
Member
From: Geneva, Switzerland
Registered: 2011-11-20
Posts: 219
Website

Re: [SOLVED]Dual boot arch and fydeos with systemd-boot

Here is what I did to dual boot FydeOS with arch linux.
Arch was first installed and boot with systemd-boot. My ESP partition is /boot.

  • installed fydeos from USB key as described in their wiki. My partition for fydeos is /dev/sda3. Change it according to your system

  • # mount /dev/sda3 /mnt
  • # cp /mnt/boot/vmlinuz-15886.67.19.12 /boot
  • # cp /mnt/boot/core_util_ramfs.cpio /boot
  • # vim /boot/loader/entries/fydeos.conf
    title        Fydeos
    sort-key     fydeos
    machine-id   XXXXXXXXX
    linux        /vmlinuz-15886.67.19.12
    initrd       /dual_boot_ramfs.cpio
    options      root=UUID=XXXXXXXX rootflags=subvol=/@
    architecture x64

    Please take note that my rootflags argument take into account I use a BTRF subvolume for /dev/sda3. Change this line according to your set up.

Et voilà, you should see a new Fydeos entry on the next boot menu.

Offline

Board footer

Powered by FluxBB