External HDD not bootable after install

This is not directly related to UEFI, but I couldn’t find any better category for this.

I have an external USB HDD with several partitions containing Linux distributions (let’s suppose it is /dev/sdb; for details see end of this post). I’ve installed grub to /dev/sdb so that I had a menu with these OSes when booting from that drive.

It was booting ok until I recently tried to install Manjaro 21 to one of the partitions, replacing the old version. Installation went ok until the bootloader installation - it failed, probably due to some UEFI / Legacy conflict. I re-installed Manjaro again, this time taking care everything is in Legacy mode. The installation was successful, including the bootloader.

But since then, the drive was no more bootable. Booting ended up in grub rescue prompt, and I wasn’t able to boot any OS even with the use of ls, set root, set prefix etc. commands.

So I booted in my main Manjaro installation (from the internal HDD) and tried to re-install grub on /dev/sdb using the chroot or --root-directory methods. All commands, including grub-install and update-grub, completed without errors, and all OSes were detected correctly. However it did not help, the external HDD was not bootable and ended up in grub rescue as before.

Next, I tried to re-install grub to the internal /dev/sda, with external HDD connected. Again, there were no errors, all OSes were detected, and after reboot (from the internal drive), the boot menu appeared with the expected items. But when selecting one (any) of the OSes on the external HDD, boot failed and ended with errors “No such partition…”, “No such device…” and “Boot kernel first”. However, the UUID reported by “No such partition…” error is the correct UUID as reported by lsblk -f.

I also ran the FixParts utility. It corrected some values, but it did not fix the problem.

I might have forgotten some steps I’ve done, as I didn’t expect the problem would be so difficult to me and I didn’t put down notes. Usually reinstalling grub from other working Linux helped, and I expected it would do in this case too.

What am I doing wrong? Is there a way to make the external drive boot again…?

Edit - additional info: The partitions can still be mounted from a working Linux, and the files can be read normally.

Details on the disk partitioning:
The disk has one NTFS primary partition sdb1 (just data, no OS) and one extended partition sdb2. Within, there are logical partitions, and sdb6 - sdb10 contain Linux installations.

fdisk listing:

Disk /dev/sdb: 465,78 GiB, 500107861504 bytes, 976773167 sectors
Disk model: M3 Portable     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x000382ed

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1              64 507512824 507512761   242G  7 HPFS/NTFS/exFAT
/dev/sdb2       507514879 976766975 469252097 223,8G  f W95 Ext'd (LBA)
/dev/sdb5       507514880 508563455   1048576   512M  c W95 FAT32 (LBA)
/dev/sdb6       508565504 572192767  63627264  30,3G 83 Linux
/dev/sdb7  *    572194816 629909503  57714688  27,5G 83 Linux
/dev/sdb8       629911552 683313151  53401600  25,5G 83 Linux
/dev/sdb9       683315200 749049855  65734656  31,4G 83 Linux
/dev/sdb10      749051904 817709055  68657152  32,8G 83 Linux
/dev/sdb11      817711104 952172543 134461440  64,1G 83 Linux
/dev/sdb12      952174592 976766975  24592384  11,7G 82 Linux swap / Solaris

Partition 2 does not start on physical sector boundary.

Thanks for help.

this is a MBR partitions , you are using extented partitions ,
Calamares manjaro install do not support extented partitions MBR

Well, I’d expect the installer would report an error, if it was the case. If it says it installed everything successfully, but it actually silently breaks the partitions, then I should report a bug, shouldn’t I?

Yes, please do upstream here:crossed_fingers:

Therefore, I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.

However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or :heart: or :+1: if you agree)

:innocent:
P.S. In the future, please don’t forget to come back to your question after your issue has been solved and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
Solution
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

Hello @Fabby, I’d like to send you a PM, as you suggested, but I don’t know how. They say I should click your avatar and then an envelope icon, but I can’t see any envelope or anything similar… Also if I go to the Messages page, I can’t see anything like “Compose new message” or so…

Solution removed. (I suppose that’s what you wanted?)

  • If yes: how can we help?
  • If no: what were you trying to convene?

:thinking:

Well, what I mean is that Stephane’s answer is perhaps an explanation of the cause of the problem.
However, it does not solve the problem in the sense that it does not say how to recover from the failed installation so that the other OSes could be booted again.

I am also not sure if the statement that Calamares do not support extended partition is a well-known fact or if is it just Stephane’s personal opinion. :slight_smile:

The question might also be interesting for those who have an older Manjaro installed in an extended partition (as it was perfectly possible before, I have MJ18 running in an extended partition myself) and are considering an upgrade to the new MJ version without reformatting the disk. (But it was not the original question and should be moved to a new thread, I guess.)

  1. Please read this:
    How to provide good information
    and give us more information so we can see what’s really going on.
    Now we know the symptom of the disease, but we need some more probing to know where the origin lies… :grin:
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

:+1:

P.S. If you want to notify me that you did provide this information, please :heart: this message and I’ll come back and have another look.
P.P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which exact CPU/GPU or Kernel, … you have without typing it every time

Dear @Fabby, I fully understand you want people to follow the basic guidelines you refer to, nevertheless I am not sure how should I follow them - my problem is that my external HDD does not boot. So no Linux running. Which system should I run the suggested commands from? My main running system (installed on internal HDD)? But I have no problem with this one…
Please clarify what you expect me to do.

Boot the Manjaro USB you used to install the system and provide the info from there.

:crossed_fingers:

1 Like

Hello, below is the output of the requested inxi command (from running live USB Manjaro), with the external HDD in question (/dev/sdc) connected.

Manajro version: 21.1.4
Calamares version: 3.2.44-2

Please let me know what else is needed.

  Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC 
  misobasedir=manjaro misolabel=MANJARO_KDE_2114 quiet systemd.show_status=1 
  apparmor=1 security=apparmor driver=free nouveau.modeset=1 i915.modeset=1 
  radeon.modeset=1 
  Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: Hewlett-Packard product: HP ProBook 430 G2 
  v: A3008DD10B03 serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: Hewlett-Packard model: 2246 v: KBC Version 67.22 serial: <filter> 
  BIOS: Hewlett-Packard v: M74 Ver. 01.03 date: 07/07/2014 
Battery:
  ID-1: BAT0 charge: 38.4 Wh (100.0%) condition: 38.4/38.4 Wh (100.0%) 
  volts: 16.7 min: 14.6 model: Hewlett-Packard Primary type: Li-ion 
  serial: <filter> status: Full 
Memory:
  RAM: total: 3.71 GiB used: 2.24 GiB (60.3%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Dual Core model: Intel Core i3-4030U bits: 64 type: MT MCP 
  arch: Haswell family: 6 model-id: 45 (69) stepping: 1 microcode: 26 cache: 
  L2: 3 MiB bogomips: 15171 
  Speed: 798 MHz min/max: 800/1900 MHz Core speeds (MHz): 1: 798 2: 1067 
  3: 1134 4: 835 
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2 bts 
  clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm 
  dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase 
  fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce md_clear mmx 
  monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm 
  pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp rep_good 
  sdbg sep smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 
  tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xsave 
  xsaveopt xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Hewlett-Packard 
  driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0a16 class-ID: 0300 
  Device-2: Chicony HP HD Webcam type: USB driver: uvcvideo bus-ID: 2-7:5 
  chip-ID: 04f2:b3c8 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: modesetting alternate: fbdev,vesa display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
  s-diag: 414mm (16.3") 
  Monitor-1: eDP-1 res: 1366x768 hz: 60 dpi: 118 size: 293x165mm (11.5x6.5") 
  diag: 336mm (13.2") 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) 
  v: 4.5 Mesa 21.2.2 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0a0c 
  class-ID: 0403 
  Device-2: Intel 8 Series HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9c20 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.37 running: yes 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus-ID: 08:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp8s0 state: down mac: <filter> 
  Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter 
  vendor: Hewlett-Packard driver: rtl8723be v: kernel port: 3000 
  bus-ID: 09:00.0 chip-ID: 10ec:b723 class-ID: 0280 
  IF: wlo1 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 
  bus-ID: 2-4:3 chip-ID: 0bda:b001 class-ID: e001 serial: <filter> 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 945.98 GiB used: 0 KiB (0.0%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ02ABF050H 
  size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  type: HDD rpm: 5400 serial: <filter> rev: 1C scheme: MBR 
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: A-Data model: USB Flash Drive 
  size: 14.45 GiB block-size: physical: 512 B logical: 512 B type: SSD 
  serial: <filter> rev: 1100 scheme: MBR 
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Seagate model: M3 Portable 
  size: 465.76 GiB block-size: physical: 4096 B logical: 512 B type: N/A 
  serial: <filter> rev: 0708 scheme: MBR 
  Message: No optical or floppy data found. 
Partition:
  Message: No partition data found. 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 350 MiB fs: ntfs label: System Reserved 
  uuid: 66ACEDC8ACED92BB 
  ID-2: /dev/sda2 maj-min: 8:2 size: 142.97 GiB fs: ntfs label: N/A 
  uuid: F65AF2655AF221D3 
  ID-3: /dev/sda3 maj-min: 8:3 size: 2 GiB fs: vfat label: HP_TOOLS 
  uuid: CE9A-A895 
  ID-4: /dev/sda4 maj-min: 8:4 size: 1 KiB fs: <superuser required> label: N/A 
  uuid: N/A 
  ID-5: /dev/sda5 maj-min: 8:5 size: 160.22 GiB fs: ext4 label: LM17 
  uuid: c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0 
  ID-6: /dev/sda6 maj-min: 8:6 size: 160.22 GiB fs: ext4 label: Manjaro 
  uuid: 622e967a-f6a6-4d41-be77-4f6b7e6805c8 
  ID-7: /dev/sdb1 maj-min: 8:17 size: 3.23 GiB fs: iso9660 
  ID-8: /dev/sdb2 maj-min: 8:18 size: 4 MiB fs: vfat label: MISO_EFI 
  uuid: FC82-4342 
  ID-9: /dev/sdc1 maj-min: 8:33 size: 242 GiB fs: ntfs label: Maxtor 
  uuid: CAE42780E4276DBF 
  ID-10: /dev/sdc10 maj-min: 8:42 size: 32.74 GiB fs: ext4 label: LM19 
  uuid: 93af51cd-319f-4f50-880d-07b218375405 
  ID-11: /dev/sdc11 maj-min: 8:43 size: 64.12 GiB fs: ext4 label: LinuxData 
  uuid: ff920d5c-458a-4737-9c6f-8f402c119b01 
  ID-12: /dev/sdc12 maj-min: 8:44 size: 11.73 GiB fs: swap label: N/A 
  uuid: e070a2b5-0ce4-4d9c-9831-242ddbdffd18 
  ID-13: /dev/sdc2 maj-min: 8:34 size: 1 KiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-14: /dev/sdc5 maj-min: 8:37 size: 512 MiB fs: vfat label: N/A 
  uuid: FEB2-1803 
  ID-15: /dev/sdc6 maj-min: 8:38 size: 30.34 GiB fs: ext4 label: N/A 
  uuid: d70011e7-e33d-4f26-9d9a-49386549ec9d 
  ID-16: /dev/sdc7 maj-min: 8:39 size: 27.52 GiB fs: ext4 label: Ubuntu 
  uuid: 72d784aa-adaf-4945-831e-97a80bad1f0e 
  ID-17: /dev/sdc8 maj-min: 8:40 size: 25.46 GiB fs: ext4 label: Xubuntu 
  uuid: 170e713d-7b77-4807-bd2e-bdc1e70eddd9 
  ID-18: /dev/sdc9 maj-min: 8:41 size: 31.34 GiB fs: ext4 label: Betsy 
  uuid: f9308e89-6284-4827-bbdf-f397d378f1aa 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:8000 class-ID: 0900 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 9 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 2-4:3 info: Realtek Bluetooth Radio type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.1 speed: 12 Mb/s power: 500mA chip-ID: 0bda:b001 
  class-ID: e001 serial: <filter> 
  Device-2: 2-5:4 info: Validity Sensors VFS495 Fingerprint Reader 
  type: <vendor specific> driver: N/A interfaces: 1 rev: 1.1 speed: 12 Mb/s 
  power: 100mA chip-ID: 138a:003f class-ID: ff00 serial: <filter> 
  Device-3: 2-7:5 info: Chicony HP HD Webcam type: Video driver: uvcvideo 
  interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04f2:b3c8 
  class-ID: 0e02 serial: <filter> 
  Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Device-1: 3-1:3 info: Seagate RSS LLC M3 Portable type: Mass Storage 
  driver: uas interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 896mA 
  chip-ID: 0bc2:61b3 class-ID: 0806 serial: <filter> 
  Device-2: 3-2:2 info: A-DATA ADATA USB Flash Drive type: Mass Storage 
  driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 504mA 
  chip-ID: 125f:dd4a class-ID: 0806 serial: <filter> 
Sensors:
  System Temperatures: cpu: 48.0 C mobo: 0.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 204 Uptime: 22m wakeups: 1 Init: systemd v: 249 tool: systemctl 
  Compilers: gcc: N/A Packages: pacman: 1235 lib: 332 flatpak: 0 Shell: Bash 
  v: 5.1.8 running-in: konsole inxi: 3.3.06 

Looks like you’re running into BIOS issues now:

The HDD is sdc instead of sdb so that’s why it can’t boot.

Did you switch USB ports???

:thinking:

Not really. But sdb was taken by the Live USB pendrive, so the HDD is shown as sdc in this case.

You are right that grub.cfg (the one on my internal HDD) refers to the external HDD as sdb. But when trying to boot the external HDD, no other USB disk was present, so sdb was correct.

This is the grub.cfg file, if it helps. The menu entries for the external HDD are lines 301 - 807.

grub.cfg
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

set menu_color_normal=light-gray/black
set menu_color_highlight=green/black

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  622e967a-f6a6-4d41-be77-4f6b7e6805c8
else
  search --no-floppy --fs-uuid --set=root 622e967a-f6a6-4d41-be77-4f6b7e6805c8
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  622e967a-f6a6-4d41-be77-4f6b7e6805c8
else
  search --no-floppy --fs-uuid --set=root 622e967a-f6a6-4d41-be77-4f6b7e6805c8
fi
insmod png
background_image -m stretch /usr/share/grub/background.png
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-622e967a-f6a6-4d41-be77-4f6b7e6805c8' {
	savedefault
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  622e967a-f6a6-4d41-be77-4f6b7e6805c8
	else
	  search --no-floppy --fs-uuid --set=root 622e967a-f6a6-4d41-be77-4f6b7e6805c8
	fi
	linux	/boot/vmlinuz-4.14-x86_64 root=UUID=622e967a-f6a6-4d41-be77-4f6b7e6805c8 rw  quiet
	initrd	/boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
}
submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-622e967a-f6a6-4d41-be77-4f6b7e6805c8' {
	menuentry 'Manjaro Linux (Kernel: 4.14.155-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.155-1-MANJARO x64-advanced-622e967a-f6a6-4d41-be77-4f6b7e6805c8' {
	savedefault
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  622e967a-f6a6-4d41-be77-4f6b7e6805c8
		else
		  search --no-floppy --fs-uuid --set=root 622e967a-f6a6-4d41-be77-4f6b7e6805c8
		fi
		linux	/boot/vmlinuz-4.14-x86_64 root=UUID=622e967a-f6a6-4d41-be77-4f6b7e6805c8 rw  quiet
		initrd	/boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
	}
	menuentry 'Manjaro Linux (Kernel: 4.14.155-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.155-1-MANJARO x64-fallback-622e967a-f6a6-4d41-be77-4f6b7e6805c8' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  622e967a-f6a6-4d41-be77-4f6b7e6805c8
		else
		  search --no-floppy --fs-uuid --set=root 622e967a-f6a6-4d41-be77-4f6b7e6805c8
		fi
		linux	/boot/vmlinuz-4.14-x86_64 root=UUID=622e967a-f6a6-4d41-be77-4f6b7e6805c8 rw  quiet
		initrd	/boot/initramfs-4.14-x86_64-fallback.img
	}
	menuentry 'Manjaro Linux (Kernel: 4.14.155-1-MANJARO x64 - recovery mode)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.155-1-MANJARO x64-recovery-622e967a-f6a6-4d41-be77-4f6b7e6805c8' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  622e967a-f6a6-4d41-be77-4f6b7e6805c8
		else
		  search --no-floppy --fs-uuid --set=root 622e967a-f6a6-4d41-be77-4f6b7e6805c8
		fi
		linux	/boot/vmlinuz-4.14-x86_64 root=UUID=622e967a-f6a6-4d41-be77-4f6b7e6805c8 rw single 
		initrd	/boot/initramfs-4.14-x86_64-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-66ACEDC8ACED92BB' {
	savedefault
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  66ACEDC8ACED92BB
	else
	  search --no-floppy --fs-uuid --set=root 66ACEDC8ACED92BB
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry 'Windows 8 (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-F65AF2655AF221D3' {
	savedefault
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2  F65AF2655AF221D3
	else
	  search --no-floppy --fs-uuid --set=root F65AF2655AF221D3
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry 'Linux Mint 17.1 Rebecca (17.1) (on /dev/sda5)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0' {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
	else
	  search --no-floppy --fs-uuid --set=root c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
	fi
	linux /boot/vmlinuz-3.13.0-170-generic root=UUID=c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0 ro quiet splash $vt_handoff
	initrd /boot/initrd.img-3.13.0-170-generic
}
submenu 'Advanced options for Linux Mint 17.1 Rebecca (17.1) (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0' {
	menuentry 'Linux Mint 17.1 MATE 64-bit, 3.13.0-170-generic (/dev/sda5) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-170-generic--c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		else
		  search --no-floppy --fs-uuid --set=root c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		fi
		linux /boot/vmlinuz-3.13.0-170-generic root=UUID=c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Linux Mint 17.1 MATE 64-bit, 3.13.0-170-generic (/dev/sda5) -- recovery mode (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-170-generic--c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		else
		  search --no-floppy --fs-uuid --set=root c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		fi
		linux /boot/vmlinuz-3.13.0-170-generic root=UUID=c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0 ro recovery nomodeset
		initrd /boot/initrd.img-3.13.0-170-generic
	}
	menuentry 'Linux Mint 17.1 MATE 64-bit, 3.13.0-93-generic (/dev/sda5) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-93-generic--c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		else
		  search --no-floppy --fs-uuid --set=root c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		fi
		linux /boot/vmlinuz-3.13.0-93-generic root=UUID=c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-3.13.0-93-generic
	}
	menuentry 'Linux Mint 17.1 MATE 64-bit, 3.13.0-93-generic (/dev/sda5) -- recovery mode (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-93-generic--c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		else
		  search --no-floppy --fs-uuid --set=root c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		fi
		linux /boot/vmlinuz-3.13.0-93-generic root=UUID=c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0 ro recovery nomodeset
		initrd /boot/initrd.img-3.13.0-93-generic
	}
	menuentry 'Linux Mint 17.1 MATE 64-bit, 3.13.0-37-generic (/dev/sda5) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-37-generic--c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		else
		  search --no-floppy --fs-uuid --set=root c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		fi
		linux /boot/vmlinuz-3.13.0-37-generic root=UUID=c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0 ro quiet splash $vt_handoff
		initrd /boot/initrd.img-3.13.0-37-generic
	}
	menuentry 'Linux Mint 17.1 MATE 64-bit, 3.13.0-37-generic (/dev/sda5) -- recovery mode (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.13.0-37-generic--c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		else
		  search --no-floppy --fs-uuid --set=root c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0
		fi
		linux /boot/vmlinuz-3.13.0-37-generic root=UUID=c84084ce-3cc9-4c4a-9ca0-4c8cf88c32d0 ro recovery nomodeset
		initrd /boot/initrd.img-3.13.0-37-generic
	}
}

menuentry 'Linux Mint 19.2 Tina (19.2) (on /dev/sdb10)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-93af51cd-319f-4f50-880d-07b218375405' {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos10'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos10 --hint-efi=hd1,msdos10 --hint-baremetal=ahci1,msdos10  93af51cd-319f-4f50-880d-07b218375405
	else
	  search --no-floppy --fs-uuid --set=root 93af51cd-319f-4f50-880d-07b218375405
	fi
	linux /vmlinuz root=/dev/sdb10
	initrd /initrd.img
}
submenu 'Advanced options for Linux Mint 19.2 Tina (19.2) (on /dev/sdb10)' $menuentry_id_option 'osprober-gnulinux-advanced-93af51cd-319f-4f50-880d-07b218375405' {
	menuentry 'Linux Mint 19.2 Tina (19.2) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--93af51cd-319f-4f50-880d-07b218375405' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos10 --hint-efi=hd1,msdos10 --hint-baremetal=ahci1,msdos10  93af51cd-319f-4f50-880d-07b218375405
		else
		  search --no-floppy --fs-uuid --set=root 93af51cd-319f-4f50-880d-07b218375405
		fi
		linux /vmlinuz root=/dev/sdb10
		initrd /initrd.img
	}
	menuentry 'Linux Mint 19.2 Tina (19.2) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--93af51cd-319f-4f50-880d-07b218375405' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos10 --hint-efi=hd1,msdos10 --hint-baremetal=ahci1,msdos10  93af51cd-319f-4f50-880d-07b218375405
		else
		  search --no-floppy --fs-uuid --set=root 93af51cd-319f-4f50-880d-07b218375405
		fi
		linux /vmlinuz root=/dev/sdb10
		initrd /initrd.img
	}
	menuentry 'Linux Mint 19.2 Tina (19.2) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--93af51cd-319f-4f50-880d-07b218375405' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos10 --hint-efi=hd1,msdos10 --hint-baremetal=ahci1,msdos10  93af51cd-319f-4f50-880d-07b218375405
		else
		  search --no-floppy --fs-uuid --set=root 93af51cd-319f-4f50-880d-07b218375405
		fi
		linux /vmlinuz root=/dev/sdb10
		initrd /initrd.img.old
	}
	menuentry 'Linux Mint 19.2 Tina (19.2) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-54-generic--93af51cd-319f-4f50-880d-07b218375405' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos10 --hint-efi=hd1,msdos10 --hint-baremetal=ahci1,msdos10  93af51cd-319f-4f50-880d-07b218375405
		else
		  search --no-floppy --fs-uuid --set=root 93af51cd-319f-4f50-880d-07b218375405
		fi
		linux /boot/vmlinuz-4.15.0-54-generic root=/dev/sdb10
		initrd /boot/initrd.img-4.15.0-54-generic
	}
	menuentry 'Linux Mint 19.2 Tina (19.2) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--93af51cd-319f-4f50-880d-07b218375405' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos10 --hint-efi=hd1,msdos10 --hint-baremetal=ahci1,msdos10  93af51cd-319f-4f50-880d-07b218375405
		else
		  search --no-floppy --fs-uuid --set=root 93af51cd-319f-4f50-880d-07b218375405
		fi
		linux /vmlinuz root=/dev/sdb10
		initrd /initrd.img
	}
	menuentry 'Linux Mint 19.2 Tina (19.2) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--93af51cd-319f-4f50-880d-07b218375405' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos10 --hint-efi=hd1,msdos10 --hint-baremetal=ahci1,msdos10  93af51cd-319f-4f50-880d-07b218375405
		else
		  search --no-floppy --fs-uuid --set=root 93af51cd-319f-4f50-880d-07b218375405
		fi
		linux /vmlinuz root=/dev/sdb10
		initrd /initrd.img
	}
	menuentry 'Linux Mint 19.2 Tina (19.2) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--93af51cd-319f-4f50-880d-07b218375405' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos10 --hint-efi=hd1,msdos10 --hint-baremetal=ahci1,msdos10  93af51cd-319f-4f50-880d-07b218375405
		else
		  search --no-floppy --fs-uuid --set=root 93af51cd-319f-4f50-880d-07b218375405
		fi
		linux /vmlinuz root=/dev/sdb10
		initrd /initrd.img.old
	}
}

menuentry 'Manjaro Linux (21.1.4) (on /dev/sdb6)' --class manjarolinux --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-87cbb1d1-da11-4bc5-9b0d-06642230db5b' {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6  87cbb1d1-da11-4bc5-9b0d-06642230db5b
	else
	  search --no-floppy --fs-uuid --set=root 87cbb1d1-da11-4bc5-9b0d-06642230db5b
	fi
	linux /boot/vmlinuz-5.13-x86_64 root=/dev/sdb6
	initrd /boot/initramfs-5.13-x86_64.img
}
submenu 'Advanced options for Manjaro Linux (21.1.4) (on /dev/sdb6)' $menuentry_id_option 'osprober-gnulinux-advanced-87cbb1d1-da11-4bc5-9b0d-06642230db5b' {
	menuentry 'Manjaro Linux (21.1.4) (on /dev/sdb6)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.13-x86_64--87cbb1d1-da11-4bc5-9b0d-06642230db5b' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos6'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6  87cbb1d1-da11-4bc5-9b0d-06642230db5b
		else
		  search --no-floppy --fs-uuid --set=root 87cbb1d1-da11-4bc5-9b0d-06642230db5b
		fi
		linux /boot/vmlinuz-5.13-x86_64 root=/dev/sdb6
		initrd /boot/initramfs-5.13-x86_64.img
	}
}

menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-72d784aa-adaf-4945-831e-97a80bad1f0e' {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
	else
	  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
	fi
	linux /vmlinuz root=/dev/sdb7
	initrd /initrd.img
}
submenu 'Advanced options for Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' $menuentry_id_option 'osprober-gnulinux-advanced-72d784aa-adaf-4945-831e-97a80bad1f0e' {
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /vmlinuz root=/dev/sdb7
		initrd /initrd.img
	}
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /vmlinuz root=/dev/sdb7
		initrd /initrd.img
	}
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /vmlinuz root=/dev/sdb7
		initrd /initrd.img.old
	}
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-29-generic--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /boot/vmlinuz-4.15.0-29-generic root=/dev/sdb7
		initrd /boot/initrd.img-4.15.0-29-generic
	}
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-65-generic--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /boot/vmlinuz-4.15.0-65-generic root=/dev/sdb7
		initrd /boot/initrd.img-4.15.0-65-generic
	}
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-72-generic--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /boot/vmlinuz-4.15.0-72-generic root=/dev/sdb7
		initrd /boot/initrd.img-4.15.0-72-generic
	}
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.4.0-171-generic--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /boot/vmlinuz-4.4.0-171-generic root=/dev/sdb7
		initrd /boot/initrd.img-4.4.0-171-generic
	}
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /vmlinuz root=/dev/sdb7
		initrd /initrd.img
	}
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /vmlinuz root=/dev/sdb7
		initrd /initrd.img
	}
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /vmlinuz root=/dev/sdb7
		initrd /initrd.img.old
	}
	menuentry 'Ubuntu 16.04.5 LTS (16.04) (on /dev/sdb7)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz.old--72d784aa-adaf-4945-831e-97a80bad1f0e' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos7 --hint-efi=hd1,msdos7 --hint-baremetal=ahci1,msdos7  72d784aa-adaf-4945-831e-97a80bad1f0e
		else
		  search --no-floppy --fs-uuid --set=root 72d784aa-adaf-4945-831e-97a80bad1f0e
		fi
		linux /vmlinuz.old root=/dev/sdb7
		initrd /initrd.img.old
	}
}

menuentry 'Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos8'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  170e713d-7b77-4807-bd2e-bdc1e70eddd9
	else
	  search --no-floppy --fs-uuid --set=root 170e713d-7b77-4807-bd2e-bdc1e70eddd9
	fi
	linux /boot/vmlinuz root=/dev/sdb8
	initrd /boot/initrd.img
}
submenu 'Advanced options for Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' $menuentry_id_option 'osprober-gnulinux-advanced-170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
	menuentry 'Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  170e713d-7b77-4807-bd2e-bdc1e70eddd9
		else
		  search --no-floppy --fs-uuid --set=root 170e713d-7b77-4807-bd2e-bdc1e70eddd9
		fi
		linux /boot/vmlinuz root=/dev/sdb8
		initrd /boot/initrd.img
	}
	menuentry 'Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  170e713d-7b77-4807-bd2e-bdc1e70eddd9
		else
		  search --no-floppy --fs-uuid --set=root 170e713d-7b77-4807-bd2e-bdc1e70eddd9
		fi
		linux /boot/vmlinuz root=/dev/sdb8
		initrd /boot/initrd.img
	}
	menuentry 'Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  170e713d-7b77-4807-bd2e-bdc1e70eddd9
		else
		  search --no-floppy --fs-uuid --set=root 170e713d-7b77-4807-bd2e-bdc1e70eddd9
		fi
		linux /boot/vmlinuz root=/dev/sdb8
		initrd /boot/initrd.img-5.4.0-42-generic
	}
	menuentry 'Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  170e713d-7b77-4807-bd2e-bdc1e70eddd9
		else
		  search --no-floppy --fs-uuid --set=root 170e713d-7b77-4807-bd2e-bdc1e70eddd9
		fi
		linux /boot/vmlinuz root=/dev/sdb8
		initrd /boot/initrd.img.old
	}
	menuentry 'Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  170e713d-7b77-4807-bd2e-bdc1e70eddd9
		else
		  search --no-floppy --fs-uuid --set=root 170e713d-7b77-4807-bd2e-bdc1e70eddd9
		fi
		linux /boot/vmlinuz root=/dev/sdb8
		initrd /boot/initrd.img
	}
	menuentry 'Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  170e713d-7b77-4807-bd2e-bdc1e70eddd9
		else
		  search --no-floppy --fs-uuid --set=root 170e713d-7b77-4807-bd2e-bdc1e70eddd9
		fi
		linux /boot/vmlinuz root=/dev/sdb8
		initrd /boot/initrd.img
	}
	menuentry 'Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  170e713d-7b77-4807-bd2e-bdc1e70eddd9
		else
		  search --no-floppy --fs-uuid --set=root 170e713d-7b77-4807-bd2e-bdc1e70eddd9
		fi
		linux /boot/vmlinuz root=/dev/sdb8
		initrd /boot/initrd.img-5.4.0-42-generic
	}
	menuentry 'Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  170e713d-7b77-4807-bd2e-bdc1e70eddd9
		else
		  search --no-floppy --fs-uuid --set=root 170e713d-7b77-4807-bd2e-bdc1e70eddd9
		fi
		linux /boot/vmlinuz root=/dev/sdb8
		initrd /boot/initrd.img.old
	}
	menuentry 'Ubuntu 20.04.1 LTS (20.04) (on /dev/sdb8)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.4.0-42-generic--170e713d-7b77-4807-bd2e-bdc1e70eddd9' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos8'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos8 --hint-efi=hd1,msdos8 --hint-baremetal=ahci1,msdos8  170e713d-7b77-4807-bd2e-bdc1e70eddd9
		else
		  search --no-floppy --fs-uuid --set=root 170e713d-7b77-4807-bd2e-bdc1e70eddd9
		fi
		linux /boot/vmlinuz-5.4.0-42-generic root=/dev/sdb8
		initrd /boot/initrd.img-5.4.0-42-generic
	}
}

menuentry 'LMDE 2 Betsy (2) (on /dev/sdb9)' --class linuxmint --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-f9308e89-6284-4827-bbdf-f397d378f1aa' {
	savedefault
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos9'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos9 --hint-efi=hd1,msdos9 --hint-baremetal=ahci1,msdos9  f9308e89-6284-4827-bbdf-f397d378f1aa
	else
	  search --no-floppy --fs-uuid --set=root f9308e89-6284-4827-bbdf-f397d378f1aa
	fi
	linux /vmlinuz root=/dev/sdb9
	initrd /initrd.img
}
submenu 'Advanced options for LMDE 2 Betsy (2) (on /dev/sdb9)' $menuentry_id_option 'osprober-gnulinux-advanced-f9308e89-6284-4827-bbdf-f397d378f1aa' {
	menuentry 'LMDE 2 Betsy (2) (on /dev/sdb9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--f9308e89-6284-4827-bbdf-f397d378f1aa' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos9'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos9 --hint-efi=hd1,msdos9 --hint-baremetal=ahci1,msdos9  f9308e89-6284-4827-bbdf-f397d378f1aa
		else
		  search --no-floppy --fs-uuid --set=root f9308e89-6284-4827-bbdf-f397d378f1aa
		fi
		linux /vmlinuz root=/dev/sdb9
		initrd /initrd.img
	}
	menuentry 'LMDE 2 Betsy (2) (on /dev/sdb9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--f9308e89-6284-4827-bbdf-f397d378f1aa' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos9'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos9 --hint-efi=hd1,msdos9 --hint-baremetal=ahci1,msdos9  f9308e89-6284-4827-bbdf-f397d378f1aa
		else
		  search --no-floppy --fs-uuid --set=root f9308e89-6284-4827-bbdf-f397d378f1aa
		fi
		linux /vmlinuz root=/dev/sdb9
		initrd /initrd.img
	}
	menuentry 'LMDE 2 Betsy (2) (on /dev/sdb9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.16.0-4-amd64--f9308e89-6284-4827-bbdf-f397d378f1aa' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos9'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos9 --hint-efi=hd1,msdos9 --hint-baremetal=ahci1,msdos9  f9308e89-6284-4827-bbdf-f397d378f1aa
		else
		  search --no-floppy --fs-uuid --set=root f9308e89-6284-4827-bbdf-f397d378f1aa
		fi
		linux /boot/vmlinuz-3.16.0-4-amd64 root=/dev/sdb9
		initrd /boot/initrd.img-3.16.0-4-amd64
	}
	menuentry 'LMDE 2 Betsy (2) (on /dev/sdb9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--f9308e89-6284-4827-bbdf-f397d378f1aa' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos9'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos9 --hint-efi=hd1,msdos9 --hint-baremetal=ahci1,msdos9  f9308e89-6284-4827-bbdf-f397d378f1aa
		else
		  search --no-floppy --fs-uuid --set=root f9308e89-6284-4827-bbdf-f397d378f1aa
		fi
		linux /vmlinuz root=/dev/sdb9
		initrd /initrd.img
	}
	menuentry 'LMDE 2 Betsy (2) (on /dev/sdb9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz--f9308e89-6284-4827-bbdf-f397d378f1aa' {
		savedefault
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos9'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos9 --hint-efi=hd1,msdos9 --hint-baremetal=ahci1,msdos9  f9308e89-6284-4827-bbdf-f397d378f1aa
		else
		  search --no-floppy --fs-uuid --set=root f9308e89-6284-4827-bbdf-f397d378f1aa
		fi
		linux /vmlinuz root=/dev/sdb9
		initrd /initrd.img
	}
}

set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/60_memtest86+ ###
if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
        search --fs-uuid --no-floppy --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6  622e967a-f6a6-4d41-be77-4f6b7e6805c8
        linux16 /boot/memtest86+/memtest.bin 
    }
fi
### END /etc/grub.d/60_memtest86+ ###

Last-ditch effort:

and instead of an update-grub, do:

update-grub --recheck

If that doesn’t solve the issue, I’m all out of bright ideas!

:sob:

Thanks for another tip. Just a couple of questions.

  1. The quoted post explains how to chroot, but does not say anything about grub-install or update-grub. My guess is you wanted me to perform these commands when chroot-ed, is it so? If not, what was the purpose of chrooting?
  2. I have 4 linux systems on the HDD, three of them were running ok before the problem occurred (the fourth is Manjaro 21 which never actually ran from that disk). In which of them should I chroot? It seems to me it almost does not matter, but perhaps choosing the right one is the clue…
  3. Just to be sure, the --recheck option should be used with update-grub? I’m only aware of --recheck option for install-grub, but I might be wrong.
    Thanks in advance.
  1. Yes
  2. You’re on the Manjaro forum.
  3. Yes

:crossed_fingers:

Ok, so I booted live USB Manjaro 21 (sdb) and chrooted in Manjaro 21 installation on the external HDD (sdc6).
grub-install output:

[manjaro /]# grub-install /dev/sdc
Installing for i386-pc platform.
Installation finished. No error reported.

update-grub with --recheck option:

[manjaro /]# update-grub --recheck
Unrecognized option `--recheck'

update-grub with no extra option:

[manjaro /]# update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.13-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.13-x86_64.img
Found initrd fallback image: /boot/initramfs-5.13-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Found Windows 8 on /dev/sda1
Found Windows 8 on /dev/sda2
Found Linux Mint 17.1 Rebecca (17.1) on /dev/sda5
Found Manjaro Linux (18.1.3) on /dev/sda6
Found Linux Mint 19.2 Tina (19.2) on /dev/sdc10
Found Ubuntu 16.04.5 LTS (16.04) on /dev/sdc7
Found Ubuntu 20.04.1 LTS (20.04) on /dev/sdc8
Found LMDE 2 Betsy (2) on /dev/sdc9
Detecting snapshots ...
Root partition isn't a btrfs filesystem.
This script only supports snapshots of the btrfs filesystem.
If you think an error has occurred , please file a bug report at " https://github.com/Antynea/grub-btrfs "
Nothing to do. Abort.
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

In my understanding, the message Nothing to do. Abort. concerns the snapshots, not the update-grub as such. Is it so?

I also tried grub-install --recheck, but there was no difference.

After that, I shut down the live USB and tried to boot from the HDD, unfortunately with the same result as before - grub rescue prompt. :frowning:

chroot again, perform a pamac upgrade, update-grub again after the upgrade, please?

:crossed_fingers:

After performing the upgrade, update-grub does not complain about the btrfs snapshots, but otherwise everything is the same… :frowning:

I’m all out of bright ideas then, except: Restore your last Cold System Backup from before installing Manjaro

:sob: