I was having Ubuntu 16.04 and I was trying to dual my system to win7. While creating partition for win7 the partition got corrupted and resulted in a initramfs Problem. I cleared the issue by running fsck
but now when I boot into my system I get stuck at the following stage, I tried attaching the image here but wasn't possible I'll try to write the boot display error message.
The boot up page get stuck at the below result once:
/dev/sda2: clean, 5230508/30023680 files, 4104481/120077056 blocks
run-init: /sbin/init No such file or directory
Target file system doesn’t have requested /sbin/init
run-init:/etc/init: permission denied
run-init: /bin/init: No such file or directory
run-init: /bin/sh: No such file or directory
[ ] kernel panic – not syncing : attempting to kill init! Exitcode=0x00000
CPU : 2 PID: 1 Comm : run-init Not tainted 4.13.0.37 – generic
Hardware name: LENOVO 20255/Lenovo G505s, BIOS 83CN53WW
Call Trace
dump_stack
panic+0xe4/0x24d
do_exit+0xaee/0xaf0
Kernel Offset: 0x2a0000000 from 0xffffffff8100000 (relocation range: 0xffffff8000000-0xfffffffbffffffff)
end Kernel panic – not synching : Attempted to ill init! Exitcode=0x0000000100
[ 8.300857] CR2: 00007ffdb4e04cd8 CR3: 00000001bcc0a000 CR4: 00000000406e0