Unable to boot/login Raspberry Pi 4 Bookworm headless
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- linux, raspberry-pi
- Domain
- embedded-iot, operating-systems
Research direction
Start by reproducing the headless boot failure on a Raspberry Pi 4 running Pi OS Bookworm, using the listed kernel version and the documented power-cycle steps. Compare the behavior of /boot/config.txt with force_hdmi_hotplug=1 and /boot/cmdline.txt with the video=HDMI-A-1 setting. Done means the Pi boots and provides SSH or web access without a connected monitor.
Written by the indexing model from the issue text.
Description
Describe the bug
This issue appeared only with Pi Bookworm OS.
With Bullseye, no changes were required.
A Raspberry Pi 4 running the latest full version of Pi OS Bookworm is unable to boot/ssh or access webservers headless (no monitor).
The Pi refuses to boot into the OS(for lack of a better term) without detecting a monitor.
When switching it on, the Red LED lights up and the Green LED blinks in a random fashion(ie.) Shows activity going on, after a few seconds, the Green LED goes dull and only the Red LED along with the Ethernet port light up. At this juncture, attaching a physical monitor does nothing, I am required to power cycle the Pi in order for the boot process to complete.
When a monitor is connected, the Pi boots and is accessible via SSH as expected, without any issue.
This issue can be circumvented by adding "force_hdmi_hotplug=1" in /boot/config.txt
However, I had asked on the Raspberry Pi forums and was told the updated method (to let the kernel know) is to add "video=HDMI-A-1:1920×1080@60D" in /boot/cmdline.txt.
The second line of code (the "video=HDMI") when used alone, has no effect on my Pi. I am still forced to use a physical monitor to access the Pi.
I was told it might be an issue with my Pi and was asked to raise an issue here.
Adding relevant links to forum posts below:
Initial post asking for help -
https://forums.raspberrypi.com/viewtopic.php?t=357538&sid=b2ead654cea66533b423aace70947f1a&start=608
User Dom's reply about cmdline.txt -
https://forums.raspberrypi.com/viewtopic.php?t=357538&sid=b2ead654cea66533b423aace70947f1a&start=617
My response about cmdline.txt not working -
https://forums.raspberrypi.com/viewtopic.php?t=357538&sid=b2ead654cea66533b423aace70947f1a&start=620
Further conversation-
https://forums.raspberrypi.com/viewtopic.php?t=357538&sid=b2ead654cea66533b423aace70947f1a&start=621
Detailed explanation about my issue -
https://forums.raspberrypi.com/viewtopic.php?t=357538&sid=b2ead654cea66533b423aace70947f1a&start=622
Dom asking me to raise an issue here -
https://forums.raspberrypi.com/viewtopic.php?t=357538&sid=b2ead654cea66533b423aace70947f1a&start=636
Steps to reproduce the behaviour
Install Pi OS Bookworm GUI on Pi 4 8GB
Update to latest version including kernel.
Power off Pi.
Disconnect monitor.
Start the Pi.
Issue produced.
Connect monitor. Nothing will happen.
Power cycle (switch off and on) the Pi with the monitor connected, everything will work as normal.
Device (s)
Raspberry Pi 4 Mod. B
System
Pi OS Bookworm.
cat /etc/rpi-issue - Raspberry Pi reference 2023-10-10
962bf483c8f326405794827cce8c0313fd5880a8, stage4
vcgencmd version - September 21 2023 18:42:00
version 3094eda5aadf2c719edd2c68d1900884abc3dbca (clean) (release) (start)
unname -a --- Linux pi-home 6.1.57-v8+ #1688 SMP PREEMPT Thu Oct 12 15:14:26 BST 2023 aarch64 GNU/Linux
Logs
No response
Additional context
Not found in Pi OS Bullseye.
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·