Once again, installing linux-image-c1 kills it

Post Reply
clickwir
Posts: 6
Joined: Mon Jul 06, 2015 3:36 pm
languages_spoken: english
ODROIDs: C1+
Contact:

Once again, installing linux-image-c1 kills it

Unread post by clickwir » Wed Mar 28, 2018 1:00 pm

Doing normal updates. Then it tells me linux-image-c1 is available. Install that but it warns me it's trying to remove the currently running kernel. Tell it no, don't do that.

Too late, thing won't boot now.

Have to dig it out. Take out the SD card. Redownload the image. Write it to the card. Try booting, nope, something with the xz extraction failed. Oh look. xz was nice and by default DELETES the file it just extracted from. (xz, if I ever meet you I'm going to punch you in the face for doing that).

Go, redownload the image. Extract it again, check the md5sum this time. Good. Write to card, done. Copy over some files I know I'll need to setup the damn thing all over again. Great, now there's that flashing heartbeat LED. Damnit, now I have to figure out how to set that to something useful again. Nope, can't login. Don't remember the default u/p for the image... son of a...

All because installing an update broken everything. Plz fix.

User avatar
odroid
Site Admin
Posts: 29671
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: Once again, installing linux-image-c1 kills it

Unread post by odroid » Wed Mar 28, 2018 1:18 pm

We've used Etcher to flash the OS image because it has the validation feature as well as the xz extraction feature inside.
https://wiki.odroid.com/troubleshooting ... s#flashing

Refer this steps to update the Kernel and system.
https://wiki.odroid.com/odroid-c1/os_im ... st-upgrade

Nuems
Posts: 107
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1
Contact:

Re: Once again, installing linux-image-c1 kills it

Unread post by Nuems » Mon Apr 02, 2018 8:48 pm

I guess that the OP refers to the fact that apt shows a new version of linux-image-c1, however, at least when upgrading from a cleanly flashed image, this new kernel is on "hold". If you decide to install it despite the warnings when doing so and don't take any further steps, you end up with a broken installation that won't boot. I guess the package maintainer could try to fix that (possibly by providing the necessary post-install scripts or whatever it takes). Having everyone bake their own kernels seems like the second best idea to me...

User avatar
odroid
Site Admin
Posts: 29671
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: Once again, installing linux-image-c1 kills it

Unread post by odroid » Mon Apr 02, 2018 9:16 pm

Yes, your guess looks reasonable.
Here is an instruction to install the latest Kernel package properly.
https://wiki.odroid.com/odroid-c1/os_im ... st-upgrade

alpe
Posts: 28
Joined: Sat Apr 12, 2014 1:21 pm
languages_spoken: portuguese, english
ODROIDs: C1
Location: Rio de Janeiro, Brazil
Contact:

Re: Once again, installing linux-image-c1 kills it

Unread post by alpe » Fri May 18, 2018 1:49 am

How can I recover it without flashing the whole image again?

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 3 guests