Page 1 of 1
Editing grub
Posted: Sun Dec 09, 2012 7:50 pm
by natchezjohn
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?
Re: Editing grub
Posted: Sun Dec 09, 2012 9:08 pm
by mank_in
to avoid the pain , you can try install
Grub Customizer
But if you want to change manually, you can use terminal :
Code: Select all
grep menuentry /boot/grub/grub.cfg
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 :
Re: Editing grub
Posted: Sun Dec 09, 2012 9:25 pm
by natchezjohn
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
Re: Editing grub
Posted: Sun Dec 09, 2012 9:36 pm
by mank_in
works on ubuntu usually for for Mint too
Re: Editing grub
Posted: Sun Dec 09, 2012 9:42 pm
by natchezjohn
Thank you very much!!