Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Xubuntu 8.04 does not shut down my computer

  1. #1
    Join Date
    May 2008
    Beans
    7
    Distro
    Xubuntu 8.04 Hardy Heron

    Exclamation Xubuntu 8.04 does not shut down my computer

    Hi to all, I am new here...

    Yesterday I have successfully installed Xubuntu 8.04 Hardy Heron, and everything is fine...but my computer is not able to shut down. The last line of code generated during shutdown says:

    [ 142.821923] System halted

    I can hear my HD stopping and all, but then I have to turn off the computer using the power button. How can I get the computer to shut down on its own?

    I am wondering if this could work (http://ubuntuforums.org/showthread.php?p=2595626), but the truth is that I do not know where to execute the commands either - and other people are saying that acpi=force makes their computer slow (the reason why I uninstalled WinXP to start with...)

    Thanks in advance for your help!

  2. #2
    Join Date
    Dec 2007
    Location
    Taiwan
    Beans
    51
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Xubuntu 8.04 does not shut down my computer

    Hi steppin wolf,

    You can usually shut your machine down correctly by typing this command into your terminal:

    Code:
    sudo shutdown -h now
    It will ask for your password.

    Not sure how it works in Kubuntu, but in Gnome you bring up a terminal to type in commands by clicking Applications/Accessories/Terminal.

    Sorry, I can't help you with the underlying cause of your problem. Some expert will do that.

    Cheers.
    Asus U45JC
    Warning: Do not buy this laptop! Nvidia Optimus alert!

  3. #3
    Join Date
    May 2008
    Beans
    7
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Xubuntu 8.04 does not shut down my computer

    Unfortunately, that does not work either. Again, it says "System halted." Any other suggestions?

  4. #4
    Join Date
    Dec 2007
    Location
    Taiwan
    Beans
    51
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Xubuntu 8.04 does not shut down my computer

    Sorry sw, I have no clue.

    Perhaps if you supply some info about your computer some kind wizard will suggest a solution.
    Asus U45JC
    Warning: Do not buy this laptop! Nvidia Optimus alert!

  5. #5
    Join Date
    May 2008
    Beans
    7
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Xubuntu 8.04 does not shut down my computer

    It's a no-brand computer (it's called Progress..), Pentium III, 20Gb Hitachi HD, ~253 Mb RAM, with an old SystemSoft Plug-n-Play BIOS (1997). I also get a message at startup basically saying that my BIOS is too old - could this have anything to do with the problem? Should I use acpi=force?

  6. #6
    Join Date
    Dec 2007
    Location
    Taiwan
    Beans
    51
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Xubuntu 8.04 does not shut down my computer

    Hi sw,

    Just been reading the link you supplied above. Looks like you might want to use acpi=force.

    As it says: "Should be added to to the kernel line in /boot/grub/menu.lst"

    Hey. BTW, I now realize that you were not saying that you did not know where to execute commands in general, but just this acpt command.

    Anyway, I would try it out and see if it works for you.

    Yeah, the bios is ancient.
    Asus U45JC
    Warning: Do not buy this laptop! Nvidia Optimus alert!

  7. #7
    Join Date
    May 2008
    Beans
    7
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Xubuntu 8.04 does not shut down my computer

    DONE!

    I found a way to do this - I am posting it just in case somebody has the same problem. I'd like to thank user dysphasi, as my solution is based on the indications provided in his/her reply. And thanks for your help bill.

    Here is what you do if you are running Xubuntu Hardy Heron:

    1) Go to the terminal (Applications/System) and enter this line of code:

    sudo mousepad /boot/grub/menu.lst

    2) Now a Mousepad file will open. Scroll down all the way till you see

    End Default Options

    3) Find the paragraph where it says something like:

    Ubuntu 7.10, kernel 2.6.22-14-generic
    (hd0,0)
    /boot/vmlinuz-2.6.22-14-generic root=UUID=419086cc-9136-45e9-9369-d7fe44edff76 ro quiet splash
    /boot/initrd.img-2.6.22-14-generic

    Note: this is only 4 lines in Mousepad, not 5.
    4) See where it says "splash"? Enter a space, then write (on the same line):

    acpi=force apm=power_off

    5) Save the document, exit, restart the computer, log in again and try to shut down. It might just work.

  8. #8
    Join Date
    Jul 2005
    Location
    USA (Springfield,Vermont)
    Beans
    755
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Xubuntu 8.04 does not shut down my computer

    Quote Originally Posted by steppen wolf View Post
    It's a no-brand computer (it's called Progress..), Pentium III, 20Gb Hitachi HD, ~253 Mb RAM, with an old SystemSoft Plug-n-Play BIOS (1997). I also get a message at startup basically saying that my BIOS is too old - could this have anything to do with the problem? Should I use acpi=force?

    If your PC is a Pentium III, then it should be fine.

    It's usually <1996 PCs.
    Acer Aspire M5630: 1 GB Kingston PC6400 DDR2 SDRAM dual channel (2x512 MB), Core 2 Duo E2180 (2.0 Ghz), Intel i915

  9. #9
    Join Date
    Dec 2007
    Location
    Taiwan
    Beans
    51
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Xubuntu 8.04 does not shut down my computer

    Way to go Steppen Wolf!
    Asus U45JC
    Warning: Do not buy this laptop! Nvidia Optimus alert!

  10. #10
    Join Date
    Jul 2008
    Beans
    1

    Re: Xubuntu 8.04 does not shut down my computer

    Dear Steppen Wolf,

    The solution you posted didn't quite work for me (thanks for posting it anyway), but I think I found an alternative solution: simply reinstall grub (in my case):

    (while livecd inserted)
    sudo grub
    > root (hd0,0)
    > setup (hd0)
    > quit

    Please be aware that I am a newbie and I might have given dangerous advice without realizing it.

    A more explicit explanation (maybe someone can learn from my mistakes):

    I have a 10 year old pc (1,2Ghz AMD, 256RAM, 20gig) and I installed Ubuntu 8.04 LTS. Install went flawless (default install, no dual boot), update went flawless, reboot after update went flawless, installing some extra packages (flash, acrobat, hplips) went flawless. Then I wanted to shut down and the result was: the fans in my pc slowed down significantly, but the pc remained on and the Ubuntu logo remained on my screen. Ctrl+alt+del didn't work so I shut down the hard way and started to look for solutions online and found this thread.
    I opened the terminal and typed:

    sudo mousepad /boot/grub/menu.lst

    nothing happened, so I tried:

    cd ..
    cd ..
    cd boot
    cd grub
    mousepad menu.lst

    turns out I don't have mousepad on my pc, so I tried:

    pico menu.lst

    Pico opened the file "menu.lst" and I found 4 kernels (2.6.24-19, 2.6.24-16 and the same two with recovery mode written next to them).
    I chose the kernel with the highest number (without recovery mode written next to it) and added: acpi=force apm=power_off.
    I tried to save (ctrl+O) but I was denied permission so I exited (ctrl+x) and typed:

    sudo pico menu.lst

    The file opened again, I made the same change and was able to save and exit.
    I tried shutdown again but the problem remained. I hit reset again and went back to "menu.lst". Now I added the
    "acpi=force apm=power_off" to the kernel with the second highest number (without recovery mode written next to it)
    (so acpi=force apm=power_off was written next to two kernels). I tried shutdown. It worked perfectly.

    I tried to restart my pc and the result: the speaker in my pc-case started beeping (a long beep every few seconds) and no signal to my screen (the orange light was on, like when my screen is on but my pc off).

    Since the beeps where loud, my pc-case was on the rather thin floor, I have a neighbour below me and it was 3.00AM I had to stop...
    The "next" day it tried reset a few times, but the result remained the same (beep beep beep ...). I decided to give up on Ubuntu (8.04 doesn't work on my laptop either: no wireless and a lot of freezing, a pity since 6.06 LTS recognized my wireless and didn't freeze) and install OpenSUSE. I put the OpenSUSE 11.0 livecd in and tried to boot. The pc would not start, not even after reset. I feared hardware damage, but when I put the Ubuntu 8.04 livecd in, the pc booted. I think I was running the Ubuntu from my harddisk, not from the livecd because I had changed the desktop background and I saw that changed background.

    I decided to try and reinstall grub, because I feared that otherwise I wasn't going to be able to run the OpenSUSE livecd to install OpenSUSE 11.0. I looked online and found the following site http://www.howtogeek.com/howto/ubunt...-wipes-it-out/. I tried the advice on the site:

    find /boot/grub/stage1

    I think that command should have revealed an what partition grub was installed but nothing happened. I typed:

    sudo grub
    > root (hd0,0)
    > setup (hd0)

    I didn't know if (hd0,0) was correct, I just guessed, but since I was going to install OpenSUSE afterward, I wouldn't be a problem if I
    install grub in the wrong place and damaged Ubuntu (What does happens if you miss?). Then I typed:

    > exit

    but the command didn't exist, so I tried:

    > quit

    and it worked (thank you Asim on previously mentioned site).

    If grub was the cause of the shutdown problem, and grub was reinstalled, maybe the shutdow-problem was fixed and I didn't have to install OpenSUSE. So I turned on the pc and it booted just fine, shutdown also worked and as far as I can tell everything works. I went back to "grub/menu.lst" to look what was changed and I saw "acpi=force apm=power_off" written next to the 2 kernels (the ones without recovery mode)... . I still have no idea why my pc wouldn't boot up...

    When I boot up I see "BIOS has no year so acpi=force is necessary to activate acpi".

    This is the end of my first post ever. I hope somebody finds it useful.
    iknie.
    Last edited by iknie; July 12th, 2008 at 04:11 PM.

Page 1 of 2 12 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
  •