You are not logged in.
Pages: 1
I have Linux-Hardened, LInux-LTS and Linux-Arch installed.
After a recent update Linux-LTS took over as the default.
What commands do you reccomend me to use to make Linux-Hardened my default?
"Open/Free Source the future!"
Offline
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Mod note: moving to NC
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I went to /etc/default/grub to change what kernel I want the sytem to use on start up.
I tried everything and I still get linux-lts as my default.
"Open/Free Source the future!"
Offline
You "went" there... Did you do anything?
You "tried everything": what does that mean?
Please read How To Ask Questions The Smart Way and include some actual details. Like your config, for a start.
Moving to Newbie Corner.
Offline
1) I entered this command to know what I have installed:
sudo grub-mkconfig -o /boot/grub/grub.cfg
2) I entered this command to know what number I should use for linux-hardened. It has the number 4, therefore I should use 3, because I need to subtract it by one.
sudo grep "menuentry '" /boot/grub/grub.cfg | less -N
3) I entered kernel boot order number:
sudo nano /etc/default/grub
4) I changed the number from 0 to 3:
GRUB_DEFAULT=0 now GRUB_DEFAULT=3
5) I updated GRUB menu:
sudo grub-mkconfig -o /boot/grub/grub.cfg
6) I rebooted and nothing changed.
Could it be that it is conflicting with:
GRUB_FORCE_HIDDEN_MENU="true"
Beause now I can't even hold the Shift Key to unhide the GRUB Menu at startup. -___-
Last edited by Xeno_Idaltu (2017-12-12 05:13:05)
"Open/Free Source the future!"
Offline
Perhaps Arch's GRUB is not "controlling" the boot process, a quick way to correct this would be to run `grub-install` again.
We should probably check first though: are you booted in UEFI mode?
If so, can we please see the full output of:
# efibootmgr -vIf that command errors out then you are not booted in UEFI mode ![]()
Could it be that it is conflicting with:
GRUB_FORCE_HIDDEN_MENU="true"
Beause now I can't even hold the Shift Key to unhide the GRUB Menu at startup. -___-
^ This statement is inconsistent with:
I rebooted and nothing changed
Please clarify.
And no, I don't think the hidden menu option can "conflict" with the default entry setting.
EDIT: GRUB_DEFAULT also accepts the title of a menuentry as well as the number, that may be easier to work with.
Last edited by Head_on_a_Stick (2017-12-12 07:21:15)
Jin, Jîyan, Azadî
Offline
No, I'm not using UEFI this time.
I downloaded a cool KDE based app from AUR: grub2-editor-frameworks and it works like I want it to.
However, I'd like to fix this issue and not use grub2-editor-frameworks ![]()
You want me to uinstall GRUB2 and then install/mount it again?
"Open/Free Source the future!"
Offline
Merging with your existing topic. Please don't crosspost.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
3) I entered kernel boot order number:
sudo nano /etc/default/grub4) I changed the number from 0 to 3:
GRUB_DEFAULT=0 now GRUB_DEFAULT=35) I updated GRUB menu:
sudo grub-mkconfig -o /boot/grub/grub.cfg6) I rebooted and nothing changed.
Did you check /boot/grub/grub.cfg to see if the default was set correctly?
Have you tried using the title of the menuentry instead of the order number, as I suggested?
I downloaded a cool KDE based app from AUR: grub2-editor-frameworks and it works like I want it to.
Does that change /boot/grub/grub.cfg in the same way that your `grub-mkconfig` command did?
That a GUI front end works but `grub-config` does not is most perplexing.
Please post your entire /etc/default/grub here, probably /boot/grub/grub.cfg as well.
Jin, Jîyan, Azadî
Offline
Sorry for my naive comment but would I be exposing data if I post that info since it has UUID info?
"Open/Free Source the future!"
Offline
The UUID uniquely identifies a partition, are you afraid that someone might be stealing your hard disk and will then be able to identify your online persona by tracing back the UUID they found to your post here? Then you might want to blank it, but really this information is useless to most people.
Offline
Not afraid, just learning as I read.
"Open/Free Source the future!"
Offline
I have Linux-Hardened, LInux-LTS and Linux-Arch installed.
After a recent update Linux-LTS took over as the default.
What commands do you reccomend me to use to make Linux-Hardened my default?
Hi @Xeno_Idaltu, what you need to do is as follows:-
Insert the following line in your grub config file (/etc/default/grub):-
GRUB_DISABLE_SUBMENU=yThen set the default menu entry by modifying for e.g.:-
GRUB_DEFAULT=2Follow this by updating your actual grub config file (/boot/grub/grub.cfg):-
grub-mkconfig -o /boot/grub/grub.cfgThe correct menu entry in grub should now be correctly selected. Grub by default uses a submenu to hide most of your kernel entrys and as a consequence the GRUB_DEFAULT option fails to work correctly. Disabling the submenu corrects this.
Last edited by GrimBandito (2017-12-14 10:07:13)
Offline
Pages: 1