Announcement

Collapse
No announcement yet.

Hardy Headaches

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Hardy Headaches

    Originally posted by Snowhog
    As 'root' you can edit the /boot/grub/menu.lst file.

    From the prompt, type:
    Code:
    cd /boot/grub
    vi menu.lst
    This will open the file for editing.

    Press your down arrow key until you are on the line that reads hiddenmenu This line is probably uncommented (has no # in front of it). If this is so, press the letter i (for insert mode) and press shift+3 to insert the # symbol. You should now have #hiddenmenu

    Press escape (this puts you back into command mode)

    To save the change and exit, press :wq (a colon, w, and q all together)

    Type cd and then type:
    Code:
    shutdown -r now
    to reboot. You should be presented with the Grub menu now. When you see it, press escape to stop the timer. You can then use your arrow keys to move up/down the list of kernel entries to boot from.

    Thanks - I think we've got confused a wee bit though !

    I've managed to get into recovery mode and got to the root prompt so it's /etc/hosts I need to modify, not the grub loader.

    I tried to follow the same process as you outlined but with

    Code:
    cd /etc 
    vi hosts
    instead of

    Code:
    cd /boot/grub
    vi menu.lst
    However, after editing, "Esc" didn't bring me back to command mode and I wasn't able to save the changes.



    Comment


      #17
      Re: Hardy Headaches

      In vi, pressing escape returns you to command mode. You don't 'see' anything. After pressing escape you press :wq The : puts vi into ex mode (execute). the w tells vi to write the changes and the q tells vi to quit.
      Using Kubuntu Linux since March 23, 2007
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #18
        Re: Hardy Headaches

        That's worked !

        Many, many thanks for your help (and forbearance !)

        Comment


          #19
          Re: Hardy Headaches

          You're welcome. Forbearance wasn't even a factor here. A member had a problem, and I felt I could lend some aid. That's what this Forum is all about.

          Welcome to the family!
          Using Kubuntu Linux since March 23, 2007
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment

          Working...
          X