You are not logged in.

#1 2021-12-29 12:05:47

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

pacman -Syu and new file grub.cfg.new [solved]

Following  updating system using

sudo pacman -Syu 

I noticed a new file grub.cfg.new

I'm guessing i should do something like

 

sudo  mv  /boot/grub/grub.cfg   /boot/grub/grub.cfg.bk 
sudo mv /boot/grub/grub.cfg.new   /boot/grub/grub.cgf
sudo grub-mkconfig -o   /boot/grub/grub.cfg
// am I right about doing this ? 
  

I've googled and no entries came up mentioning the creation of the grub.cfg.new

Grub version following update is :

  

[andrew@darkstar:~]$ sudo pacman grub -Qi                                 (12-29 11:46)
[sudo] password for andrew:
Name            : grub
Version         : 2:2.06-3
  

  Also following my googling I noticed entry about grub-customizer  pkg ; i've read somewhere not to use that is using manjaro. Obviously i'm on vanilla Arch , so  what will grub-customizer do for me ?

Last edited by captain_sensible (2021-12-30 08:09:12)

Offline

#2 2021-12-29 12:39:53

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 636

Re: pacman -Syu and new file grub.cfg.new [solved]

I've googled and no entries came up mentioning the creation of the grub.cfg.new

Odd

https://www.google.com/search?q=grub.cf … hlinux.org

Offline

#3 2021-12-29 13:12:07

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: pacman -Syu and new file grub.cfg.new [solved]

@OP: is your GRUB configuration functional? If so then you don't need to generate a new grub.cfg or move the current version away (which is pointless anyway if you intend to overwrite it). And note the grub-mkconfig doesn't accept "-0" as an option; read the man page again.


Jin, Jîyan, Azadî

Offline

#4 2021-12-29 14:21:53

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: pacman -Syu and new file grub.cfg.new [solved]

cheers @Zod   mmm  must have left my glasses off

@Head_on_a_stick

yes after update, laptop is booting fine ;i just assumed there would be some  benefit from the new grub.cfg will read  links that came up !

Offline

#5 2021-12-29 23:02:49

ratcheer
Member
Registered: 2011-10-09
Posts: 924

Re: pacman -Syu and new file grub.cfg.new [solved]

The only thing that I could see was the addition of a commented-out new option:

# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
#GRUB_DISABLE_OS_PROBER=false

Offline

#6 2021-12-29 23:58:18

loqs
Member
Registered: 2014-03-06
Posts: 18,987

Re: pacman -Syu and new file grub.cfg.new [solved]

See https://github.com/archlinux/svntogit-p … grub/trunk for the changes with the grub 2:2.06-3 release.

Offline

Board footer

Powered by FluxBB