How can I modify files in / ?

I want to customize my grub but it's a real pain, /usr is read only, I found oestree admin unlock but it's just not viable at all since I don't really want to make changes just for it to be removed upon reboot
18 Replies
selkii
selkiiOP4w ago
I just want to add a grub theme
amel
amel4w ago
Universal Blue
Grub Theming Guide for Silverblue / Ublue
Removing duplicate Grub entries: https://discussion.fedoraproject.org/t/why-does-grub2-present-twice-double-menuentry-for-each-ostree-entry/73990 sudo grub2-switch-to-blscfg sudo grub2-mkconfig -o /etc/grub2.cfg Finding a Grub theme: https://www.pling.com/browse?cat=109&ord=latest Place the theme folder in: /boot/grub2/themes/ Using a Grub ...
selkii
selkiiOP4w ago
oh thanks, I searched everywhere but didn't think of searching on the ublue forum
selkii
selkiiOP4w ago
Hmmm, still won’t work.. at least some changes finally appeared, I also don’t know why the bazzite entries just duplicates
No description
selkii
selkiiOP4w ago
There’s like two of each os tree:1 and ostree:0
amel
amel4w ago
Universal Blue
Grub Theming Guide for Silverblue / Ublue
Removing duplicate Grub entries: https://discussion.fedoraproject.org/t/why-does-grub2-present-twice-double-menuentry-for-each-ostree-entry/73990 sudo grub2-switch-to-blscfg sudo grub2-mkconfig -o /etc/grub2.cfg Finding a Grub theme: https://www.pling.com/browse?cat=109&ord=latest Place the theme folder in: /boot/grub2/themes/ Using a Grub ...
amel
amel4w ago
probably need to run that first
selkii
selkiiOP4w ago
run what it's the same link
amel
amel4w ago
Removing duplicate Grub entries:
https://discussion.fedoraproject.org/t/why-does-grub2-present-twice-double-menuentry-for-each-ostree-entry/73990
sudo grub2-switch-to-blscfg
sudo grub2-mkconfig -o /etc/grub2.cfg
Removing duplicate Grub entries:
https://discussion.fedoraproject.org/t/why-does-grub2-present-twice-double-menuentry-for-each-ostree-entry/73990
sudo grub2-switch-to-blscfg
sudo grub2-mkconfig -o /etc/grub2.cfg
if you havent
selkii
selkiiOP4w ago
I did oh hold on there was an error when I did the first command I didnt think much of it it cannot find /usr/lib/ostree-bot/efi/EFI/fedora/ the efi folder is empty
amel
amel4w ago
what about sudo ls /boot/efi/EFI/fedora/? honestly not familiar with grub stuff and dual booting so i'm not sure i can help further sorry
dreamyuki
dreamyuki4w ago
Be careful when doing grub theming U can make your system unbootable
Anze
Anze4w ago
I'm in same boat OP, tried to theme grub, well I successfully did it and now bam duplicate entries in grub and same error as you on command sudo grub2-switch-to-blscfg
selkii
selkiiOP4w ago
I think I am just planning anyways to just remove the dual boot and bazzite, there's random irrecoverable freezes that's just annoying, and it's a bit too frequent its ok I have live USBs
Anze
Anze4w ago
this doesn't seem related to dual boot, but somehow to ostree This fix doesn't work anymore because usr/lib/ostree-bot/efi is empty https://discussion.fedoraproject.org/t/why-does-grub2-present-twice-double-menuentry-for-each-ostree-entry/73990I and being read only it cannot even be restored
Kyle Gospo
Kyle Gospo4w ago
Don't do this We recommend you don't
amel
amel4w ago
huh alright. the bazzite wiki still refers to it though, without warnings. probably a good time to update it? https://docs.bazzite.gg/General/community-links/?h=grub#customization-themes
Community Resources - Bazzite Documentation
Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices.
Anze
Anze3w ago
yeah that's where I got the instructions.. is there any actual fix for duplicate entries or do we just have to live with it ? so far nothing worked

Did you find this page helpful?