Exect format error upon booting from full install on External Multiboot BIOS/UEFI HD
by fredmyra from LinuxQuestions.org on (#5NS5J)
I am trying to install Slackware64-current on a Toshiba Canvio Extern harddisk 1 TB. My goal is to have a multiboot disk able to boot through as many firmwares as possible, both in UEFI and in BIOS modes.
The disk already hosts a partition with Manjaro. This is because of my earlier experiences with Multiboots in internal disks, when some other distros were unable to boot Manjaro. Since then I have adopted Manjaro as my Grub-maintainer, and it has worked fine.
I am installing through a Fujitsu Lifebook
Code:# /etc/fstab
UUID=2118a5d9-f3af-48ec-9bdb-70ee45dfe9b1 swap swap defaults 0 0
UUID=c715e9e5-d7cb-4809-ab42-bbebfd9c906c / ext4 defaults 1 1
UUID=c3c03d75-49cd-4e61-8669-eef46d66d792 /dev/sdb7 /media/andra_OS ext4 defaults 1 2
UUID=17a0c229-1a24-4a95-a08d-ccd5503092d3 /media/myStorage ext4 defaults 1 2
UUID=8851-03c3 /boot/efi vfat defaults 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
Code:# some entries in grub.cfg at Slackware64 (stable)
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Slackware-14.2 GNU/Linux' --class slackware-14.2 --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c715e9e5-d7cb-4809-ab42-bbebfd9c906c' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt8 --hint-efi=hd1,gpt8 --hint-baremetal=ahci1,gpt8 c715e9e5-d7cb-4809-ab42-bbebfd9c906c
else
search --no-floppy --fs-uuid --set=root c715e9e5-d7cb-4809-ab42-bbebfd9c906c
fi
echo 'Loading Linux 4.4.14 ...'
linux /boot/vmlinuz-huge-4.4.14 root=UUID=c715e9e5-d7cb-4809-ab42-bbebfd9c906c ro
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.gz
}
submenu 'Advanced options for Slackware-14.2 GNU/Linux' $menuentry_id_option 'gnulinux-advanced-c715e9e5-d7cb-4809-ab42-bbebfd9c906c' {
menuentry 'Slackware-14.2 GNU/Linux, with Linux 4.4.14' --class slackware-14.2 --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.14-advanced-c715e9e5-d7cb-4809-ab42-bbebfd9c906c' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt8 --hint-efi=hd1,gpt8 --hint-baremetal=ahci1,gpt8 c715e9e5-d7cb-4809-ab42-bbebfd9c906c
else
search --no-floppy --fs-uuid --set=root c715e9e5-d7cb-4809-ab42-bbebfd9c906c
fi
echo 'Loading Linux 4.4.14 ...'
linux /boot/vmlinuz-huge-4.4.14 root=UUID=c715e9e5-d7cb-4809-ab42-bbebfd9c906c ro
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.gz
}
menuentry 'Slackware-14.2 GNU/Linux, with Linux generic (recovery mode)' --class slackware-14.2 --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-generic-recovery-c715e9e5-d7cb-4809-ab42-bbebfd9c906c' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt8 --hint-efi=hd1,gpt8 --hint-baremetal=ahci1,gpt8 c715e9e5-d7cb-4809-ab42-bbebfd9c906c
else
search --no-floppy --fs-uuid --set=root c715e9e5-d7cb-4809-ab42-bbebfd9c906c
fi
echo 'Loading Linux generic ...'
linux /boot/vmlinuz-generic root=UUID=c715e9e5-d7cb-4809-ab42-bbebfd9c906c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.gz
}
}
### 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 'Slackware Linux (Slackware 15.0)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz root=/dev/sdb10
initrd /boot/initrd.gz
}
submenu 'Advanced options for Slackware Linux (Slackware 15.0)' $menuentry_id_option 'osprober-gnulinux-advanced-cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz root=/dev/sdb10
initrd /boot/initrd.gz
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz root=/dev/sdb10
initrd /boot/initrd.gz
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-generic root=/dev/sdb10
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-4.4.14--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-generic-4.4.14 root=/dev/sdb10
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-5.13.12--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-generic-5.13.12 root=/dev/sdb10
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-huge root=/dev/sdb10
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-4.4.14--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-huge-4.4.14 root=/dev/sdb10
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-5.13.12--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-huge-5.13.12 root=/dev/sdb10
}
}Manjaro was installed for BIOS-UEFI dual booting according to the tutorial at https://forums.linuxmint.com/viewtop...0194a#p1744547
and boots fine in both modes.
Slackware was installed according to (https://medium.com/netdef/using-a-us...t-4b1051f1eb56) which has worked for installing multiboot external disks - one SSD in UEFI/EFI mode, which I normally use on my macbook and one HD which I normally use on the Fujitsu Lifebook. I also use them occasionally in other machines, on demand.
The installation went swiftly but when I tried to boot it, after updating Manjaros grub, I got format exec errors which I immediately recognized as identical to what originated my thread . So I tried what had led me past the format exec errors before, but this time without any success.
Rootdelay at boot, fstab specified in UUID, root specified in UUID att linux line in grub.cfg did not help. The making of 2 initrds / one according to ": "mkinitrd -c -k 5.13.12 -m ext4"." - and another
Code:mkinitrd -c -k 4.4.14 -m ext4:usbcore:sd_mod:ehci_hcd:uhci_hcd:ohci_hcd:usb_storage:scsi_mod -f ext4 -r /dev/sdb3 according to post #9 in https://www.linuxquestions.org/quest...3/#post6215285 which had been the solution to my first experience with these errors. did not help either.
I tried all the available kernels, with intrds, and tried the huge kernels with and without initrds. Huge kernels resulted always directly into kernel panic. Non-huge kernels resulted invariably in the format exec error and when exiting the shell offered to try solving it then went into kernel panic.
So I reformatted the partition and went through the whole thing again, getting exactly same results.
Next I installed Slackware64 (stable) in another partition, as a test. Installation went fine, but then I met almost exactly the same errors all the way and felt it was time to come here and ask for help.
I tried still one desperate idea, and for the first time in my life installed a bootloader from from Slackware (the stable version) an it was grub. And OMG it booted Manjaro - once I supplied a bit missing in the initrd line for Manjaro - namely "initramfs-5.10/x86_64.img". Manjaro is booting only in Bios mode, I have not installed grub for UEFI yet in order to avoid having to consider too many factors at this point.
Slackware however is presenting the exec format errors. And now I have run out of ideas except for recreating partition table and installing as single UEFI as another test.
But I have already missed on this issue once, as I did pass the format exec errors in the past but never solved the error that followed it as a consequence of its fixing, and now I would like once and for all understand what is happening here.
So I will cross my fingers and wait for counsel.
I will place some examples of the error messages in the next posts.
The disk already hosts a partition with Manjaro. This is because of my earlier experiences with Multiboots in internal disks, when some other distros were unable to boot Manjaro. Since then I have adopted Manjaro as my Grub-maintainer, and it has worked fine.
I am installing through a Fujitsu Lifebook
Code:# /etc/fstab
UUID=2118a5d9-f3af-48ec-9bdb-70ee45dfe9b1 swap swap defaults 0 0
UUID=c715e9e5-d7cb-4809-ab42-bbebfd9c906c / ext4 defaults 1 1
UUID=c3c03d75-49cd-4e61-8669-eef46d66d792 /dev/sdb7 /media/andra_OS ext4 defaults 1 2
UUID=17a0c229-1a24-4a95-a08d-ccd5503092d3 /media/myStorage ext4 defaults 1 2
UUID=8851-03c3 /boot/efi vfat defaults 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
Code:# some entries in grub.cfg at Slackware64 (stable)
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Slackware-14.2 GNU/Linux' --class slackware-14.2 --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c715e9e5-d7cb-4809-ab42-bbebfd9c906c' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt8 --hint-efi=hd1,gpt8 --hint-baremetal=ahci1,gpt8 c715e9e5-d7cb-4809-ab42-bbebfd9c906c
else
search --no-floppy --fs-uuid --set=root c715e9e5-d7cb-4809-ab42-bbebfd9c906c
fi
echo 'Loading Linux 4.4.14 ...'
linux /boot/vmlinuz-huge-4.4.14 root=UUID=c715e9e5-d7cb-4809-ab42-bbebfd9c906c ro
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.gz
}
submenu 'Advanced options for Slackware-14.2 GNU/Linux' $menuentry_id_option 'gnulinux-advanced-c715e9e5-d7cb-4809-ab42-bbebfd9c906c' {
menuentry 'Slackware-14.2 GNU/Linux, with Linux 4.4.14' --class slackware-14.2 --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.14-advanced-c715e9e5-d7cb-4809-ab42-bbebfd9c906c' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt8 --hint-efi=hd1,gpt8 --hint-baremetal=ahci1,gpt8 c715e9e5-d7cb-4809-ab42-bbebfd9c906c
else
search --no-floppy --fs-uuid --set=root c715e9e5-d7cb-4809-ab42-bbebfd9c906c
fi
echo 'Loading Linux 4.4.14 ...'
linux /boot/vmlinuz-huge-4.4.14 root=UUID=c715e9e5-d7cb-4809-ab42-bbebfd9c906c ro
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.gz
}
menuentry 'Slackware-14.2 GNU/Linux, with Linux generic (recovery mode)' --class slackware-14.2 --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-generic-recovery-c715e9e5-d7cb-4809-ab42-bbebfd9c906c' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd1,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt8 --hint-efi=hd1,gpt8 --hint-baremetal=ahci1,gpt8 c715e9e5-d7cb-4809-ab42-bbebfd9c906c
else
search --no-floppy --fs-uuid --set=root c715e9e5-d7cb-4809-ab42-bbebfd9c906c
fi
echo 'Loading Linux generic ...'
linux /boot/vmlinuz-generic root=UUID=c715e9e5-d7cb-4809-ab42-bbebfd9c906c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.gz
}
}
### 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 'Slackware Linux (Slackware 15.0)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz root=/dev/sdb10
initrd /boot/initrd.gz
}
submenu 'Advanced options for Slackware Linux (Slackware 15.0)' $menuentry_id_option 'osprober-gnulinux-advanced-cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz root=/dev/sdb10
initrd /boot/initrd.gz
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz root=/dev/sdb10
initrd /boot/initrd.gz
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-generic root=/dev/sdb10
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-4.4.14--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-generic-4.4.14 root=/dev/sdb10
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-generic-5.13.12--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-generic-5.13.12 root=/dev/sdb10
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-huge root=/dev/sdb10
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-4.4.14--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-huge-4.4.14 root=/dev/sdb10
}
menuentry 'Slackware Linux (Slackware 15.0) (on /dev/sdb10)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-huge-5.13.12--cbfbc57f-5ada-4a5c-861f-4f62ad47688a' {
insmod part_gpt
insmod ext2
set root='hd1,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt10 --hint-efi=hd1,gpt10 --hint-baremetal=ahci1,gpt10 cbfbc57f-5ada-4a5c-861f-4f62ad47688a
else
search --no-floppy --fs-uuid --set=root cbfbc57f-5ada-4a5c-861f-4f62ad47688a
fi
linux /boot/vmlinuz-huge-5.13.12 root=/dev/sdb10
}
}Manjaro was installed for BIOS-UEFI dual booting according to the tutorial at https://forums.linuxmint.com/viewtop...0194a#p1744547
and boots fine in both modes.
Slackware was installed according to (https://medium.com/netdef/using-a-us...t-4b1051f1eb56) which has worked for installing multiboot external disks - one SSD in UEFI/EFI mode, which I normally use on my macbook and one HD which I normally use on the Fujitsu Lifebook. I also use them occasionally in other machines, on demand.
The installation went swiftly but when I tried to boot it, after updating Manjaros grub, I got format exec errors which I immediately recognized as identical to what originated my thread . So I tried what had led me past the format exec errors before, but this time without any success.
Rootdelay at boot, fstab specified in UUID, root specified in UUID att linux line in grub.cfg did not help. The making of 2 initrds / one according to ": "mkinitrd -c -k 5.13.12 -m ext4"." - and another
Code:mkinitrd -c -k 4.4.14 -m ext4:usbcore:sd_mod:ehci_hcd:uhci_hcd:ohci_hcd:usb_storage:scsi_mod -f ext4 -r /dev/sdb3 according to post #9 in https://www.linuxquestions.org/quest...3/#post6215285 which had been the solution to my first experience with these errors. did not help either.
I tried all the available kernels, with intrds, and tried the huge kernels with and without initrds. Huge kernels resulted always directly into kernel panic. Non-huge kernels resulted invariably in the format exec error and when exiting the shell offered to try solving it then went into kernel panic.
So I reformatted the partition and went through the whole thing again, getting exactly same results.
Next I installed Slackware64 (stable) in another partition, as a test. Installation went fine, but then I met almost exactly the same errors all the way and felt it was time to come here and ask for help.
I tried still one desperate idea, and for the first time in my life installed a bootloader from from Slackware (the stable version) an it was grub. And OMG it booted Manjaro - once I supplied a bit missing in the initrd line for Manjaro - namely "initramfs-5.10/x86_64.img". Manjaro is booting only in Bios mode, I have not installed grub for UEFI yet in order to avoid having to consider too many factors at this point.
Slackware however is presenting the exec format errors. And now I have run out of ideas except for recreating partition table and installing as single UEFI as another test.
But I have already missed on this issue once, as I did pass the format exec errors in the past but never solved the error that followed it as a consequence of its fixing, and now I would like once and for all understand what is happening here.
So I will cross my fingers and wait for counsel.
I will place some examples of the error messages in the next posts.