Results 1 to 6 of 6

Thread: Where is GRUB configuration file?

  1. #1
    Join Date
    Aug 2010
    Beans
    8

    Where is GRUB configuration file?

    Hi All,

    I have recently installed Ubuntu 12.04LTS on an old Toshiba laptop. In order to do this, through trial and error I have found I must set acpi to off. Now, whenever I try to boot, I must also set acpi=off in the GRUB boot options.

    Is there a configuration file that I can modify with acpi set to off, so that I don't have to do it each time I boot?

    Thanking you in advance,

    Bob

  2. #2
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Where is GRUB configuration file?

    /etc/default/grub

    Look for the line like GRUB_CMDLINE_LINUX and put the parameter you want in between the "". Save and close the file. Run sudo update-grub to create new grub.cfg.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  3. #3
    Join Date
    Aug 2010
    Beans
    8

    Re: Where is GRUB configuration file?

    Quote Originally Posted by darkod View Post
    /etc/default/grub

    Look for the line like GRUB_CMDLINE_LINUX and put the parameter you want in between the "". Save and close the file. Run sudo update-grub to create new grub.cfg.



    Thank you for your reply to my question. However, when I tried to save the file after I inserted the option, it would not let me. It said "could not create a backup file...". I clicked "Sve Anyway" but it did not good.

    Note that I did change the permissions on this file to RW for everybody (it is owned by ROOT).

    Any ideas? Thanks,

    Bob

  4. #4
    Join Date
    Aug 2010
    Beans
    8

    Re: Where is GRUB configuration file?

    I believe I figured it out: I changed the permissions in the folder as well as the file, and it seemed to work.

    Thanks again for your help.

    Bob

  5. #5
    Join Date
    Oct 2005
    Location
    INDY
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Where is GRUB configuration file?

    You really shouldn't be changing permissions for system files.
    If you need to edit a file owned by root you should use gksudo gedit /path/to/file/file.name.
    Then enter your user password edit the file and save.
    Changing permissions on system files may cause unintended consequences if not now, maybe later.

    See: https://help.ubuntu.com/community/RootSudo
    Last edited by arpanaut; May 22nd, 2013 at 03:29 AM. Reason: typo
    Castles Made of Sand,
    Fall in the Sea,
    Eventually!

  6. #6
    Join Date
    Aug 2010
    Beans
    8

    Re: Where is GRUB configuration file?

    Quote Originally Posted by arpanaut View Post
    You really shouldn't be changing permissions for system files.
    If you need to edit a file owned by root you should use gksudo gedit /path/to/file/file.name.
    Then enter your user password edit the file and save.
    Changing permissions on system files may cause unintended consequences if not now, maybe later.

    See: https://help.ubuntu.com/community/RootSudo

    Arpanaut,

    Thank you for the good advice. Fortunately, I remembered to change them back!

    Bob

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
  •