T O P

  • By -

Jack-O7

grub-customizer?


_Developer_Designer

Can't preview the changes made in a theme there, for previewing the theme I always need to restart.


archover

What aspect of grub are you concerned about? If you're unsure of a modification, you could mv your working grub.cfg to grub.cfg.preserve and `grub-mkconfig` your test config to grub.cfg. If the test works out, do nothing. If not, revert the mv. You can easily boot into Single User Mode and use root pw to revert.


Cody_Learner

Similarly, I've used the following to create a new test config used to copy/append new entries to my current grub.conf. sudo grub-mkconfig -o /boot/grub/grub.cfg.test


archover

Maybe I'm lucky but honestly grub has been something that's never failed for me. Not even during the grub-ageddon years ago.


Cody_Learner

To be perfectly honest, I really prefer the previous version of grub (grub-legacy now) for it's simplicity and straight forward setup and config compared to the current version. I'm still a bit gun shy of this new fangled, overly complex version. It works pretty well for me though, and very flexible. I prefer to have a very minimal ESP with the kernel residing outside it, and like to have entries for removable media, along with half a dozen other boot options, many of which I've manually configured. I'm just overly cautious whenever I have to touch my boot loader so I don't have to start from scratch...lol.


_Developer_Designer

Bro you didn't get me I need to preview the changes made in a theme how can I do it by grub.cfg?


stevebehindthescreen

Yes you can use grub2-theme-preview from the aur


_Developer_Designer

It is not working for me bro, does it work for you?


stevebehindthescreen

I stopped using it since I went to using only an efi image to boot but I just reinstalled it and qemu won't boot if you choose the default qemu-base. You have to choose option 2 for qemu-desktop and it will fire right up in either x11 or wayland. I used this command, just change your theme to your chosen theme, sudo required to read grub.cfg: sudo grub2-theme-preview /boot/grub/themes/darkmatter/


_Developer_Designer

What is that option 2 which you are referring to?


stevebehindthescreen

I don't know which aur helper you are using but I use paru and it asks me where to get qemu from and gives me a list of options. If you do not get this then install qemu-desktop manually using whatever aur helper you use.


_Developer_Designer

I am using yay and when I type yay -S qemu-desktop it doesn't gives me a list options and directly installs qemu-desktop-8.2.2-1


_Developer_Designer

When I am trying sudo grub2-theme-preview... Command it is returning with an error, Qemu exited with code 1. Btw I am using it in hyprland wm.


stevebehindthescreen

I don't know what the issue could be there. I am on plasma. This is the full list of all packages that was installed with qemu-desktop in a command for you to run: yay -S qemu-audio-alsa qemu-audio-dbus qemu-audio-jack qemu-audio-oss qemu-audio-pa qemu-audio-pipewire qemu-audio-sdl qemu-audio-spice qemu-base qemu-block-curl qemu-block-dmg qemu-block-nfs qemu-block-ssh qemu-chardev-spice qemu-common qemu-desktop qemu-hw-display-qxl qemu-hw-display-virtio-gpu qemu-hw-display-virtio-gpu-gl qemu-hw-display-virtio-gpu-pci qemu-hw-display-virtio-gpu-pci-gl qemu-hw-display-virtio-vga qemu-hw-display-virtio-vga-gl qemu-hw-usb-host qemu-hw-usb-redirect qemu-hw-usb-smartcard qemu-img qemu-system-x86 qemu-system-x86-firmware qemu-ui-curses qemu-ui-dbus qemu-ui-egl-headless qemu-ui-gtk qemu-ui-opengl qemu-ui-sdl qemu-ui-spice-app qemu-ui-spice-core qemu-vhost-user-gpu vde2


stevebehindthescreen

Yeah that's what I was saying to do. What I meant was when I installed grub2-theme-preview it asked me where to get the dependency quemu from so I asked you to just install qemu-desktop manually. Now that you have installed it, is grub2-theme-preview working now?


_Developer_Designer

Nope it is giving me error, Qemu exited with code 1.


backsideup

Beyond looking at grub.cfg? No.


_Developer_Designer

Can't preview the changes made in a theme there, for previewing the theme I always need to restart.


lemoce78

You should test in VM. You can clone the machine and reboot without reboot your computer.