Posts: 75
equimanthorn
Joined: 28 Sep 2008
#1
yesterday I update to the new kernel following the istructions on the Antix site but...
how can I modify grub ?

I have use the terminal and not smxi, and the link I have in my bookmarks to a site about
the grub configuration isn't working

What I can do ?
Last edited by equimanthorn on 13 Nov 2013, 22:38, edited 1 time in total.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#2
I think you would run as root:
update-grub
in root terminal.
However this is only going to update the kernels in the menu.lst below the automatically updated line.
IIRC antiX has a default at the top of the menu.lst that is customized and will stay there, so after rebooting and trying the new kernel.
Run as root:
leafpad /boot/grub/menu.lst
which should open the menu.lst file.

From here you will need to move a section that looks like

Code: Select all

title        Debian GNU/Linux, kernel 3.7.10-antix.3-amd64-smp
root        (hd0,2)
kernel        /boot/vmlinuz-3.7.10-antix.3-amd64-smp root=UUID=9efda3e4-6a63-4b76-859c-53523861390f ro  nomodeset nouveau.modeset=0
initrd        /boot/initrd.img-3.7.10-antix.3-amd64-smp
To the top of the menu.lst, typically right under

Code: Select all

timeout 5
color cyan/blue white/blue
foreground ffffff
background 0639a1

gfxmenu /boot/grub/message
Make the title line of the part you copied whatever you would like to name it so you can remember... I typically rename it from"Debian GNU/" to in this case"antiX 13.1"

Save, close and reboot and the new kernel should be your first option
Posts: 75
equimanthorn
Joined: 28 Sep 2008
#3
Thanks Dave !
Excuseme if I thank you only now.