Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: TC_Noob on April 19, 2020, 02:03:11 AM
-
Hi,
I have an old small script made years ago, that has worked well with Legacy booting, that I'd like to make work with UEFI. The ISO is just 5 files:
/boot
core.gz
vmlinuz
/boot/isolinux
boot.cat
isolinux.bin
isolinux.cfg
Contents of isolinux.cfg:
default microcore
label microcore
kernel /boot/vmlinuz
initrd /boot/core.gz
append loglevel=3
Is there some way I can use these files with a BootX64.efi file such that it would work?
Thanks.
-
isolinux (as the name says) is for ISO-images (CDROM) booting from BIOS (not UEFI).
syslinux is for booting from FAT, so it can (but not recomended) technically boot form ESP-partition (FAT32 type, it is a must for booting from UEFI_64, which ask for your BOOTx64.EFI)
summary to boot from UEFI firmware, with your files, you need:
- original tinycore.iso, real burnt on CD/DVD
- or USB installed TC bootable; so tinycore.iso -> extracted as kernel (vmlinuz) + initram (core.gz) AND boot-loader grub 2.x for UEFI installed into USB. so BOOTX64.EFI is basicaly "grub.efi". And of course isolunx.cfg is useless, grub configutation is grub.conf etc.
FYI: only syslinux 6.04 can boot from UEFI, if kernel and initram are on the same ESP patition as sylinux.EFI. (no chain-loading further other EFI progam; grub.efi can do chainloader other EFI like windows10, or it can boot TC from other ext2 partition on other disk)
-
If you already have a TC installation running on bare metal, you should check out this tutorial.
How to make a legacy bios/uefi dual boot usb stick with syslinux (http://forum.tinycorelinux.net/index.php/topic,20939.msg130829.html)
You can ignore the first partition (NTFS) as it is optional.