Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Initramfs doesn't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kuch_bhi_linux
n00b
n00b


Joined: 20 Aug 2024
Posts: 1

PostPosted: Tue Aug 20, 2024 3:32 am    Post subject: Initramfs doesn't work Reply with quote

[Administrator note: this post, and only this post, was originally attached to the 2013 solved topic [Solved] Initramfs doesn't work. -Hu]

Hello guys, Facing similar issue.

Code:
switch_root: can't execute '/sbin/init': No such file or directory
[    6.389473][    T1] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[    6.404042][    T1] CPU: 2 PID: 1 Comm: busybox Tainted: G           O      5.15.144-debug-g8b08b62845e2 #1
[    6.422070][    T1] Call trace:
[    6.425293][    T1]  dump_backtrace+0x0/0x214
[    6.429773][    T1]  show_stack+0x18/0x24
[    6.433891][    T1]  dump_stack_lvl+0x64/0x7c
[    6.438366][    T1]  dump_stack+0x18/0x38
[    6.442485][    T1]  panic+0x150/0x380
[    6.446334][    T1]  do_exit+0x7d4/0x920
[    6.450361][    T1]  do_group_exit+0x9c/0xa0
[    6.454750][    T1]  __wake_up_parent+0x0/0x2c
[    6.459316][    T1]  invoke_syscall+0x40/0x100
[    6.463883][    T1]  el0_svc_common+0xb4/0xf0
[    6.468356][    T1]  do_el0_svc+0x24/0x90

I am using devtmpfs as well..still facing issue..

Code:
busybox.suid mount -t sysfs sysfs /sys
busybox.suid mount -t devtmpfs none /dev


[Administrator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Mon Aug 26, 2024 1:06 am    Post subject: Re: Initramfs doesn't work Reply with quote

kuch_bhi_linux wrote:

...
Code:
switch_root: can't execute '/sbin/init': No such file or directory
...

...

Code:
busybox.suid mount -t sysfs sysfs /sys
busybox.suid mount -t devtmpfs none /dev

...


How are you making your initramfs? Genkernel or dracut or gentoo-kernel etc?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum