I have Mint on sda1 and ubuntu on sda6. Grub is on sda.
I want to replace ubuntu but fear that doing so will put the new os as first on the log in.
If so I'll need to edit the grub file BUT I DON'T KNOW HOW TO ACCESS IT. Once I do I'll probably be back here for assistance in doing so.
But I gotta find it first. How do I do that?
Editing grub
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Editing grub
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Editing grub
to avoid the pain , you can try install Grub Customizer
But if you want to change manually, you can use terminal :
You will see something like this ( i use my grub for sample ) :
Linux Mint 14 Cinnamon 32-bit, 3.5.0-17-generic (/dev/sda3)'
Linux Mint 14 Cinnamon 32-bit, 3.5.0-17-generic (/dev/sda3) -- recovery mode
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
the first one is menuentry 0 , so Memory test (memtest86+, serial console 115200) is menuentry 4
executed:
Cinnamon :
MATE:
change :
GRUB_DEFAULT=0
to whatever menuentry you choose, if ubuntu is menuentry 5 and LM is 0 change 5 to 0
save it.
execute :
But if you want to change manually, you can use terminal :
Code: Select all
grep menuentry /boot/grub/grub.cfg
Linux Mint 14 Cinnamon 32-bit, 3.5.0-17-generic (/dev/sda3)'
Linux Mint 14 Cinnamon 32-bit, 3.5.0-17-generic (/dev/sda3) -- recovery mode
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
the first one is menuentry 0 , so Memory test (memtest86+, serial console 115200) is menuentry 4
executed:
Cinnamon :
Code: Select all
sudo gedit /etc/default/grub
Code: Select all
sudo pluma /etc/default/grub
GRUB_DEFAULT=0
to whatever menuentry you choose, if ubuntu is menuentry 5 and LM is 0 change 5 to 0
save it.
execute :
Code: Select all
sudo update-grub
Re: Editing grub
I see. Looks like something even I could do.
But using Grub Customizer would be even easier. Do it work on mint? I assume so as mint is a ubunto derivative.
Thank you,
John
But using Grub Customizer would be even easier. Do it work on mint? I assume so as mint is a ubunto derivative.
Thank you,
John