Thank you, this worked for me.gm10 wrote: ↑Thu Jan 31, 2019 9:07 pm
In a terminal window run:followed byCode: Select all
sudo sed -i "/recordfail_broken=/{s/1/0/}" /etc/grub.d/00_header
The reason for the change is that the maintainer at Ubuntu doesn't know when to press Shift during boot and only know to bring up the menu via Ctrl+Alt+Del, which won't work with GRUB installed to an LVM partition, so they thought they'd just force 30 seconds of menu on everyone using EFI + LVM. Genius...!Code: Select all
sudo update-grub
[Solved] Grub2 Timeout 30 seconds after today's update
Forum rules
Before you post please read how to get help
Before you post please read how to get help
-
- Level 1
- Posts: 1
- Joined: Sat Jul 20, 2019 4:48 pm
Re: Grub2 Timeout 30 seconds after today's update
Re: Grub2 Timeout 30 seconds after today's update
LVM is the future? Surely?!? Live resizing on supported file systems is a pretty good advantage. However with one root partition as default, maybe less so! I never did see the need for separate /home. To me /home & root work in tandem & side hopping to openSUSE while preserving my precious /home partition will not help anyone....Pjotr wrote: ↑Sun Feb 03, 2019 5:09 amEverybody who has checked the LVM box (in Ubiquity) during installation of Mint: are you sure that you had a good reason for doing that? If not, you shouldn't have checked that box at all.
In most cases, LVM is just an unnecessary complication with no advantages at all, which can cause serious trouble.
Lenovo ThinkPad X250 i7 ~ Mint 20 Cinnamon
Re: [Solved] Grub2 Timeout 30 seconds after today's update
fleamour wrote "LVM is the future? Surely?!?"
Btrfs already has instant snapshots and online resizing. I've had great success with it.
Btrfs already has instant snapshots and online resizing. I've had great success with it.
To mark this issue solved, go to your original 1st post and click the edit pencil and add [Solved] at the beginning of the title and click Submit.
Mint accepts donations: https://linuxmint.com/donors.php
Mint accepts donations: https://linuxmint.com/donors.php
-
- Level 1
- Posts: 1
- Joined: Thu Dec 19, 2019 10:23 pm
Re: [Solved] Grub2 Timeout 30 seconds after today's update
After taking a quick look at
Code: Select all
/etc/grub.d/00_header
Code: Select all
btrfs | cpiofs | newc | odc | romfs | squash4 | tarfs | zfs
The fix outlined here tells Grub that the recordfail is not broken, i'm wondering if there should be an update submitted to the upstream project to fix the bug they introduced.
Looking more into the bug, https://bugs.launchpad.net/ubuntu/+sour ... ug/1800722, as others have mentioned here it is a fix for EFI+LVM, but when you aren't using LVM, but are using EFI you're forced into this scenario, as is pointed out here, https://bugs.launchpad.net/ubuntu/+sour ... omments/16.
The forced menu is due to the check for EFI that was added, which overrides any user configurations, timeout_style=menu.
Re: Grub2 Timeout 30 seconds after today's update
This solution doesn't work on Linux Mint 20 x86_64 MATE. UEFI enabled. Partitions:gm10 wrote: ↑Thu Jan 31, 2019 9:07 pmIn a terminal window run:followed byCode: Select all
sudo sed -i "/recordfail_broken=/{s/1/0/}" /etc/grub.d/00_header
The reason for the change is that the maintainer at Ubuntu doesn't know when to press Shift during boot and only know to bring up the menu via Ctrl+Alt+Del, which won't work with GRUB installed to an LVM partition, so they thought they'd just force 30 seconds of menu on everyone using EFI + LVM. Genius...!Code: Select all
sudo update-grub
Code: Select all
$ mount |grep sda
/dev/sda2 on / type btrfs (rw,noatime,nodiratime,ssd,space_cache,subvolid=257,subvol=/@)
/dev/sda2 on /home type btrfs (rw,noatime,nodiratime,ssd,space_cache,subvolid=258,subvol=/@home)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
Desktop: AMD Ryzen 5 1600X (12) @ 3.6GHz | 16GB RAM @ 3200MHz | Palit GeForce® GTX 1080 Ti GameRock Premium Edition
Samsung SM961 256GB NVMe | 2x Seagate BarraCuda 2TB 7200 RPM 64MB Cache @ RAID1 | OS: Debian GNU/Linux 10 (buster) x86_64
Samsung SM961 256GB NVMe | 2x Seagate BarraCuda 2TB 7200 RPM 64MB Cache @ RAID1 | OS: Debian GNU/Linux 10 (buster) x86_64
Re: [Solved] Grub2 Timeout 30 seconds after today's update
Same issue with btrfs. Grub can't write the btrfs boot partition so you end up with this.
Add the line
GRUB_RECORDFAIL_TIMEOUT=5
To /etc/default/grub
Then run update-grub
Add the line
GRUB_RECORDFAIL_TIMEOUT=5
To /etc/default/grub
Then run update-grub
-
- Level 1
- Posts: 10
- Joined: Wed Jun 14, 2017 6:50 am
Re: Grub2 Timeout 30 seconds after today's update
Thank you, this solved my issue. and saves me a few seconds of boot timegm10 wrote: ↑Thu Jan 31, 2019 9:07 pmIn a terminal window run:followed byCode: Select all
sudo sed -i "/recordfail_broken=/{s/1/0/}" /etc/grub.d/00_header
Code: Select all
sudo update-grub
