Giter VIP home page Giter VIP logo

Comments (5)

Maryse47 avatar Maryse47 commented on August 17, 2024

This way you are bundling two initramfs inside. You need to pass one:
INITRD[linux]=/boot/initramfs-linux-fallback.img

from sbupdate.

kustodian avatar kustodian commented on August 17, 2024

I want to be able to boot a same kernel with either the default initramfs, or the fallback one. Is there a way to specify that it builds two separate efi images with the same kernel, but different initramfs?

from sbupdate.

andreyv avatar andreyv commented on August 17, 2024

Hi,

Currently there is no support for multiple initramfs per kernel. It is on the TODO list.

If your /boot supports symlinks, then, as a workaround, you can create a symlink /boot/vmlinuz-linux-fallback pointing to vmlinuz-linux. Then it should be automatically matched with /boot/initramfs-linux-fallback.img.

Or you can also use linux-lts as a fallback.

from sbupdate.

Maryse47 avatar Maryse47 commented on August 17, 2024

@kustodian keep in mind that unless you have some ancient hardware, booting from non-fallback initramfs doesn't have any benefits. By using both you would only waste space.

from sbupdate.

kustodian avatar kustodian commented on August 17, 2024

You're probably right. When I added autodetect hook to initramfs it reduced the size of it to about a half and I could feel the difference in boot times, because initramfs loaded faster. But now when I configured secure boot and generated a single efi binary, there isn't much of a difference, because the whole boot process is slower anyway. I'll just remove autodetect and it will be the same as fallback.

Thanks for your help and for writing and awesome tool.

from sbupdate.

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.