Thread: edit Grub?
View Single Post

   
  #5 (permalink)  
Old 01-19-2008, 08:40 AM
Edmund
 
Posts: n/a
Default Re: edit Grub?

sk8r-365 wrote:

> Government satellites recorded Edmund saying:
>
> <snip>
>> I only need the "Debian-GNU/Linux, kernel 26.18-4-686"
>> part. I tried to edit Grub and remove the opther options.
>> That works perfect, slight problem is however I cannot see
>> how to make such a selection "saved".
>> How do I restore it to only, or at least default
>> "Debian-GNU/Linux, kernel 26.18-4-686"

>
> While editing /boot/grub/menu.lst make Default be the number of the item
> (kernel choice) the one you desire. Remember, zero is the first item and
> one the second, so forth. I'll show you part of mine, but you don't have
> to show me yours:
>
> default 0
>
> title Debian GNU/Linux, kernel 2.6.18-4-686
> root (hd0,0)
> kernel /vmlinuz-2.6.18-4-686 root=/dev/sda3 ro vga=791
> initrd /initrd.img-2.6.18-4-686
> savedefault
>
> title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
> root (hd0,0)
> kernel /vmlinuz-2.6.18-4-686 root=/dev/sda3 ro single vga=791
> initrd /initrd.img-2.6.18-4-686
> savedefault
>
>
> You'll want to maintain a single-user mode for a time if something
> does go very wrong - as when you goof and screw the system while
> being root.

Thank you

Edmund
>


Reply With Quote