edit Grub?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > edit Grub?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    edit Grub?  
Edmund


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 06:13 PM

Debian Etch
I installed a wrong of Debian-GNU/linux, now my system
boots up and I see something like this:


Debian-GNU/Linux, kernel 26.18-4-k7
Debian-GNU/Linux, kernel 26.18-4-686
Debian-GNU/Linux, kernel 26.18-4-686 single user
Debian-GNU/Linux, kernel 26.18-4-server

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"

Edmund





[ Post a follow-up to this message ]



    Re: edit Grub?  
ray


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 06:13 PM

On Sat, 11 Aug 2007 14:29:18 +0200, Edmund wrote:

> Debian Etch
> I installed a wrong of Debian-GNU/linux, now my system
> boots up and I see something like this:
>
>
> Debian-GNU/Linux, kernel 26.18-4-k7
> Debian-GNU/Linux, kernel 26.18-4-686
> Debian-GNU/Linux, kernel 26.18-4-686 single user
> Debian-GNU/Linux, kernel 26.18-4-server
>
> 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"
>
> Edmund

edit /boot/grub/menu.lst






[ Post a follow-up to this message ]



    Re: edit Grub?  
sk8r-365


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 06:13 PM

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 (ke
rnel
choice) the one you desire. Remember, zero is the first item and one the sec
ond,
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.

--
sk8r-365

http://goodbye-microsoft.com/





[ Post a follow-up to this message ]



    Re: edit Grub?  
Edmund


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 06:13 PM

ray wrote:

> On Sat, 11 Aug 2007 14:29:18 +0200, Edmund wrote:
> 
>
> edit /boot/grub/menu.lst

Thank you.

Edmund






[ Post a follow-up to this message ]



    Re: edit Grub?  
Edmund


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-11-07 06:13 PM

sk8r-365 wrote:

> Government satellites recorded Edmund saying:
>
> <snip> 
>
> 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
>






[ Post a follow-up to this message ]



    Re: edit Grub?  
Paul Cupis


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-15-07 12:12 PM

Edmund wrote:
> Debian Etch
> I installed a wrong of Debian-GNU/linux, now my system
> boots up and I see something like this:
>
> Debian-GNU/Linux, kernel 26.18-4-k7
> Debian-GNU/Linux, kernel 26.18-4-686
> Debian-GNU/Linux, kernel 26.18-4-686 single user
> Debian-GNU/Linux, kernel 26.18-4-server
>
> 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"

Maybe you are looking for the 'update-grub' command, but I would
recommend not editing the kernel lists in grub.conf directly but instead
uninstalling any kernels you do not require and let update-grub manage
the kernel list.

>
> Edmund





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:54 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register