You are not logged in.

#1 2017-05-15 19:09:38

theBigO
Member
Registered: 2017-05-15
Posts: 8

[SOLVED]Kernel update breaks boot without message. linux-4.10.xxx

I  running kernel linux-4.9.6-1, and it boots without issue. Upon updating to 4.10, arch boots all the way through grub, and I am able to unlock my encrypted drive. Then all I get is an underscore cursor on a blank screen. I have been forced to use a live boot medium to reinstall the old kernel via /var/cache/pacman/pkg. The problem seems to occur after grub's portion of the boot is finished, as putting an "echo" statement at the end of the menu file results in it being printed immediately before I am prompted to unlock my encryptted system.

I have been using Arch for over a year, and have been on linux for about three years. This is my first post on the forums, however.

I am using an  HP ProBook 645 G1.

Last edited by theBigO (2017-05-15 20:55:59)

Offline

#2 2017-05-15 19:26:08

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [SOLVED]Kernel update breaks boot without message. linux-4.10.xxx

Welcome to the arch linux forums theBigO.  I would recomend installing the linux-lts package so you have the patches up to 4.9.28.
Try removing the Kernel parameter quiet if it is set and add loglevel=7 and see if more output is generated.

Offline

#3 2017-05-15 19:36:15

theBigO
Member
Registered: 2017-05-15
Posts: 8

Re: [SOLVED]Kernel update breaks boot without message. linux-4.10.xxx

loqs wrote:

Welcome to the arch linux forums theBigO.  I would recomend installing the linux-lts package so you have the patches up to 4.9.28.
Try removing the Kernel parameter quiet if it is set and add loglevel=7 and see if more output is generated.

Thank you. After removimg the quiet parameter in grub I get the scrolling list on boot, followed by the blank screen described. Is there a way to access the contents of the scrolling list on the disk? Of so I could boot up the live medium and read through for an error.

Offline

#4 2017-05-15 19:47:07

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [SOLVED]Kernel update breaks boot without message. linux-4.10.xxx

First check if  you can switch to another terminal and get a login prompt with Ctrl + Alt + F2.  If the system boots and only the screen is blank then the kernel output should be stored in the journal.
Does the system powerdown normally if you press the power button or you attempt to login blindly or via ssh and shutdown?  Try Kernel_mode_setting#Disabling_modesetting.

Offline

#5 2017-05-15 19:54:19

theBigO
Member
Registered: 2017-05-15
Posts: 8

Re: [SOLVED]Kernel update breaks boot without message. linux-4.10.xxx

I cannot switch terminals. Ssh is not setup. Loging in blindly into root or my user has no effect. Adding nomodeset to kernel parameters has no effect.

Interestingly, I have linux-lts installed, but when I put it in the initrd I get a "file not found" type message. Using the -fallback for the vanilla linux kernel returns no such message, but still boots in the broken way.

Offline

#6 2017-05-15 19:57:04

theBigO
Member
Registered: 2017-05-15
Posts: 8

Re: [SOLVED]Kernel update breaks boot without message. linux-4.10.xxx

Journalctl -xe produces the last successful boot information (from before the update)

Offline

#7 2017-05-15 19:59:36

theBigO
Member
Registered: 2017-05-15
Posts: 8

Re: [SOLVED]Kernel update breaks boot without message. linux-4.10.xxx

Power button works fine

Offline

#8 2017-05-15 20:11:38

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [SOLVED]Kernel update breaks boot without message. linux-4.10.xxx

If your's is the last post in a thread please use the edit function to not create additional posts and bump the thread.
Chroot in make sure /boot is mounted if a separate partition then use `mkinitcpio -P` or `mkinitcpio -p linux-lts` to regenerate the linux-lts initrds.
See the kernel-parameters.txt console parameter for ways to capture the console.
Edit:
You might want to also try building linux 4.11.1 or 4.12.rc1 to see if the issue has already been resolved upstream.

Last edited by loqs (2017-05-15 20:13:09)

Offline

#9 2017-05-15 20:31:39

theBigO
Member
Registered: 2017-05-15
Posts: 8

Re: [SOLVED]Kernel update breaks boot without message. linux-4.10.xxx

I think I might be getting to the problem. I have two partitions:
an encrypted /root in /dev/sda3
an unencrypted /boot in /dev/sda4

/dev/sda4 (boot partition) appears to be unmounted once the operating system is running. Then when I installed the new kernel, it installed in /dev/sda3's /boot directory, instead of on the separate partition.

I was able to work around this with the live boot medium, by executing `rm -R /boot` in the root partition, then mounting the boot partition `mount /dev/sda4 /boot`. Once I did that I installed and everything worked. I think if I install the vanilla "linux" kernel in the same way and run `mkinitcpio -P` I will be able to continue running the vanilla linux kernel.

It looked like a problem with fstab.
I found that my /etc/fstab was totally empty!
so I added:
`/dev/sda4    /boot    ext2    defaults    0        0`
Uninstalled all of my kernels, reinstalled the one I wanted, executed
`mkinitcpio -P`
and rebooted. All done!
Solved! Thank you for the help!

Last edited by theBigO (2017-05-15 20:51:16)

Offline

#10 2017-05-15 20:53:12

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: [SOLVED]Kernel update breaks boot without message. linux-4.10.xxx

Please mark your thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.

Offline

Board footer

Powered by FluxBB