Comments (30)
If anybody is interested, i got rEFInd work perfectly.
from easy-arch.
yeah, I'll try to integrate both in the script. just gotta figure out a hassle-free way to do that.
from easy-arch.
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.
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.
I agree to change GRUB, so let me know when testing on hardware or VM is needed.
from easy-arch.
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.
@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.
@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.
I agree with @roseweeks. There should be an option to select which bootloader the user wants to use.
from easy-arch.
@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.
Alright I promised support for booting from snapshots and here we are.
from easy-arch.
Related Issues (20)
- [feature]: Adding more package options to script. HOT 3
- Consider switching to encrypted swap or zram HOT 10
- Adding normal user account HOT 2
- Adjustments to default mount settings HOT 1
- Problem with snapshots subvolume HOT 3
- Proposition: two hard drive setup & systemd boot HOT 8
- Follow opensuse's btrfs subvolumes layout HOT 14
- can i publish a based on script
- Consider switching to LUKS2 or encrypted /boot HOT 4
- Can't Install arch using it on vbox HOT 7
- wheel privilege HOT 2
- Failed to commit transaction conflicting files could not install files to new root HOT 2
- how to use swap partition instead of ZRAM HOT 1
- bios compatibility HOT 1
- Selecting Linux Hardened leads to GRUB rescue mode HOT 6
- Not working on Asus laptop (GL502VS) HOT 10
- Unbootable installation HOT 3
- Consider reducing ESP partition size HOT 2
- Mandatory Acess Control HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy-arch.