Tiny Core Base > TCB Q&A Forum
Boot from Syslinux in EFI mode
(1/1)
batya:
Hi, I'm new to Tiny Core, I'm trying to install it locally on my desktop since I have a spare partition there.
On my system I first boot Gummiboot loader, then I boot Syslinux from Gummiboot and then trying to boot Tiny Core.
Gummiboot can't boot Tiny Core directly since vmlinuz there is not an EFI binary (CONFIG_EFI_STUB is not set in kernel config).
syslinux.cfg which sits on my ESP partition looks simple:
DEFAULT tinycore
LINUX /tinycore/vmlinuz
INITRD /tinycore/core.gz
APPEND loglevel=3 tce=sda2
vmlinuz and core.gz sit on the ESP partition.
tce directory is on next partition (sda2).
After the boot is initiated from Syslinux, I only see a flash of text probably saying "Loading vmlinuz" and "Loading core.gz" (it's too fast, I can't read).
Then my system reboots in a couple of seconds.
If I replace "LINUX /tinycore/vmlinuz" with a different kernel and remove "INITRD", that kernel boots fine.
I did not take syslinux from tinycore (there's no EFI version) but from official Syslinux builds.
Any ideas what could be wrong?
pq5190362:
--- Quote from: batya on March 05, 2015, 03:20:57 AM ---I did not take syslinux from tinycore (there's no EFI version)
--- End quote ---
http://forum.tinycorelinux.net/index.php/topic,17887.msg110035.html#msg110035
Juanito:
tc will uefi boot using grub2, but I never tried with syslinux.
Note that you need to check if your machine uses 32-bit or 64-bit uefi and use the appropriate version of tc - core for 32-bit and corepure64 for 64-bit.
Almost all (if not all) pc use 64-bit uefi, whereas some (older) mac use 32-bit efi and the rest use 64-bit efi.
Edit: Note also that the display will be blank if you don't load an efi-fb or the graphics-KERNEL and Xorg-7.7/Xfbdev extensions
curaga:
FYI, EFI_STUB is enabled in both 5.x and 6.x kernels.
batya:
Ok, I see, Gummiboot was printing the error message "Unsupported" with TC kernel, so it was because of its 32-bittness, not because of not having the stub.
Navigation
[0] Message Index
Go to full version