OS: Debian Buster (UEFI)
I noticed we have two identical files, not symlinks, for Default GRUB.
1) The one we often edit is on:
/etc/default/grub
2) And then we have an identical file in:
/use/share/grub/default/grub
Is this a backup file, remnants of GRUB1, or UEFI related?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Why do we have two Default GRUB2 files/paths?
- Xeno Idaltu
- Posts: 47
- Joined: 2019-08-15 05:36
- Location: Free-Source Technocracy
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 462 times
Re: Why do we have two Default GRUB2 files/paths?
IIRC the one in /usr/share/grub/default/ (it's usr not use) is just a default template, the one in /etc/ is the active one.
They are not identical on my system.
They are not identical on my system.
Last edited by sunrat on 2020-03-12 00:20, edited 1 time in total.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Why do we have two Default GRUB2 files/paths?
Dorkish clarification post:
You've both been struck by typos, it's /usr/share. Yep, is a template-backup, not with custom changes of course. Generally a good idea getting into the habit of making and stashing copies of system files someone changes, including comments of where it was/is located(full path to where it is), reason, what/why you've changed it. I keep a directory named systemfiles.bak for this. Include system files I've created for whatever reason too. Old convention is renaming backup files to end with .bak, can even leave them in place next to the working original and doesn't cause issues. Only I prefer having them all in one place.
You have been clarified! By a dork no less!
You've both been struck by typos, it's /usr/share. Yep, is a template-backup, not with custom changes of course. Generally a good idea getting into the habit of making and stashing copies of system files someone changes, including comments of where it was/is located(full path to where it is), reason, what/why you've changed it. I keep a directory named systemfiles.bak for this. Include system files I've created for whatever reason too. Old convention is renaming backup files to end with .bak, can even leave them in place next to the working original and doesn't cause issues. Only I prefer having them all in one place.
You have been clarified! By a dork no less!
Most powerful FREE tech-support tool on the planet * HERE. *
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 462 times
Re: Why do we have two Default GRUB2 files/paths?
You talk too much. Typo fixed, thanks.Deb-fan wrote:You have been clarified! By a dork no less!
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!