I don’t need a grub to display for 5 sec so i have edited the file and mkconfig it but i want to be more sure
Is this all right. I have said that and should i make sudo grub-mkconfig -o /etc/grub2.cfg will it remove that 5sec of grub screen.
Edit- I don’t know much about the grub but editing that part make me curious.
what are the difference between
sudo grub2-mkconfig -o /etc/grub2.cfg
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
I want to know about the file difference why there are two files and if i need to updating with the first one is enough.
/etc/grub2.cfg is just a softlink to
Just edit /etc/default/grub and edit the line
Afterwards, do a
grub2-mkconfig -o /boot/grub2/grub.cfgand reboot …
I coud not find this is this what i the screenshot says have you lookinto it
I think you’re trying to edit the wrong file. The file to edit is /etc/default/grub and not /etc/grub2.cfg.
sudo nano /etc/default/grub and modify GRUB_TIMEOUT=5 to GRUB_TIMEOUT=0. You could also set GRUB_TIMEOUT_STYLE=hidden if you don’t want any menu at boot.
grub2-mkconfig -o /boot/grub2/grub.cfg and
Done that though i can boot but i can see some error while booting into.
What kind of issue it is.?
Did i mess up the grub so do i need to install grub again freshly?
Here’s a solution:
I installed arch only with CLI(like installing Arch) with btrfs and everything works fine. But every time I turn GRUB shows me an error which says that a sparse file is not allowed, I looked in other forums but I could only find solutions for...
Reading time: 1 mins 🕑
Likes: 4 ❤
I don’t know if I’m allowed to post a link to another distro forum. I hope I can.
Are you using btrfs for /boot?
He’s indeed. I agree that having /boot on ext4 is a good idea and Fedora default.
Out of curiosity, if you change
GRUB_DEFAULT=0 and update
grub2-mkconfig -o /boot/grub2/grub.cfg do you get the same error when rebooting?
Yes was still there here is some output
$ cat /etc/default/grub
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
│ crypto 2 f7744b08-5ccc-489b-83d0-5407b2bd0df8
│ btrfs fedora_localhost-live
│ 55f27120-3127-4073-9a18-4166fd6765a0 301.5G 4% /
ntfs ntfs files
Even reinstall does remove that error