Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: rexi on November 29, 2023, 02:55:55 PM

Title: bypass isolinux
Post by: rexi on November 29, 2023, 02:55:55 PM
Hello,
is there any way to bypass isolinux?
Thanks
Title: Re: bypass isolinux
Post by: Rich on November 29, 2023, 03:55:29 PM
Hi rexi
I don't understand what you mean by that.
Title: Re: bypass isolinux
Post by: rexi on November 30, 2023, 09:34:17 AM
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)
Title: Re: bypass isolinux
Post by: Rich on November 30, 2023, 09:49:29 AM
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
Title: Re: bypass isolinux
Post by: GNUser on November 30, 2023, 09:53:52 AM
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:
Code: [Select]
prompt 1
timeout 1
More info here (https://unix.stackexchange.com/questions/32243/how-do-i-configure-syslinux-to-boot-immediately).
Title: Re: bypass isolinux
Post by: Rich on November 30, 2023, 10:02:31 AM
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.
Title: Re: bypass isolinux
Post by: rexi on November 30, 2023, 10:05:24 AM
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
Code: [Select]
PROMPT 0
TIMEOUT 600
Title: Re: bypass isolinux
Post by: rexi on November 30, 2023, 10:08:46 AM
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
Title: Re: bypass isolinux
Post by: GNUser on November 30, 2023, 10:16:44 AM
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.
Title: Re: bypass isolinux
Post by: GNUser on November 30, 2023, 10:29:39 AM
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.
Title: Re: bypass isolinux
Post by: Leee on December 03, 2023, 04:09:56 AM
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)