Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CM4 UEFI boot without Grub #5163

Open
svanrossem opened this issue Nov 14, 2024 · 0 comments
Open

CM4 UEFI boot without Grub #5163

svanrossem opened this issue Nov 14, 2024 · 0 comments

Comments

@svanrossem
Copy link

I'm trying to UEFI boot CoreOS from a Raspberry Pi Compute Module 4 with a custom compiled kernel. I've disabled Grub because I want to boot direct to the kernel and pass kernel arguments using the cmdline.txt from the EFI partition. The compiled kernel works on a normal Fedora Server installation without Dracut and Grub.

Is it possible to setup a ostree environment without Dracut and Grub, by passing the arguments directly to the kernel?

cmdline.txt

root=/dev/mmcblk0p4 fsck.repair=yes rootwait ostree=/ostree/boot.1/fedora-coreos/ec04f74254468dc92e906b0d41efd12e01b5e64a06889b7dd353632cb42ec5c3/0 ignition.platform.id=metal
[    3.192148] XFS (mmcblk0p4): Ending clean mount
[    3.198766] VFS: Mounted root (xfs filesystem) readonly on device 179:4.
[    3.205610] devtmpfs: error mounting -2
[    3.214583] Freeing unused kernel memory: 5504K
[    3.224652] Run /sbin/init as init process
[    3.228997] Run /etc/init as init process
[    3.233164] Run /bin/init as init process
[    3.237320] Run /bin/sh as init process
[    3.241292] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[    3.255674] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 6.6.20-tering-serieuze-kernel #12
[    3.263797] Hardware name: Raspberry Pi Compute Module 4 Rev 1.1 (DT)
[    3.270327] Call trace:
[    3.272801]  dump_backtrace+0x9c/0x100
[    3.276609]  show_stack+0x20/0x38
[    3.279967]  dump_stack_lvl+0x60/0xb0
[    3.283679]  dump_stack+0x18/0x28
[    3.287036]  panic+0x344/0x3a0
[    3.290133]  kernel_init+0x1ac/0x1f0
[    3.293758]  ret_from_fork+0x10/0x20
[    3.297383] SMP: stopping secondary CPUs
[    3.301362] Kernel Offset: 0x1609400000 from 0xffffffc080000000
[    3.307364] PHYS_OFFSET: 0x0
[    3.310279] CPU features: 0x0,80000201,3c020000,0000420b
[    3.315666] Memory Limit: none
[    3.318761] ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant