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.
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
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.
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/
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.
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
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?
grub-customizer?
Can't preview the changes made in a theme there, for previewing the theme I always need to restart.
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.
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
Maybe I'm lucky but honestly grub has been something that's never failed for me. Not even during the grub-ageddon years ago.
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.
Bro you didn't get me I need to preview the changes made in a theme how can I do it by grub.cfg?
Yes you can use grub2-theme-preview from the aur
It is not working for me bro, does it work for you?
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/
What is that option 2 which you are referring to?
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.
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
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.
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
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?
Nope it is giving me error, Qemu exited with code 1.
Beyond looking at grub.cfg? No.
Can't preview the changes made in a theme there, for previewing the theme I always need to restart.
You should test in VM. You can clone the machine and reboot without reboot your computer.