Lenovo Ideacentre - how to start on power application?
Bo Berglund
bo.berglund at gmail.com
Wed Oct 16 17:01:17 UTC 2024
I have a Lenovo Ideacentre 307ADA05 also named as Lenovo 90MV on its serial
number label. It was bought a number of years ago to host an Ubuntu Server,
which started out on an older PC as 16.04 and was later upgraded to 18.04.
Then I realized the old PC was too limited so I bought this Lenovo.
It came with Windows and on advice here I kept that in order to not lose the
possibility of BIOS upgrades later on.
But I partitioned the drive for multi-boot and transfered the old server disk
image to a new partition on the Lenovo drive.
I also created a 3rd partition for Ubuntu Desktop "just in case".
This is configured to start via a grub menu where one can select which image to
use but I have managed to set the Ubuntu Server as the default image so that is
what starts up after a reset or reboot commad.
The PC is powered via an APC ES-700 UPS which has enough battery for almost one
hour outage. This has been working for a while now and I have upgraded the
server image to 20.04 LTS, which is what it runs with now.
PROBLEM
-------
I was travelling the last two weeks and then the utility company shut down power
on the whole street I live on for 4 hours for some "upgrade" job on the
distribution...
The result was that the server was shut down since battery time was exceeded (it
has a connection to the UPS so it knows in advance of battery failure that it
has to do a safe shutdown).
When power was returned it did not start up but remained off!
I had to contact my neighbour who has keys to our home and ask her to go in and
press the start button on the front panel....
While I was away it happened again because the utility had not finished the job!
So again a call to the neighbor....
QUESTION
--------
Is there some setting that can be made on this machine that tells it to start if
power has been cycled? I.e. when power unexpectedly disappears and then returns
again it should start up normally.
This is different from powering down with power attached of course.....
It should only start if power is *applied* from a powerless state.
How can I accomplish this?
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list