how to edit grub boot list

hello

how to edit the list of boot options that appears at boot time in grub
in the grand old days there used to be a file named “menulist” or the something that
i cannot find it anymore

the problem is that i removed some disk from the machine and want to kill the item pointing to this disk

thanks

jean pierre aubry

On 2014-04-02 10:46, dedalus2 wrote:
>
> hello
>
> how to edit the list of boot options that appears at boot time in grub
> in the grand old days there used to be a file named “menulist” or the
> something that
> i cannot find it anymore

It is automatically generated.
It is “/boot/grub2/grub.cfg”, but any edit you do disappears on the next
autoconfiguration, like on kernel updates.

> the problem is that i removed some disk from the machine and want to
> kill the item pointing to this disk

I think that you have to run “os-prober”.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Running “update-bootloader --refresh” should be enough.