GithubHelp home page GithubHelp logo

UEFI Boot Support? about tinycore-redpill HOT 8 CLOSED

chchia avatar chchia commented on August 18, 2024
UEFI Boot Support?

from tinycore-redpill.

Comments (8)

Plarkass avatar Plarkass commented on August 18, 2024 2

Following along with this guide, I was able to modify the USB stick: https://github.com/ndeineko/grub2-bios-uefi-usb

Got it from forum:
finally i managed to create a uefi bootable flash drive. the steps are very easy but it took me about the whole day to figure out.
after writing redpill tc loader image to your flash drive, you need a linux machine to add the uefi boot.
in my case, i have a notebook with linux mint installed (latest edge edition).
assuming that my flash drive was /dev/sdb, this is what i've done:

Mount the filesystem:
sudo mount -o umask=000 /dev/sdb1 /mnt
Write the MBR and install the grub files required for legacy BIOS boot on the drive: (i don't know if this step is really needed but anyway it works)
sudo grub-install --no-floppy --boot-directory=/mnt/boot --target=i386-pc /dev/sdb
Install /EFI/BOOT/BOOTX64.EFI and other grub files required to load grub from a 64-bit UEFI firmware:
sudo grub-install --removable --boot-directory=/mnt/boot --efi-directory=/mnt --target=x86_64-efi /dev/sdb
Unmount the filesystem:
sudo umount /dev/sdb1

from tinycore-redpill.

miholeus avatar miholeus commented on August 18, 2024

+1, @pocopico do you plan to add uefi? Unfortunately, I can't use csm mode((

from tinycore-redpill.

kills avatar kills commented on August 18, 2024

+1 I would also appreciate UEFI Support

from tinycore-redpill.

Plarkass avatar Plarkass commented on August 18, 2024

+1 Can be nice to have it

from tinycore-redpill.

kills avatar kills commented on August 18, 2024

Following along with this guide, I was able to modify the USB stick:
https://github.com/ndeineko/grub2-bios-uefi-usb

from tinycore-redpill.

kills avatar kills commented on August 18, 2024

That's it :) Glad you got it!

from tinycore-redpill.

dreamtekcat avatar dreamtekcat commented on August 18, 2024

Still cant boot tinycore.img in ovmf(uefi) proxmox 7 vm, any solution?

from tinycore-redpill.

ac-xa avatar ac-xa commented on August 18, 2024

Still cant boot tinycore.img in ovmf(uefi) proxmox 7 vm, any solution?

I'm not using proxmox but I tried to see if I can make it work. Here is what worked for me.

  1. Upload tinycore-redpill-uefi.v0.4.5.img.gz to proxmox in folder /var/lib/vz/images/
  2. unpack tinycore-redpill-uefi.v0.4.5.img.gz to tinycore-redpill-uefi.v0.4.5.img
  3. rename tinycore-redpill-uefi.v0.4.5.img to tinycore.img
  4. Set your VM bios to OVMF (UEFI)
  5. Add following to vm config (ie /etc/pve/qemu-server/100.conf)
    args: -device 'qemu-xhci,addr=0x18' -drive 'id=my_usb_disk,file=/var/lib/vz/images/tinycore.img,if=none,format=raw' -device 'usb-storage,id=my_usb_disk,drive=my_usb_disk,bootindex=5'

For reference my config looks like this:

args: -device 'qemu-xhci,addr=0x18' -drive 'id=my_usb_disk,file=/var/lib/vz/images/tinycore.img,if=none,format=raw' -device 'usb-storage,id=my_usb_disk,drive=my_usb_disk,bootindex=5'
bios: ovmf
boot: order=sata0;net0
cores: 2
memory: 2048
name: test
net0: e1000=FA:A7:1A:9D:A2:40,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
sata0: local-lvm:vm-100-disk-0,size=8G
scsihw: virtio-scsi-pci
smbios1: uuid=c17d8446-9f13-4af4-96ea-6bcaed77e5ea
sockets: 1
vmgenid: d89fa586-cb9b-475e-87ac-873d2babb8ba

from tinycore-redpill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.