Coder Social home page Coder Social logo

Switching bootloaders about easy-arch HOT 30 OPEN

classy-giraffe avatar classy-giraffe commented on August 26, 2024
Switching bootloaders

from easy-arch.

Comments (30)

classy-giraffe avatar classy-giraffe commented on August 26, 2024 2

image

If anybody is interested, i got rEFInd work perfectly.

from easy-arch.

classy-giraffe avatar classy-giraffe commented on August 26, 2024 1

yeah, I'll try to integrate both in the script. just gotta figure out a hassle-free way to do that. 😆

from easy-arch.

classy-giraffe avatar classy-giraffe commented on August 26, 2024 1

kinda unrelated to this, i wanna put all the contributors (both through donations, pushing code, commenting etc..) in a section since this project right here exists thank to you all here as well 👑

from easy-arch.

classy-giraffe avatar classy-giraffe commented on August 26, 2024 1

As I've been suggested, I created an experimental branch. The new script is located here and it works quite well. I'll add support for booting from a btrfs volume and secure boot soon.

from easy-arch.

Cyfraka avatar Cyfraka commented on August 26, 2024

I agree to change GRUB, so let me know when testing on hardware or VM is needed.

from easy-arch.

classy-giraffe avatar classy-giraffe commented on August 26, 2024

The only viable alternative for now is rEFInd as it's the only bootloader (apart from GRUB) which supports booting into btrfs snapshots.

from easy-arch.

mariolopjr avatar mariolopjr commented on August 26, 2024

@classy-giraffe would totally like other bootloaders, rEFInd would be perf! TBH, getting systemd-boot to work with LUKS has been ... not ideal and doesn't seem to support snapshots!

from easy-arch.

 avatar commented on August 26, 2024

@classy-giraffe
rEFInd is a great little bootloader, although I find it a bit slow when it has to deal with hunting through many devices for things to chain.

Could this perhaps be a selectable option between it and GRUB? Although I totally sympathise with the GRUB hate.

from easy-arch.

iSparsh avatar iSparsh commented on August 26, 2024

I agree with @roseweeks. There should be an option to select which bootloader the user wants to use.

from easy-arch.

pm4rcin avatar pm4rcin commented on August 26, 2024

@classy-giraffe would totally like other bootloaders, rEFInd would be perf! TBH, getting systemd-boot to work with LUKS has been ... not ideal and doesn't seem to support snapshots!

Getting systemd-boot to work with LUKS is really easy if you RTFM and spend a few hours to understand :D (like me). The only thing I needed to do was add:

options rd.luks.uuid=UUID rootflags=subvol=@

Of course UUID is easy to extract by blkid. It's the UUID of /dev/mapper/ourname
I think the https://systemd.io/DISCOVERABLE_PARTITIONS/ has found the root automatically after setting the partition as "Linux root (x86-64)" with cfdisk which has UUID: 4f68bce3-e8cd-4db1-96e7-fbcaf984b709.

PS. Regarding the initramfs I've used booster and it works just fine without any configuration.
PS. 2 I thought of putting systemd-networkd and systemd-resolved on my laptop to replace networkmanager but... If you want to use more things than just wired ethernet. For example to use wifi with iwd or even qemu VMs I think NetworkManager is better suited for desktop. In my opinion systemd-networkd would be great for server which has static config. Or at least if there was some dbus interface which is non existing on networkd. So for now use networkmanager + iwd.
PS. 3 Your config for zram works.
PS. 4 doas works great as sudo replecement but make sure to read the whole page (it's not long) because many programs expect sudo to be present so we need to make symlink.
PS. 5 pipewire and pipewire-pulse they just work as expected.
PS. 6 I've configured snapper with the help of your script but haven't had time to test snapshots with systemd-boot and the script that I linked in another post.
PS. Sorry for off-topic but just wanted to let you know to think twice if you plan to try implementing things like that here and just wanted to provide feedback.

from easy-arch.

classy-giraffe avatar classy-giraffe commented on August 26, 2024

image
Alright I promised support for booting from snapshots and here we are.

from easy-arch.

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.