Results 1 to 10 of 11

Thread: editing grub2

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Beans
    18

    Re: editing grub2

    Quote Originally Posted by sydbat View Post
    Press 'Esc' just after the computer posts and it should bring up the grub menu. From there you can go into Ubuntu to edit grub or choose to edit grub from the grub menu by pressing 'e'.
    tried that, grub loads windows before i can press anything, timeout is 0 (how stupid of me)

  2. #2
    Join Date
    Jun 2008
    Location
    Calgary, Alberta
    Beans
    1,125
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: editing grub2

    Quote Originally Posted by irisblaze View Post
    tried that, grub loads windows before i can press anything, timeout is 0 (how stupid of me)
    Maybe reboot and start hitting 'Esc' right away? Might be fast enough to open grub.

    Let us know if that works. If not, I think you can open a terminal in the LiveCD and you have to change the permissions on the grub file before editing it. Try 'sudo' or 'gksudo' when opening the grub file/folder.
    This is a signature. It is original.

  3. #3
    Join Date
    Apr 2007
    Beans
    18

    Re: editing grub2

    Quote Originally Posted by sydbat View Post
    Maybe reboot and start hitting 'Esc' right away? Might be fast enough to open grub.

    Let us know if that works. If not, I think you can open a terminal in the LiveCD and you have to change the permissions on the grub file before editing it. Try 'sudo' or 'gksudo' when opening the grub file/folder.
    i also tried both solutions you suggested, grub executes too fast, as for opening the file as root i think i mentioned i tried that before using sudo, it opens it as read only

  4. #4
    Join Date
    Apr 2006
    Beans
    289
    Distro
    Ubuntu Gnome Development Release

    Re: editing grub2

    You have to hit the shift key while booting, right after CMOS loads to get into Grub2
    HTH
    Larry

  5. #5
    Join Date
    Jun 2008
    Location
    Calgary, Alberta
    Beans
    1,125
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: editing grub2

    Quote Originally Posted by irisblaze View Post
    i also tried both solutions you suggested, grub executes too fast, as for opening the file as root i think i mentioned i tried that before using sudo, it opens it as read only
    Well...poo...

    I know there is a way to reinstall grub via the LiveCD.

    Here it is. Try this - https://help.ubuntu.com/community/Re...tallingWindows
    This is a signature. It is original.

  6. #6
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,263
    Distro
    Ubuntu Mate Development Release

    Re: editing grub2

    I believe that with GRUB2, since in the situation where there is only one OS installed on the machine, it automatically boots into that OS without showing a menu, you hold down the Shift key when booting to force it to show a menu.

    Also, make sure you do NOT edit the grub.cfg file; instead, you can install startup-manager if you want a GUI for editing defaults easily.
    Ubuntu 17.04 Mate, Mint 18.1 Mate; MS Win 8.1, MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  7. #7
    Join Date
    Apr 2007
    Beans
    18

    Re: editing grub2

    Quote Originally Posted by Mark Phelps View Post
    I believe that with GRUB2, since in the situation where there is only one OS installed on the machine, it automatically boots into that OS without showing a menu, you hold down the Shift key when booting to force it to show a menu.

    Also, make sure you do NOT edit the grub.cfg file; instead, you can install startup-manager if you want a GUI for editing defaults easily.
    of course i have 2 os ubuntu + win7 as i said the grub2 installation is perfect i just want to edit it so it can show ubuntu, i'll try drfox's method then sydbat's

    thanx

  8. #8
    Join Date
    Jun 2008
    Location
    Calgary, Alberta
    Beans
    1,125
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: editing grub2

    Quote Originally Posted by irisblaze View Post
    of course i have 2 os ubuntu + win7 as i said the grub2 installation is perfect i just want to edit it so it can show ubuntu, i'll try drfox's method then sydbat's

    thanx
    And don't forget Mark Phelps suggestions too.
    This is a signature. It is original.

  9. #9
    Join Date
    Apr 2007
    Beans
    18

    Re: editing grub2

    so now i get the grub command line not menu ? help? i told you i don't want to reinstall grub *sigh* why is it hard to edit a file from live cd?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •