On Fri, 2026-10-23 at 15:54 +0200, [email protected] wrote:
> When I boot the previous system it says: no such device: SOME_UUID  
> (uuid of the boot partition)
> /vmlinuz-linux not found

Hi,

either your automatically generated grub.cfg or the the one you added
manually contains an incorrect UUID. I recommend editing grub.cfg
manually. Find out what the correct UUID is, or label the partitions as
I did, and edit the grub.cfg by hand.

I’ve attached my (nearly perfect ;) grub.cfg. Admittedly, the way I
handle the microcode is obsolete—, see the wiki link for more on that.

https://wiki.archlinux.org/title/Microcode

$ cat grub.cfg
play 1920 440 1 0 1 880 2 0 1 880 1 0 1 440 2
set timeout=60
set color_normal=light-gray/black
set color_highlight=white/light-gray
set menu_color_normal=light-gray/black
set menu_color_highlight=white/light-gray
set default="1"
insmod efi_gop

menuentry " -- HAL 9000-m1 
-----------------------------------------------------------------" {
        true
}

menuentry "    MemTest86 V11+ Free" {
        search --set=root --no-floppy --fs-uuid 3F5B-F698
        chainloader /EFI/memtest86/memtestx64.efi
}

menuentry " -- Arch Linux 
------------------------------------------------------------------" {
        true
}

menuentry "    Arch Linux threadirqs" {
        search --no-floppy --set=root --label m1.archlinux
        linux /boot/vmlinuz-linux root=/dev/disk/by-label/m1.archlinux ro 
threadirqs ipv6.disable=1 kvm.enable_virt_at_load=0
        initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}

menuentry "    Arch Linux no zswap, no transparent hugepages" {
        search --no-floppy --set=root --label m1.archlinux
        linux /boot/vmlinuz-linux root=/dev/disk/by-label/m1.archlinux ro 
ipv6.disable=1 kvm.enable_virt_at_load=0 zswap.enabled=0 
transparent_hugepage=never 
        initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}

menuentry "    Arch Linux" {
        search --no-floppy --set=root --label m1.archlinux
        linux /boot/vmlinuz-linux root=/dev/disk/by-label/m1.archlinux ro 
ipv6.disable=1 kvm.enable_virt_at_load=0 
        initrd /boot/intel-ucode.img /boot/initramfs-linux.img
}

menuentry "    Arch Linux Longterm" {
        search --no-floppy --set=root --label m1.archlinux
        linux /boot/vmlinuz-linux-lts root=/dev/disk/by-label/m1.archlinux ro 
ipv6.disable=1 kvm.enable_virt_at_load=0
        initrd /boot/intel-ucode.img /boot/initramfs-linux-lts.img
}

menuentry "    Arch Linux Rt" {
        search --no-floppy --set=root --label m1.archlinux
        linux /boot/vmlinuz-linux-rt root=/dev/disk/by-label/m1.archlinux ro 
ipv6.disable=1 kvm.enable_virt_at_load=0
        initrd /boot/intel-ucode.img /boot/initramfs-linux-rt.img
}

menuentry " -- Other Linux 
-----------------------------------------------------------------" {
        true
}

menuentry "    Alpine Linux" {
        search --no-floppy --set=root --label m1.alpine
        linux   /boot/vmlinuz-lts root=/dev/disk/by-label/m1.alpine ro 
modules=ext4
        initrd  /boot/initramfs-lts
}

menuentry "    Xubu 20.04 Linux 6.2.9-custom" {
        search --no-floppy --set=root --label m1.xubu20.04
        linux   /boot/vmlinuz-6.2.9-custom root=/dev/disk/by-label/m1.xubu20.04 
ro
        initrd  /boot/initrd.img-6.2.9-custom
}

menuentry "    Ubuntu X Moon Studio lowlatency" {
        search --no-floppy --set=root --label m1.archlinux
        linux   /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency 
root=/dev/disk/by-label/moonstudio ro
        initrd  /.boot/ubuntu_moonstudio/boot/initrd.img-lowlatency
}

submenu "    *buntu            -- Submenu --" {
    menuentry "    Xubu 20.04 Linux 6.2.9-custom     (recovery mode)" {
            search --no-floppy --set=root --label m1.xubu20.04
            linux       /boot/vmlinuz-6.2.9-custom 
root=/dev/disk/by-label/m1.xubu20.04 ro recovery nomodeset 
            initrd      /boot/initrd.img-6.2.9-custom
    }
    menuentry "    Xubu 20.04 Linux 5.4.0-42-generic" {
            search --no-floppy --set=root --label m1.xubu20.04
            linux       /boot/vmlinuz-5.4.0-42-generic 
root=/dev/disk/by-label/m1.xubu20.04 ro
            initrd      /boot/initrd.img-5.4.0-42-generic
    }
    menuentry "    Xubu 20.04 Linux 5.4.0-42-generic (recovery mode)" {
            search --no-floppy --set=root --label m1.xubu20.04
            linux       /boot/vmlinuz-5.4.0-42-generic 
root=/dev/disk/by-label/m1.xubu20.04 ro recovery nomodeset 
            initrd      /boot/initrd.img-5.4.0-42-generic
    }

    menuentry "    Ubuntu X Moon Studio liquorix threadirqs" {
            search --no-floppy --set=root --label m1.archlinux
            linux   /.boot/ubuntu_moonstudio/boot/vmlinuz-liquorix 
root=/dev/disk/by-label/moonstudio ro threadirqs
            initrd  /.boot/ubuntu_moonstudio/boot/initrd.img-liquorix
    }
}

menuentry " -- System 
----------------------------------------------------------------------" {
        true
}

menuentry "    UEFI Firmware Settings" --id 'uefi-firmware' {
        fwsetup
}

menuentry "    Restart" {
        reboot
}

menuentry "    Shutdown" {
        halt
}

menuentry " 
--------------------------------------------------------------------------------"
 {
        true
}

Reply via email to