pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.48k stars 87 forks source link

No keyboard access in busybox (initramfs) #2782

Open ralmond opened 1 year ago

ralmond commented 1 year ago

Distribution (run cat /etc/os-release): Pop!_OS 22.04 LTS

Related Application and/or Package Version (run apt policy $PACKAGE NAME): linux kernel 6.0.12-76060006-generic

Issue/Bug Description:

There is some issue with my setup which is causing me to drop into busybox (initramfs). However, the system does not respond to keyboard commands at that point. In particular, I cannot type 'exit' to get any kind of error message. I have tried two different keyboards and several USB ports.

I have checked and repaired the boot sector block on my default partition /dev/nvme0n1p3, and both the root and /boot/efi files pass fsck check. I have reinstalled linux headers.

Steps to reproduce (if you know):

  1. Mess up something in kernel (not sure exactly what I did).
  2. Reboot
  3. Select normal system startup at selection menu.

Expected behavior: Either fully boot into system, or if crashing into busybox, be able to have it respond to commands like 'help' or 'exit.

Actual behavior:

Drops into busybox, but does not respond to keypresses.

Other Notes:

leviport commented 1 year ago

I'm not sure why the keyboard isn't working, but it sounds like there might be something wrong with your bootloader. This article might be helpful: https://support.system76.com/articles/bootloader

ralmond commented 1 year ago

I've tried that, and still can't boot except into the recovery partition.

The bug here is that when whatever problem I'm having drops me into busybox, I don't have a working keyboard, so I'm having difficulty finding out where the problem is.