I installed Arch Linux on my computer, but I also installed Slackware on another partition (/dev/sda5
).
I would like to configure Grub2 from the Arch Linux installation through the /etc/grub.d/40_custom
file to add Slackware to the menu list at boot.
I searched for quite some time on the Internet but failed to find an answer to whether I need to install Grub in Slackware too and what exactly to write in the config file.
Reading the full documentation of grub is too long.
I tried the following but during loading of Slackware, I have a kernel panic event saying something like "unable to find block":
menuentry "Slackware 14.0" {
set root='hd0,msdos5'
echo 'Loading Linux Slackware 14.0 ...'
linux /boot/vmlinuz root=UUID=xxxXXxx-xx-XXX... ro acpi=off
}
root=UUID=...
.