Code Monkey home page Code Monkey logo

Comments (4)

alsldlflglhljlk avatar alsldlflglhljlk commented on May 30, 2024

Try pressing F1 to enter the UEFI shell, then type fs0:, fs1:, fs2: etc until you find where your kernel is located. Then type:
.\kernelnamehere root=/dev/rootdevicehere rootwait ro and see what happens.

from rpi3.

Aegeontis avatar Aegeontis commented on May 30, 2024

For some reason I couldnt find the kernel and rootfs directly in any of the locations listed by map in the UEFI shell (only an EFI folder on fs0 with grub binaries). Therefore I did the following:

  1. created a new usb drive from my desktop and manually copied just the rootfs.img and vmlinuz file (from the original fcos iso) to it.
  2. Then I plugged it into the rpi, cd'd into it and ran .\vmlinuz root=./rootfs.img rootwait ro (I also tried .\vmlinuz root=.\rootfs.img rootwait ro, just in case)

Results are exactly the same as in my first message.

from rpi3.

alsldlflglhljlk avatar alsldlflglhljlk commented on May 30, 2024

The root argument should be what you expect the device to show up as in /dev, not a local file. If you are trying to load an initramfs, use initrd=initrdnamehere.img instead.

Try renaming vmlinuz to kernel8.img.efi and doing the same thing you did before, only invoking .\kernel8.img (not a typo, don't add the .efi) instead. If that works, the answer is simple – the kernel is not properly configured to support UEFI.

from rpi3.

Aegeontis avatar Aegeontis commented on May 30, 2024

The root argument should be what you expect the device to show up as in /dev, not a local file.

I dont quite understand what you mean by this. I have an iso file. Inside it is a rootfs.img file, a kernel and an initramfs (and some other files like grub). I dont have an unpacked/preinstalled root ready to go on my usb.

Afaik this should really matter though, as even without a rootfs or initramfs, the kernel should be able to at least print something?

Try renaming vmlinuz to kernel8.img.efi and doing the same thing you did before, only invoking .\kernel8.img (not a typo, don't add the .efi) instead.

Same results as before.

If you are trying to load an initramfs, use initrd=initrdnamehere.img instead.

I tried loading an initramfs too, but that did nothing more than adding EFI stub: Loaded initrd from command line option to the output.

If that works, the answer is simple – the kernel is not properly configured to support UEFI.

Could you specify what could be wrong with the kernel? The Fedora CoreOS docs say:

You can boot the live ISO in either legacy BIOS or UEFI mode, regardless of what mode the OS will use once installed.

fedora coreos docs

from rpi3.

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.