Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: idoit on April 25, 2023, 06:56:38 AM
-
Hi everyone,
I need to use GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT for TCL. In other distributions this is easy. How can I do this in TCL?
Also the package grub2-multi does not include /etc/default/grub. Why is that?
-
on debian based systems the /etc/default/grub can be copied over from /usr/share/grub/default/grub
-
on debian based systems the /etc/default/grub can be copied over from /usr/share/grub/default/grub
Thanks for the reply!
I am aware of that, but in a TCL install, I need this modification and the only grub package from searching tce_ab is grub2_multi which doesn't included such file. Any leads?
-
do these help?
https://forum.tinycorelinux.net/index.php/topic,24315.msg153951.html#msg153951
https://forum.tinycorelinux.net/index.php/topic,22627.msg141744.html#msg141744
-
Are these for dual booters who already have another Linux installed on their computer?
Sorry I should have prefaced that this is to install TCL on a clean HDD (without any prior OS/data) - or a clean slate virtual machine.
-
the gist i get/have got wrt booting generally has been "its your problem"
that said (afaik) perhaps this program : https://sourceforge.net/p/boot-repair/home/Home/
can help give you/us some relevant information about your current config ?
I need to use GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT for TCL.
they look like environment variables used by "some grub script" to add / append options to the kernel command line
ref : https://unix.stackexchange.com/questions/440961/grub-cmdline-linux-default-vs-grub-cmdline-linux
In other distributions this is easy. How can I do this in TCL?
probably the answer is write an equivalent script to read the vars and update grub.cfg
>In other distributions this is easy.
easy === pre-configured ;)
Also the package grub2-multi does not include /etc/default/grub.
Why is that?
probably only the extension author can answer that
see : http://tinycorelinux.net/12.x/x86/tcz/grub2-multi.tcz.info ... i presume you followed the steps from grub2-multi.tcz.info?
... the build script might give some hints ?
http://tinycorelinux.net/12.x/x86/tcz/src/grub2-multi/compile_grub2-multi
idk tbh
good luck!
-
Also the package grub2-multi does not include /etc/default/grub. Why is that?
..because sudo make install didn’t install a file of that name.
-
Are these for dual booters who already have another Linux installed on their computer?
Sorry I should have prefaced that this is to install TCL on a clean HDD (without any prior OS/data) - or a clean slate virtual machine.
If you search these forums there are instructions on how to make a dual legacy bios/uefi boot setup.
-
Hi
I think OP wants to use things from another distro here? So
I need to use GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT for TCL
post what you want to have on those lines and we convert them to lines, phrases, terms etc to use on TC in your current grub.cfg.
Here is an example from my Debian that we can make TC
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
right so we just add it your linux line.
eg
linux /boot/vmlinuz64 quiet lst=14.lst home=sda3 opt=sda3 tce=sda3 LANG=en_AU.UTF.8
and bonus, as we have grub.cfg that is raw and not generated from /etc/grub.d, no need to run update-grub