How to choose kernel to boot
#1
Hi all,

I have Rock64 2GB with Debian minimal Stretch on HDD, using the USB adapter from Pine64 shop.
System i even upgraded to buster/testing using just official Debian repo.
So far works excelent and I'm happy, except for the ancient kernel 4.14.

So here is my questions.
I plan to upgrade kernel, build it myself or wait for 4.18 from Ayufan.
But what if the new kernel will not boot, how can I recover?
Is it just possible to connect HDD to PC and change some conf file?

Another question is about HDMI.
Is it normal that I do not have output on TV (two tested) in early boot? Serial Console is needed to see SPI boot menu and his messages?
HDMI output starts workingvery late in 2-3 seconds before login.

Thanks for help for another ARM newbie?
  Reply
#2
(09-29-2018, 02:43 AM)mjd Wrote: But what if the new kernel will not boot, how can I recover?
Is it just possible to connect HDD to PC and change some conf file?

Yes, although you'll need to have something that can modify ext4 partitions, one way to do this is running a live linux distro on your pc etc, although if you have a serial dongle you can pick from different kernels on boot

Quote:Another question is about HDMI.
Is it normal that I do not have output on TV (two tested) in early boot? Serial Console is needed to see SPI boot menu and his messages?
HDMI output starts workingvery late  in 2-3 seconds before login.

Unfortunately serial is simpler than hdmi and it kicks in long before hdmi.
  Reply
#3
I'm Linux user so ext4 is not a problemSmile

Is there any proven manual what have to do next? 

I'm affraid to put my services until I ensure that rescue of the failed booting procees is possible without overwrite everything by clean image.
  Reply
#4
(09-29-2018, 05:32 AM)mjd Wrote: I'm affraid to put my services until I ensure that rescue of the failed booting procees is possible without overwrite everything by clean image.


I'm unaware of any manuals but I would install an alternate kernel and flick back and forth between them until I was happy.
  Reply
#5
(09-29-2018, 06:32 AM)evilbunny Wrote:
(09-29-2018, 05:32 AM)mjd Wrote: I'm affraid to put my services until I ensure that rescue of the failed booting procees is possible without overwrite everything by clean image.


I'm unaware of any manuals but I would install an alternate kernel and flick back and forth between them until I was happy.

And the question is, how to flick between them if I prefer to mount HDD to PC,  instead of serial console, and reconfigure.
What are the conf files where I poing out kernel of my choose.
Is there needed to execute some kind of grub-update or whatever analogical?
  Reply
#6
(09-29-2018, 07:01 AM)mjd Wrote: And the question is, how to flick between them if I prefer to mount HDD to PC,  instead of serial console, and reconfigure.

I haven't needed to do that, I just pick them on bootup from the boot menu

Quote:What are the conf files where I poing out kernel of my choose.

Most of them are on /boot or p6 partition, although the u-boot stuff is on some of the other 4 or 5 partitions

Quote:Is there needed to execute some kind of grub-update or whatever analogical?

Installing via apt or dpkg handles this.
  Reply
#7
Ok, thank you for interesting.

So far new kernel, 4.19-rc4, just works after install and for the future investigations I will buy serial console dongle.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  5.3 kernel support? csrf 3 91 10-18-2019, 03:43 PM
Last Post: nethammer
Question Alpine Linux won't boot rock7 0 75 10-06-2019, 07:57 PM
Last Post: rock7
  Does anybody run the mainline kernel? CameronNemo 3 213 09-09-2019, 07:56 PM
Last Post: CameronNemo
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 2 144 08-12-2019, 06:31 AM
Last Post: dishins
  Forcing u-boot to detect USB3 storage jandastroy 8 633 04-02-2019, 10:06 PM
Last Post: t4_4t
  Consistent boot from SSD? Is it possible? SirRyanTheGeek 1 161 04-02-2019, 12:28 PM
Last Post: SirRyanTheGeek
  Not able to boot Armbian [email protected] 4GB wundidajah 1 215 03-29-2019, 05:30 AM
Last Post: dkryder
  Boot from USB - What's about resizing the partitions? hg6806 5 254 02-28-2019, 11:09 PM
Last Post: evilbunny
  ROCK64 Kernel compilation problem cao 0 277 01-21-2019, 01:21 AM
Last Post: cao
  LibreELEC Krypton/Leia/Agile 64bit kernel 32bit libs Raybuntu 193 47,093 01-17-2019, 05:25 AM
Last Post: [email protected]

Forum Jump:


Users browsing this thread: 1 Guest(s)