Help with editing grub

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
z06gal

Help with editing grub

Post by z06gal »

to change my default kernel. I am running Mint 12 rc and the 3.0 kernel does not run as well on my laptop as the 2.6.39 kernel. In boot, I have to select the "other linux versions" and find the kernel I want there. I want to boot to that kernel without having to do that so can someone tell me how to do that? Thanks in advance :wink:


Robin
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
wayne128

Re: Help with editing grub

Post by wayne128 »

z06gal wrote:to change my default kernel. I am running Mint 12 rc and the 3.0 kernel does not run as well on my laptop as the 2.6.39 kernel. In boot, I have to select the "other linux versions" and find the kernel I want there. I want to boot to that kernel without having to do that so can someone tell me how to do that? Thanks in advance :wink:


Robin
To set another default kernel that is in the grub2 menu, you can do the followings:

1. take note of which line is the kernel you want to boot on default, says it is 3rd line

2. open /etc/default/grub for editing
modify GRUB_DEFAULT:

3. GRUB_DEFAULT=2
save the file.

4. sudo update-grub
z06gal

Re: Help with editing grub

Post by z06gal »

Thanks Wayne! :D
Locked

Return to “Installation & Boot”