Two de at dual boot under eos

I have installed kde as dual boot although xfce was my primary os. Unfortunately this leads to grub rescue in xfce. There is no entry of xfce in boot menu. Is there any way to run both de separately?

kde and xfce are desktop environments and are not bootedfrom grub. They are chosen at the login screen.

Please explain you problem with more details.

both are installed separately in two different partitions. xfce is renamed in efibootmgr.

should we try as grub-tool and os prober is removed in eos recently?

Boot into the system that you can boot into and post the output of the following commands:

sudo parted -l

efibootmgr -v

Do indicate which partitions contain which system.

2 Likes
Model: ATA WDC WD10EZEX-08W (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  1000GB  1000GB  ext4


Model: KINGSTON SA2000M8250G (nvme)
Disk /dev/nvme0n1: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system  Name                          Flags
 1      2097kB  317MB  315MB   fat32                                      boot, esp
 2      318MB   164GB  164GB   btrfs        root
 3      164GB   164GB  16.8MB               Microsoft reserved partition  msftres
 4      164GB   229GB  64.4GB  ntfs         Basic data partition          msftdata
 5      229GB   229GB  315MB   fat32                                      boot, esp
 6      229GB   250GB  21.2GB  btrfs

efibootmgr -v

BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0002,000E,0010,0006,0007,000F,0005,0004
Boot0000* endeavouros   HD(5,GPT,2830a395-8f97-0f44-beb0-a4624a8c4b4b,0x1a9c5800,0x96000)/File(\EFI\ENDEAVOUROS\GRUBX64.EFI)
      dp: 04 01 2a 00 05 00 00 00 00 58 9c 1a 00 00 00 00 00 60 09 00 00 00 00 00 95 a3 30 28 97 8f 44 0f be b0 a4 62 4a 8c 4b 4b 02 02 / 04 04 3e 00 5c 00 45 00 46 00 49 00 5c 00 45 00 4e 00 44 00 45 00 41 00 56 00 4f 00 55 00 52 00 4f 00 53 00 5c 00 47 00 52 00 55 00 42 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
Boot0002* Windows Boot Manager  HD(1,GPT,5cf147e7-93a4-694f-9846-b28b61b7a596,0x1000,0x96000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000068000100000010000000040000007fff0400
      dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 e7 47 f1 5c a4 93 4f 69 98 46 b2 8b 61 b7 a5 96 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 49 00 43 00 52 00 4f 00 53 00 4f 00 46 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 4d 00 47 00 46 00 57 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
    data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 68 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0004* Generic Usb Device    VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
      dp: 01 04 14 00 e7 75 e2 99 a0 75 37 4b a2 e6 c5 38 5e 6c 00 cb / 7f ff 04 00
Boot0005* CD/DVD Device VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
      dp: 01 04 14 00 e7 75 e2 99 a0 75 37 4b a2 e6 c5 38 5e 6c 00 cb / 7f ff 04 00
Boot0006* UEFI: PXE IPV4 Realtek PCIe GBE Family Controller     PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(a4ae122e80d5,0)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 1c / 01 01 06 00 00 00 / 03 0b 25 00 a4 ae 12 2e 80 d5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0c 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f
Boot0007* UEFI: PXE IPV6 Realtek PCIe GBE Family Controller     PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(a4ae122e80d5,0)/IPv6([::]:<->[::]:,0,0)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 1c / 01 01 06 00 00 00 / 03 0b 25 00 a4 ae 12 2e 80 d5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0d 3c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f
Boot000E* UEFI OS       HD(1,GPT,5cf147e7-93a4-694f-9846-b28b61b7a596,0x1000,0x96000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
      dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 e7 47 f1 5c a4 93 4f 69 98 46 b2 8b 61 b7 a5 96 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f
Boot000F* UEFI: JetFlashTranscend 16GB 1100, Partition 2        PciRoot(0x0)/Pci(0x14,0x0)/USB(6,0)/HD(2,MBR,0x80d3f34,0x1e26000,0x10000)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 06 00 / 04 01 2a 00 02 00 00 00 00 60 e2 01 00 00 00 00 00 00 01 00 00 00 00 00 34 3f 0d 08 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00
    data: 00 00 42 4f
Boot0010* UEFI OS       HD(5,GPT,2830a395-8f97-0f44-beb0-a4624a8c4b4b,0x1a9c5800,0x96000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
      dp: 04 01 2a 00 05 00 00 00 00 58 9c 1a 00 00 00 00 00 60 09 00 00 00 00 00 95 a3 30 28 97 8f 44 0f be b0 a4 62 4a 8c 4b 4b 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f

Boot0000 is newly installed kde. not showing xfce partition here. xfce is in 164gb partition.

I’ve tried arch-chroot and recovered xfce but this leads to boot failure of kde. What’s the issue. How to install both de as dual boot? Pls help

Could you post the content of /etc/default/grub from the system you are currently able to boot into?

:arrow_right: Please format the text you post: copy-paste-highlight and press Ctrl-E.

# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR="EndeavourOS"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=3 nowatchdog nvme_load=YES pci=noaer"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1920x1080

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME=/boot/grub/themes/EndeavourOS/theme.txt

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
GRUB_DISABLE_SUBMENU=y`Preformatted text`

Please run

sudo os-prober

and post the output.

dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

1 Like

I see two 164 GB partitions and both of these are Microsoft.

 3      164GB   164GB  16.8MB               Microsoft reserved partition  msftres
 4      164GB   229GB  64.4GB  ntfs         Basic data partition          msftdata

This one.

Oh okay i wasn’t sure because one say’s root and the other does not?

I don’t see any reason why the install wouldn’t show up except for user error on the install. Can’t the OP just arch-chroot on the kde install and reinstall and update grub?

I tried. Now xfce is vanished. I think naming in efibootmgr creating the issue.Both kde and xfce named as endeavouros in efibootmgr. can refind bootloader solve the problem??

You could name them differently if you wish by using: --bootloader-id=NAME in your grub-install command replacing NAME with whatever you wish.

However I don’t think that is the issue. os-prober seems not to be able to detect your other Linux install from the one or the other. I don’t know why.

Not sure if installing lsb-release could help but the case described in ArchWiki is different:

https://wiki.archlinux.org/title/GRUB#Arch_not_found_from_other_OS

rEFInd could also be an option or creating a custom.cfg in /boot/grub of the system you can boot into, containing the boot entry from the other one.

I don’t use rEFInd so I couldn’t be of much help there.

I have created 300MB fat32 for /boot/efi separately while installing 2nd DE. Can this be creating problem??

No, it shouldn’t.
Could you post:
efibootmgr -v
agai?

BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0002,0000,000E,0010,0006,0007,0011,0004,0005
Boot0000* endeavouros	HD(1,GPT,5cf147e7-93a4-694f-9846-b28b61b7a596,0x1000,0x96000)/File(\EFI\ENDEAVOUROS\GRUBX64.EFI)
      dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 e7 47 f1 5c a4 93 4f 69 98 46 b2 8b 61 b7 a5 96 02 02 / 04 04 3e 00 5c 00 45 00 46 00 49 00 5c 00 45 00 4e 00 44 00 45 00 41 00 56 00 4f 00 55 00 52 00 4f 00 53 00 5c 00 47 00 52 00 55 00 42 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
Boot0001* rEFInd Boot Manager	HD(1,GPT,5cf147e7-93a4-694f-9846-b28b61b7a596,0x1000,0x96000)/File(\EFI\REFIND\REFIND_X64.EFI)
      dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 e7 47 f1 5c a4 93 4f 69 98 46 b2 8b 61 b7 a5 96 02 02 / 04 04 3a 00 5c 00 45 00 46 00 49 00 5c 00 52 00 45 00 46 00 49 00 4e 00 44 00 5c 00 52 00 45 00 46 00 49 00 4e 00 44 00 5f 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
Boot0002* Windows Boot Manager	HD(1,GPT,5cf147e7-93a4-694f-9846-b28b61b7a596,0x1000,0x96000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000068000100000010000000040000007fff0400
      dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 e7 47 f1 5c a4 93 4f 69 98 46 b2 8b 61 b7 a5 96 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 49 00 43 00 52 00 4f 00 53 00 4f 00 46 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 4d 00 47 00 46 00 57 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
    data: 57 49 4e 44 4f 57 53 00 01 00 00 00 88 00 00 00 78 00 00 00 42 00 43 00 44 00 4f 00 42 00 4a 00 45 00 43 00 54 00 3d 00 7b 00 39 00 64 00 65 00 61 00 38 00 36 00 32 00 63 00 2d 00 35 00 63 00 64 00 64 00 2d 00 34 00 65 00 37 00 30 00 2d 00 61 00 63 00 63 00 31 00 2d 00 66 00 33 00 32 00 62 00 33 00 34 00 34 00 64 00 34 00 37 00 39 00 35 00 7d 00 00 00 68 00 01 00 00 00 10 00 00 00 04 00 00 00 7f ff 04 00
Boot0004* Generic Usb Device	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
      dp: 01 04 14 00 e7 75 e2 99 a0 75 37 4b a2 e6 c5 38 5e 6c 00 cb / 7f ff 04 00
Boot0005* CD/DVD Device	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
      dp: 01 04 14 00 e7 75 e2 99 a0 75 37 4b a2 e6 c5 38 5e 6c 00 cb / 7f ff 04 00
Boot0006* UEFI: PXE IPV4 Realtek PCIe GBE Family Controller	PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(a4ae122e80d5,0)/IPv4(0.0.0.00.0.0.0,0,0)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 1c / 01 01 06 00 00 00 / 03 0b 25 00 a4 ae 12 2e 80 d5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0c 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f
Boot0007* UEFI: PXE IPV6 Realtek PCIe GBE Family Controller	PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(a4ae122e80d5,0)/IPv6([::]:<->[::]:,0,0)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 1c / 01 01 06 00 00 00 / 03 0b 25 00 a4 ae 12 2e 80 d5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0d 3c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f
Boot000E* UEFI OS	HD(1,GPT,5cf147e7-93a4-694f-9846-b28b61b7a596,0x1000,0x96000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
      dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 e7 47 f1 5c a4 93 4f 69 98 46 b2 8b 61 b7 a5 96 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f
Boot0010* UEFI OS	HD(5,GPT,2830a395-8f97-0f44-beb0-a4624a8c4b4b,0x1a9c5800,0x96000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
      dp: 04 01 2a 00 05 00 00 00 00 58 9c 1a 00 00 00 00 00 60 09 00 00 00 00 00 95 a3 30 28 97 8f 44 0f be b0 a4 62 4a 8c 4b 4b 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
    data: 00 00 42 4f
Boot0011* UEFI: JetFlashTranscend 16GB 1100, Partition 2	PciRoot(0x0)/Pci(0x14,0x0)/USB(6,0)/HD(2,MBR,0x80d3f34,0x1e26000,0x10000)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 06 00 / 04 01 2a 00 02 00 00 00 00 60 e2 01 00 00 00 00 00 00 01 00 00 00 00 00 34 3f 0d 08 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00
    data: 00 00 42 4f
1 Like

I see you have installed and are using rEFInd. I am afraid I am not experienced with it.
I know many forum members use it so perhaps they could assist you to configure it to get your multiboot system up and running. Good luck!