On Mon, Feb 1, 2010 at 2:24 PM, Chris Bannister <
mockingb...@earthlight.co.nz> wrote:

> On Mon, Feb 01, 2010 at 12:46:36PM +0000, hadi motamedi wrote:
> > Thank you for your reply .
> > - Yes , my computer boots to a login prompt .
>
> Good. Then DON"T mess with grub-install.
>
> > - When I press the 'e' key , nothing happens and after the timer expiry
> the
> > boot process will begin automatically . So I don't have chance to edit my
> > boot kernel .
> > - I don't see the grub menu . I just see the Debian logo and a timer that
> > counts down automatically .
>
> Ahhh, that might be the reason. You running splashy?
>
> > - I want to be able to edit the menu say putting it into single user mode
> by
> > adding 'single' at the end of the line , etc.
>
> I presume you want to make this change permanent. The only way to do
> that is by editing /boot/grub/menu.lst and running update-grub.
>
> You did run 'update-grub', didn't you?
>
> Editing the menu by pressing the 'e' key does not write any thing to
> menu.lst - it only allows you to change 'things' for that one boot. The
> changes are lost after that.
>
> But if you can't see the menu when you boot, how can you select "single
> user" mode anyway?  <scratches head.>
>
> But you should already have a single user mode if you ran update-grub.
>
> What is output of:
>
> grep -v '^#' /boot/grub/menu.lst
>
> --
>  Chris.
> ------
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>

Thank you for your message .
- So I won't try for 'grub-install' .
- How can I check if it is running splashy ?
- No , I don't want to make these changes permanent . I want to change them
for that one reboot . So I want to touch grub edit menu.
- Please find below the output of grep -v '^#' /boot/grub/menu.lst :
title     Debian GNU/Linux,kernel 2.4.27-2-386
root     (hd0,0)
kernel  /boot/vmlinuz-2.4.27-2-386 root=/dev/hda1 ro
initrd   /boot/initrd.img-2.4.27-2-386
savedefault
boot
title    Debian GNU/Linux , kernel 2.4.27-2-386 (recovery mode)
root    (hd0,0)
kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/hda1 ro single
initrd   /boot/initrd.img-2.4.27-2-386
savedefault
boot

Thank you

Reply via email to