How to hide recovery mode at boot up? Help needed!

Discussion in 'Linux' started by morningching, May 22, 2010.

  1. morningching

    morningching

    Joined:
    Aug 4, 2008
    Messages:
    31
    Likes Received:
    0
    Hi guys,
    I want to hide recovery mode at boot up. I got the instruction from Grub2 tutorial.I find the file but my question is- How to open and edit the following file? I tried to open in my home folder but I can't edit. What is the command to open and enable to edit. Here is the line to be edited:

    Omitting Recovery Mode entries: Edit /etc/default/grub and add or change this line:
    Quote:
    GRUB_DISABLE_LINUX_RECOVERY=true


    Thanks in advance.
     
    morningching, May 22, 2010
    #1
  2. morningching

    zaphod

    Joined:
    Jul 10, 2008
    Messages:
    156
    Likes Received:
    0
    Location:
    France
    sudo gedit /etc/default/grub
     
    zaphod, May 22, 2010
    #2
  3. morningching

    morningching

    Joined:
    Aug 4, 2008
    Messages:
    31
    Likes Received:
    0
    Thank you very much Zaphod.
    Best regards.
     
    morningching, May 22, 2010
    #3
  4. morningching

    Xinês

    Joined:
    Aug 24, 2008
    Messages:
    39
    Likes Received:
    0
    After editing the default/grub file, you must run "sudo update-grub" to make your change effective.
     
    Xinês, May 23, 2010
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.