Toshiba laptop in dual boot restarts after shutting down Xubuntu
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Toshiba laptop in dual boot restarts after shutting down Xubuntu
Hello,
I bought me a Toshiba Satellite C870-15J with Windows 7 installed.
Made a dual boot with Xubuntu 12.04.
When I shut down Xubuntu, the system seems to turn itself completely off, but after some seconds I hear a click, and the system reboots itself.
The same when I shut down via the terminal with "sudo shutdown -h now".
In the power manager I changed the value for the onn-off button to shut off, but still the same problem.
I also entered the bios and made sure every Wake-on-LAN-like-function is disabled.
When I use the "Windows-side" and shut off, it stays off, which is why I think it can't be a hardware problem.
Can anybody help me? It is a new laptop and it's rather annoying it won't work as it should...
Thanks,
Yann
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385
Rep:
Cli
Quote:
Originally Posted by Yann
Hello,
I bought me a Toshiba Satellite C870-15J with Windows 7 installed.
Made a dual boot with Xubuntu 12.04.
When I shut down Xubuntu, the system seems to turn itself completely off, but after some seconds I hear a click, and the system reboots itself.
The same when I shut down via the terminal with "sudo shutdown -h now".
In the power manager I changed the value for the onn-off button to shut off, but still the same problem.
I also entered the bios and made sure every Wake-on-LAN-like-function is disabled.
When I use the "Windows-side" and shut off, it stays off, which is why I think it can't be a hardware problem.
Can anybody help me? It is a new laptop and it's rather annoying it won't work as it should...
Thanks,
Yann
Try using the halt command instead of shutdown. You might have to be root to use it. If it works, change its permissions so all users are allowed to use halt. The usage is:
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep:
Toshiba laptops (some of them, at least) also have a BIOS function to turn on when the laptop lid is lifted. You might be experiencing this behavior, or have a defective laptop lid switch in the machine (sticky?!).
Try changing this behavior in the BIOS, and see if it helps...
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385
Rep:
Restart
Did he try to say that it would always restart or just when the laptop is open? Usually, you tell the O/S to shutdown and close the top when you're done using it.
Thanks for the advice, but still the same problem.
When I use "halt now", the system doesn't really shut down bur freezes on the xubuntu screen; I then have to shut down completely using the on-off button.
In the BIOS I disabled the power-on-lifted-lid-function, but still the same problem.
For the moment, the only solution is waiting till the system has turned off and reboots again, and then hitting the on-off button to turn it off for good.
But I don't think this is regular behaviour, so if someone knows the solution, I would be very grateful...
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep:
If shutdown does not occur properly with sudo shutdown -h now,... and there's nothing wrong with the settings in the BIOS,... there's possibly something wring with the run states.
Use the following;
sudo teleinit 0
And report what happens.
For reference here are the Debian/Ubuntu default run states;
0 System Halt
1 Single user
2 Full multi-user mode (Default)
3-5 Same as 2
6 System Reboot
So it's possible that something (or someone) altered the init states confusing runlevel 0 with runlevel 6...
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385
Rep:
That's weird. Still, use halt. This will keep it from rebooting, which means you'll just have to hit the power switch.
If the telenit 0 command works, put it into a text file. Name the file something like Scram or go-away (not halt or shutdown)
Using dolphin as root, save this to /bin. Make it executable. Grant permissions to everyone and put it into the everyone (or all users) group. Do this by right clicking it and choosing properties & permissions.
After this, go to your desktop and make a new icon with the path to the binary you just created. Repeat this for all your user accounts and root if you log in graphically as root once in a while. (Usually, not a good idea unless your modifying your computer or operating system.)
Last edited by mdlinuxwolf; 10-10-2012 at 05:29 AM.
Reason: Improve
I used "sudo init 0" from a "real" terminal: the system shuts down... and restarts after some seconds...
By the way, I just discovered that the laptop doesn't restart when on accu, so the problem exists only when powered by cable.
Hence the solution can be to "pull out the plug" before shutting down, but I still don't think this is normal behaviour...
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep:
It's not software then,... Something in the BIOS,... or faulty ACPI... There's no software that can turn a machine back on if it's truly off,... sleeping, yes, but not truly off...
Look for a setting for something like booting after power loss,... and change it to the "stay off" setting...
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385
Rep:
Then just do that
Quote:
Originally Posted by Yann
I used "sudo init 0" from a "real" terminal: the system shuts down... and restarts after some seconds...
By the way, I just discovered that the laptop doesn't restart when on accu, so the problem exists only when powered by cable.
Hence the solution can be to "pull out the plug" before shutting down, but I still don't think this is normal behaviour...
Well, make an icon with that script & unplug the laptop. It's a long shot, but you can also see if there is a newer bios and reflash it. Of course, the laptop should definately be plugged in for that!!
The best thing to do is accept the quirk and unplug it. After its totally off, you can probably plug it in again.
Found no setting for booting after power loss, all the possible reboot-seetings are already disabled.
Reflashing the bios is a new concept for me, so before I dare considering it I will first look around a bit to learn how to do it. Meanwhile, I think I shall follow Mdlinuxwolf's advice and accept the laptop with it's quirks.
Thank you both for your time & advice!
Yann
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385
Rep:
Usually you go to the manufacturer's website, download the bios, put it on a USB or a CD.
After that, boot off of the USB or CD and follow the directions.
If you dual boot with M$, there might even be a helpful wizard. There is always some risk reflashing bios. Don't interrupt it once it starts to reflash.
For my laptop, I usually suspend to RAM anyway.
In the days of yore, you would boot off of a floppy with the newer bios.
Last edited by mdlinuxwolf; 10-10-2012 at 04:58 PM.
Reason: add detail
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802
Rep:
Quote:
Originally Posted by Yann
Found no setting for booting after power loss, all the possible reboot-seetings are already disabled.
Reflashing the bios is a new concept for me, so before I dare considering it I will first look around a bit to learn how to do it. Meanwhile, I think I shall follow Mdlinuxwolf's advice and accept the laptop with it's quirks.
Thank you both for your time & advice!
Yann
Look in the "Advanced Chipset Features" section of the BIOS. Many times quirky things are hidden there. If not,... the "Power Management" section sometimes has some nested menus...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.