Results 1 to 3 of 3

Thread: 12.04 will not shut down.

  1. #1
    Join Date
    Dec 2013
    Location
    Forestville, California
    Beans
    129
    Distro
    Ubuntu

    12.04 will not shut down.

    Dell D-620 with 12.04. On proper shut-down procedure, computer acts like it's going to shut down, but then stops at the purple display with the "Ubuntu" logo and five dots. It will not shut down. I checked for some answers and was thrilled to find one that was said to have worked. It is:

    1. sudo -i (to get a root shell, sudo gedit is not recommended)
    2. gedit /etc/default/grub
    3. Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    4. Change this to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"
    5. Save the file and close the file.
    6. Finally, in terminal: update-grub
    7. exit (to end the root shell)

    When I try item 5, "save the file," I can't because it comes up as a read-only file.
    What am I doing wrong, or is there a step missing in the instructions?
    Last edited by sandyd; April 6th, 2014 at 12:45 AM. Reason: removed table
    Unanswered questions are far less dangerous than unquestioned answers.

  2. #2
    Join Date
    Dec 2008
    Location
    Glos, UK
    Beans
    469
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: 12.04 will not shut down.

    You should have permission to write to this file without sudo, but it may be you need root permission to run update-grub.
    Check permissions with ls -l (both are lower case L) after cd /etc/default
    On my system the permissions are -rw-r--r--
    Between steps 1 and 2 do chmod 640 to get these permissions set.
    Ask me a dumb question. Then I'll know I am in good company.

  3. #3
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,669
    Distro
    Ubuntu Gnome Development Release

    Re: 12.04 will not shut down.

    Try:

    Code:
    sudo cp /etc/default/grub /etc/default/grub.backup
    gksudo gedit /etc/default/grub
    The first command there is to make a backup of your original file.

    After making the changes:

    Code:
    sudo update-grub
    Make sure you don't make un-necessary changes or you might not be able to boot.

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
  •