Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38

Thread: Help with edit grub.cfg (grub 1.97~beta4)

  1. #1
    Join Date
    Nov 2009
    Location
    Temecula, CA
    Beans
    61
    Distro
    Ubuntu 11.04 Natty Narwhal

    Exclamation Help with edit grub.cfg (grub 1.97~beta4)

    So i recently tried installed Ubuntu 9.10 hoping i could dual boot with windows 7. My last post had t do with fixing it. I have it sort of fixed but, when I try to boot to my win 7 I get a error:invalid signature. I figured out this is because the only boot option is chainloader +1

    I need to edit grub.cfg manually to add in the boot options or else I have to manually type them in every time I want to boot to windows 7. I noticed I have to have permissions from root. how do I login as root to fix my issue...

  2. #2
    Join Date
    Apr 2009
    Location
    Ellensburg, WA
    Beans
    1,441
    Distro
    Ubuntu

    Re: Help with edit grub.cfg (grub 1.97~beta4)

    You don't login as root.

    1. ALT+F2

    2. gksudo gedit <path/to/filename.ext>

  3. #3
    Join Date
    Nov 2009
    Location
    Temecula, CA
    Beans
    61
    Distro
    Ubuntu 11.04 Natty Narwhal

    Question Re: Help with edit grub.cfg (grub 1.97~beta4)

    it keeps sending me to home/(username)/boot/grub/ for some reason... Sorry I am a bit of a ubuntu noob.

  4. #4
    Join Date
    Apr 2009
    Location
    Ellensburg, WA
    Beans
    1,441
    Distro
    Ubuntu

    Re: Help with edit grub.cfg (grub 1.97~beta4)

    Quote Originally Posted by redcodefinal View Post
    it keeps sending me to home/(username)/boot/grub/ for some reason... Sorry I am a bit of a ubuntu noob.
    put a / before boot/grub

    so it should read

    gksudo gedit /boot/grub/grub.cfg

  5. #5
    Join Date
    Nov 2009
    Location
    Temecula, CA
    Beans
    61
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Help with edit grub.cfg (grub 1.97~beta4)

    Still won't let me save... Says it is read-only

  6. #6
    Join Date
    Apr 2009
    Location
    Ellensburg, WA
    Beans
    1,441
    Distro
    Ubuntu

    Re: Help with edit grub.cfg (grub 1.97~beta4)

    Quote Originally Posted by redcodefinal View Post
    Still won't let me save... Says it is read-only
    Then you're SOL if gk/sudo can't do it, we don't give instructions on how to login as root, it's against forum policy.

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Help with edit grub.cfg (grub 1.97~beta4)

    If you have installed new grub you do not edit grub.cfg. There are several files that get copied into grub.cfg on every update or your when you make a change you run the update.

    All you should have to do to find windows is:
    sudo update-grub

    This runs the osprober that finds other operating system and updates and changes you make to

    gksudo gedit /etc/default/grub

    Which is a new file that is like the comment area in old menu.lst.

    https://help.ubuntu.com/community/Grub2

    The Grub 2 Guide (formerly Grub 2 Basics)
    http://ubuntuforums.org/showthread.php?t=1195275

    http://members.iinet.net/~herman546/p20.html

    If prober does not put a correct entry in you can copy your entry to 40_custom, edit it there and then run the update. You can turn off the osprober to prevent duplicate entry in /etc/default/grub with this entry:

    GRUB_DISABLE_OS_PROBER="true"
    Last edited by oldfred; November 17th, 2009 at 06:14 AM. Reason: Add manual entry info
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Apr 2009
    Location
    Ellensburg, WA
    Beans
    1,441
    Distro
    Ubuntu

    Re: Help with edit grub.cfg (grub 1.97~beta4)

    Quote Originally Posted by oldfred View Post
    If you have installed new grub you do not edit grub.cfg. There are several files that get copied into grub.cfg on every update or your when you make a change you run the update.

    All you should have to do to find windows is:
    sudo update-grub

    This runs the osprober that finds other operating system and updates and changes you make to

    gksudo gedit /etc/default/grub

    Which is a new file that is like the comment area in old menu.lst.

    https://help.ubuntu.com/community/Grub2

    The Grub 2 Guide (formerly Grub 2 Basics)
    http://ubuntuforums.org/showthread.php?t=1195275

    http://members.iinet.net/~herman546/p20.html
    Just wondering then: Why the hell does google/etc. give instructions on editing the grub.cfg and not what you did? It's very frustrating.

  9. #9
    Join Date
    Nov 2009
    Location
    Temecula, CA
    Beans
    61
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Help with edit grub.cfg (grub 1.97~beta4)

    OSprober doesn't add the right parameters for windows 7... It only adds chainloader +1. I know this will solve it. I can add them directly when I boot through GRUB but they won't save. So far I am guessing this is the only way to fix this.

  10. #10
    Join Date
    Nov 2009
    Location
    Temecula, CA
    Beans
    61
    Distro
    Ubuntu 11.04 Natty Narwhal

    Unhappy Re: Help with edit grub.cfg (grub 1.97~beta4)

    I get this every time I try to save

    You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try again.

Page 1 of 4 123 ... LastLast

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
  •