<br><br>
<div class="gmail_quote">On Mon, Feb 1, 2010 at 9:11 AM, James Hogarth <span dir="ltr"><<a href="mailto:james.hogarth@gmail.com">james.hogarth@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">On 1 February 2010 08:33, hadi motamedi <<a href="mailto:motamedi24@gmail.com">motamedi24@gmail.com</a>> wrote:<br>><br>><br>> On Mon, Feb 1, 2010 at 8:24 AM, MHR <<a href="mailto:mhullrich@gmail.com">mhullrich@gmail.com</a>> wrote:<br>
>><br>>> On Mon, Feb 1, 2010 at 12:04 AM, hadi motamedi <<a href="mailto:motamedi24@gmail.com">motamedi24@gmail.com</a>><br>>> wrote:<br>>> > Dear All<br>>> > On my CentOS server , the '/boot/grub/menu.lst' has the right<br>
>> > configuration<br>>> > but when I reboot my CentOS server I cannot enter to grub edit menu to<br>>> > edit<br>>> > my boot kernel by pressing the 'e' key . Can you please confirm if I can<br>
>> > activate it through issuing the followings :<br>>> > #grub-install /dev/hdax<br>>> > Is it a safe procedure to try with? Please confirm.<br>>> > Thank you<br>>> ><br>>><br>
>> Are you starting with a <space> to interrupt the boot?<br>>><br>>> Have you tried editing it using a normal editor (vi or emacs) as root<br>>> while the system is up?<br>>><br>>> What exactly are you trying to do?<br>
>><br>>> mhr<br>>> _______________________________________________<br>>> CentOS mailing list<br>>> <a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>>> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
><br>><br>> Thanks for your message . When I reboot my CentOS server I see the the menu<br>> with a timer but I cannot enter to edit my boot kernel by pressing 'e' key .<br>> Then the timer will expire and the boot process will begin . I want to be<br>
> able to edit my kernel through grub edit so I asked if I can try for<br>> 'grub-install /dev/hdax' w/o any harm on my CentOS server . Do you mean I<br>> can edit my '/boot/grub/menu.lst' by vi the same as I want to do inside my<br>
> grub edit ? Are they the same procedures ? Please confirm.<br>><br>> _______________________________________________<br>> CentOS mailing list<br>> <a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
> <a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>><br>><br><br></div></div>When grub runs it will read /boot/grub/menu.lst to determine it's<br>
configuration. There is no need to run grub-install for a change to<br>configuration as that just installs the stage 1 boot loader code in<br>the MBR or partition. ALSO SO FAR AS I recakk (migth be wrong) any<br>edits done to the configuration via 'e' from the grub menu (which<br>
sounds like what you want to do) are non-persistent and it's more for<br>debugging and//or booting with a broken configuration... If you can<br>get into the system itself edit /boot/grub/menu.lst ....<br><br>Phew... thankfully we don't have grub2 in centos yet and issues<br>
surrounding module loading and the /etc/grub.d architecture ;)<br>
<div>
<div></div>
<div class="h5">_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div>
<div><br> </div>
<div>With many thanks for your confirmation .</div>
<div> </div>