We failed to rebuild the initramfs now system is not booting
Issue
- We are running RHEL6.3 Virtual machine on RHEV. We made few changes in lvm.conf and tried to create a new initramfs image using the following command. But in middle of the below dracut command creating a new initial ramdisk, we mistakenly powered off the virtual machine. Let us know how we can fix this and restore back the operating system with out reinstalling from scratch.
#dracut -H -f /boot/initramfs-$(uname -r).img $(uname -r)
- Kernel panic messages:
Kernel panic - Not syncing: VFS Unable to mount root fs on unknown-block(0,0)
Pid: 1, comm: swapper Not tainted 2.6.32-279.el6.x86_64 #1
Call Trace:
[<ffffffff81>]? panic+
[<ffffffff81>]? munnt_block_root+0x273/0x232
[<ffffffff81>]? trace_kmalloc+0x260/0x330
[<ffffffff81>]? initrd_load+do0x35/Ox2fd
[<ffffffff81>]? prepare_namespace+0xe2/
[<ffffffff81>]? kernel init+/0x2fe
[<ffffffff81>]? child_rip/0X20
[<ffffffff81>]? kernel_init+0x2fe
[<ffffffff81>]? child_rip+0x20
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.