Slackware on VirtualBox, can't upgrade GRUB
by thethinker from LinuxQuestions.org on (#6GHK0)
I installed Slackware-15 on VirtualBox 7.0.12 and I'm having trouble customizing the GRUB installation:
Code:# grub-install --version
grub-install (GRUB) 2.06When I power up the VM, the grub menu shows two huge kernel options, and then a third menu option for all the kernels - and the kernel I want to default is in that menu. I've tried things like adding this to /etc/default/grub
Code:GRUB_DISABLE_SUBMENU=yAlso, tried to default one of the submenu items with
Code:GRUB_DEFAULT="2>1"And then I run grub-mkconfig, and it seems to work - here's an example:
Code:...
save_env next_entry
set boot_once=true
else
set default="2>1"
fi
...(that's part of grub.cfg, appears like the changes have happened.)
But no matter what I do, I get the same GRUB menu at the beginning. Anyone have any idea what's going on?
Code:# grub-install --version
grub-install (GRUB) 2.06When I power up the VM, the grub menu shows two huge kernel options, and then a third menu option for all the kernels - and the kernel I want to default is in that menu. I've tried things like adding this to /etc/default/grub
Code:GRUB_DISABLE_SUBMENU=yAlso, tried to default one of the submenu items with
Code:GRUB_DEFAULT="2>1"And then I run grub-mkconfig, and it seems to work - here's an example:
Code:...
save_env next_entry
set boot_once=true
else
set default="2>1"
fi
...(that's part of grub.cfg, appears like the changes have happened.)
But no matter what I do, I get the same GRUB menu at the beginning. Anyone have any idea what's going on?