Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: rexi on November 29, 2023, 02:55:55 PM
-
Hello,
is there any way to bypass isolinux?
Thanks
-
Hi rexi
I don't understand what you mean by that.
-
When you boot tiny core from a USB flash drive, a blue window appears with boot options (see picture below).
And I wonder how to bypass it?
(https://cdn.cnx-software.com/wp-content/uploads/2022/02/TinyCore-boot-screen.png?lossy=0&strip=none&ssl=1)
-
Hi rexi
Boot the flash drive and load tc-install-GUI.tcz (or tc-install.tcz for no GUI).
Use that to install Tinycore to a second flash drive and then boot that.
Also, see this:
http://tinycorelinux.net/install.html
-
Hi rexi. You need some kind of bootloader so you can't bypass isolinux (in your case) completely. But you can set default option and a very short timeout (100 ms). I use grub2, so am not too familiar with isolinux. Assuming isolinux starts counting at 1, try editing syslinux.cfg so that the relevant lines look like this:
prompt 1
timeout 1More info here (https://unix.stackexchange.com/questions/32243/how-do-i-configure-syslinux-to-boot-immediately).
-
Hi GNUser
That's all well and good, but if he does that, he should
also set ONTIMEOUT to point to the LABEL entry
he wants to boot.
-
Yes, I already noticed the syslinux.cfg configuration, but I thought it could be done better.
And can grub2 be used when booting from a USB flash drive?
Can you somehow configure the menu.c32? (it is in isolinux)
PS: by default syslinux.cfg is set like this
PROMPT 0
TIMEOUT 600
-
Hi GNUser
That's all well and good, but if he does that, he should
also set ONTIMEOUT to point to the LABEL entry
he wants to boot.
hi, thank you, but i already know this
-
And can grub2 be used when booting from a USB flash drive?
I have a frugal installation of TCL (just /boot, /tce, and /opt) on a laptop partition, so I'm using grub2 in the most vanilla way: With vintage BIOS, installed to hardrive's MBR. I've never used grub2 on a USB flash drive but there are tutorials (https://pendrivelinux.com/install-grub2-on-usb-from-ubuntu-linux/) on how to do this on the internet, so I guess it is possible.
-
P.S. Not that I'm recommending you use grub2 on your USB stick. That would be unusual--I think isolinux is more common for your use case.
I've heard that you can get away with using no bootloader whatsoever on UEFI machines (which can load the kernel directly if properly configured), but I don't have any experience with that. Rich is more savvy and may be able to direct to if that's what you're trying to achieve.
-
Juanito's instructions, linked below, from 2015 regarding grub2-multi on a USB stick (for both BIOS and UEFI) works like a charm - I use it all the time.
https://forum.tinycorelinux.net/index.php/topic,19364.msg119228.html#msg119228 (https://forum.tinycorelinux.net/index.php/topic,19364.msg119228.html#msg119228)