Syslinux (extlinux) as boot loader for triple boot system with Slackware as dominant system.
How do I setup triple booting with a fresh Slackware64 14.2 install (with Studioware) as the default system, using Syslinux? I have dual boot systems (Win7 and Slackware) functioning on a couple of computers and would like to take this to the next level with my tower computer. I am setting my tower computer up with audio creation/production as its core purpose. Due to hardware support and variations in available software and LADSPA and VST plugins available, the idea is for my Slackware64 14.2 install to be the dominant system, while Devuan and Win7 are sort of slave systems. What I mean by this is that everything gets booted through a Slackware64 installed Syslinux (extlinux). This is also an important point, as I have had issues with the motherboard UEFI, both in UEFI and Legacy mode. My conclusion at this point is that the UEFI for my motherboard has a built in fuzzy logic, as there is no "switch" as such between legacy and uefi mode. Which mode is used, depends rather on the partitioning scheme of the Windows system (if there is one), or otherwise by the boot menu where live usb pen drives can be booted in either "usb" or "uefi" mode and then a system installed in that mode. This has the unfortunate side effect that neither Linux descriptors (/dev/sdX) nor PTUUID (when the drive has no partitions) descriptors remain constant when systems are booted from different hard drives or USB pen drives.
Having never tried this, and not having much experience with extlinux, I am posting the contents of my proposed /boot/extlinux/extlinux.conf file. While the Slackware APPEND has been modified to conform for work with audio production, both it and the Windows sections function without problems at this time, I am uncertain how the Devuan section will work, as I have yet to install Devuan. I suspect that the KERNEL parameter may need to be adjusted for the disk or partition that the Devuan system will reside on, but am unsure. As I want the Devuan install to be a "slave" system, I don't believe that I need to install extlinux on the Devuan system hard disk, but again I am unsure. I haven't been able to find any documentation on this specific, multiboot issue, so I am hoping that someone in the forum has experimented with this: Code:
UI menu.c32 |
I don't know. Have you tried rEFInd? I triple boot 2 systems with it. http://slackbuilds.org/repository/14...?search=refind
|
@globetrotterdk
Being myself an EXTLINUX user, which I prefer much against LILO, let me to put here some notes. Unlike LILO, the EXTLINUX installs always in a partition MBR, while the harddrive MBR get just a generic MBR, looking for the active partition. So, the partition where's installed the EXTLINUX should be marked with the "boot" flag. That's WHY it can read only its own partition, BUT it literally read the filesystem, unlike LILO who memorize absolute disk sectors, then there is no need to update the bootloader when you install a new kernel, even it is recommended to do it, because a new kernel may still live in the filesystem log while rebooting. The paths specified into "extlinux.conf" are relative to the underlying partition. Then the "/vmlinuz" has the sense for it to look for a file "vmlinuz" right on the root of its own partition. To boot another Linux OS, installed in another hard disk, it is possible to use only the chainloading, like you do for Windows. That's because the EXTLINUX does not know to look in another partitions, beyond its own one. So, a valid entry would look probably like: Code:
LABEL devuan |
Quote:
|
Quote:
Code:
# chroot /mnt /bin/bash Code:
# chroot /mnt /bin/bash |
Sorry, but I am not a specialist in Devuan.
But, I believe you have to study how to install Devuan with the bootloader within its own partition, treating it as stand-alone OS. When you end up with this design, you can consider the chainloading from Slackware's EXTLINUX or whatever. |
Quote:
Code:
# Which types of boot loaders to search, and in what order to display them: |
Quote:
Code:
# dmidecode | grep -A4 '^Base Board Information' |
Seem like a recent version of Uefi firmware. Probable not a issue. Anyway, looks like you solve the problem.
|
Quote:
I have tried simple: Code:
KERNEL /vmlinuz Code:
No Default or UI configuration directive found! Code:
UI menu.c32 Code:
failed to load COM32 file menu.c32 Code:
UI chain.c32 Code:
failed to load COM32 file chain.c32 Code:
LABEL devuan |
Quote:
You will find the COM32 binaries there: /usr/share/syslinux, at least in the Slackware case. |
Quote:
I have just set up a Win7, Devuan dual boot today. Here is my /boot/extlinux/extlinux.conf file: Code:
UI menu.c32 Code:
KERNEL /vmlinuz Code:
root=/dev/sdd1 Code:
COM32 chain.c32 |
Maybe this will help https://wiki.archlinux.org/index.php...x#Chainloading
|
Quote:
I just had a successful boot into the Devuan ASCII install! It may not look pretty and could probably be refined, but here is the solution: Slackware64 14.2 /boot/extlinux/extlinux.conf entry for Devuan ASCII install: Code:
LABEL devuan Code:
UI menu.c32 |
This looks pretty enough :)
I've also experimented with putting all initrds on the bootable partition, but as with lilo, I'd need to mount it every time when updating other OSs. So using extlinux on devuan is the right thing, I think, and it works. |
All times are GMT -5. The time now is 07:28 AM. |