2.2 KiB
grub
old hp Partition name: archcraft │ │ Partition UUID: 29EF9697-4189-48F2-830A-2A4DCC8AEE40 │ │ Partition type: Linux filesystem (0FC63DAF-8483-4772-8E79-3
Partition UUID: 67570847-3D7F-421F-9C04-13BBE306F866 │ │ Partition type: Linux swap (0657FD6D-A4AB-43C4-84E5-0933C84B4F4F) │ │Filesystem UUID: 0c9b4784-84b0-437a-b50a-8544cc569e18 │ └─────────────────────────────────────────────────────────────
Ubuntu Partition UUID: 945D0C81-1B6A-42F7-B517-6FD37E8EA9DA │ │ Partition type: Linux filesystem (0FC63DAF-8483-4772-8E79-3D69D8477DE4) │ │Filesystem UUID: eee3ebe8-2bcc-43c1-b8db-5e627635417b
Arch Partition UUID: C604A90F-30C0-4C55-933C-FF51320B83EC │ │ Partition type: Linux root (x86) (44479540-F297-41B2-9AF7-D131D5F0458A) │ │Filesystem UUID: b0425c17-5b5e-49cf-bbbc-f2d959fac780
Learning:
-
add distro to grub https://www.youtube.com/watch?v=okYxL7f1VYs make sure that os-prober is enabled in
/etc/default/grubuncomment following line yo enable itGRUB_DISABLE_OS_PROBER=falseNow runsudo os-proberit will list other distro but not the current one. Make sire that other distros are mounted finally usesudo grub-mkconfig -o /boot/grub/grub/cfgto update grub menu -
remove systemd-boot
bootctl remove -
lsblk -o name,type,uuidhttps://www.reddit.com/r/archlinux/comments/tqzodn/other_distros_not_detect_after_fresh_installation/ manual way
menuentry "Ubuntu" {
# assuming that UUID is 763A-9CB6
search --no-floppy --set=root --fs-uuid eee3ebe8-2bcc-43c1-b8db-5e627635417b
# search by label OTHER_LINUX (make sure that partition label is unambiguous)
#search --no-floppy --set=root --label OTHER_LINUX
linux /boot/vmlinuz root=UUID=eee3ebe8-2bcc-43c1-b8db-5e627635417b
#initrd /boot/initrd.img (if the other kernel uses/needs one)
initrd /boot/amd-ucode.img /boot/initramfs-linux-lts.img
}