[resolved] Dual boot Arch and EndeavourOS on sda and sdb broke

I’ve been reading a bit about os-prober. This quote caught me

Since every version of linux does things slightly differently, this is no mean feat, techniques used include parsing /etc/fstab, rummaging around in /boot, parsing grub menu.lst files, etc.

So I checked my Arch fstab and it’s bogus! I accumulated comments that just cause potential errors with parsing.

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# UUID=c6a6300e-f0cc-410c-99fb-861a4d014a82 LABEL=Arch_root
/dev/sdb7           	/         	ext4      	rw,relatime,data=ordered	0 1
#original sdb6 not swap
#/dev/sdb6 none swap defaults 0 0
/dev/sdb5 none swap defaults 0 0

the UUID line is correct but commented. /dev/sdb7 is wrong swap is correct. How did this work?

Should I edit it to: (edited again using UUID)

# 
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
#
UUID=c6a6300e-f0cc-410c-99fb-861a4d014a82   /   ext4        rw,relatime,data=ordered        0 1
UUID=cb512c15-b12f-4330-be81-07bfbd596992  none  swap  defaults 0 0

I see comparing Eos fstab swap is not listed ???

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=d65191dc-5320-4ec4-9e3b-9f8455fc4f11 /              ext4    defaults,noatime 0 1

:thinking: