How ro disable GRUB and install GRUB tools ?
I am making yet another multiboot usb using GRUB, this time I want to start some isos which are set to start from syslinux and I checked Grubs manual at https://www.gnu.org/software/grub/ma...-manual-config:
Quote:
I did search around before posting but the only possibly related finding was an article about EndeavourOs grub-tolls package which did not help me. In the /etc/default/grub file in several of my installed distros I could not find one single reference to disabling GRUB itself. Can some one tip me out of my ignorance ? Thanks in advance. |
You should be looking at chain-loading syslinux from Grub. Link is a bit old but may help: https://unix.stackexchange.com/quest...linux-cfg-menu
I think the stuff you found is aimed at installing multi-boot Linux on a drive and sharing a /boot partition and grub config among them, so when you update one distro the changes are written to the shared /boot and grub files. I assume you are booting live distros on the USB and not installing them into their own partitions on it. |
If live booting ISOs from the flash drive then I wonder if it would be easier to use ventoy, which is capable of booting many different OSes for you from the drive where it is installed.
https://www.ventoy.net/en/download.html |
Quote:
In all the many texts I searched there was no reference to those two expressions. English is not my native language and perhaps it is just a problem of understanding what would be obvious to native speakers. |
Quote:
I am sure Ventoy is an efficient tool that would make it easier, but my interest is learning more and this kind of difficulty is great for motivating me to search and read. Besides I am curious if anybody knows what those expressions mean, language is my field of work. |
Only one bootloader is needed for a PC that contains only Linux distros or other OSes whose kernels are loadable by a Linux bootloader. If you put a self-built Grub on a filesystem the BIOS can read from, then none of the Linux distros need any bootloader installed.
On UEFI PCs, I use openSUSE Tumbleweed's Grub2-efi in its own /boot/grub2/ and the ESP filesystem. Other distros simply don't have a bootloader installed, or if they do, their fstabs exclude the ESP, which makes their bootloaders functionally sterile, leaving booting to be fully handled by TW's Grub and myself. Symlinks are used for booting all kernels and initrds in TW's /boot/grub2/custom.cfg, which I maintain with little effort due to use of the symlinks. By virtue of /etc/grub.d/06_custom, TW's Grub's auto-generated menu includes my custom.cfg entries at its top. |
Quote:
I am still a bit uncomfortable with symlinks and this will probably will be the right motivation to read more about it and trying it out. If I understand it right I should place symlinks for kernel and initrd for each "secondary" distro in a custom.cfg file. No configfiles involved, right? Will that also take care of distros booting under syslinux by default ? Thanks a lot for your support. Much appreciated! |
Quote:
Quote:
Quote:
Quote:
|
@ mrmazda:
Again, valuable information. Thanks for taking your time to clarify it all for me. |
All times are GMT -5. The time now is 10:56 AM. |