LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   kernel panic due to /initrd deleted (http://www.linuxquestions.org/questions/linux-kernel-70/kernel-panic-due-to-initrd-deleted-462558/)

linux_ecil 07-10-2006 05:19 AM

kernel panic due to /initrd deleted
 
Dear all,

i happened to delete /initrd folder in the process of cleaning my harddisk.
Apparently there weren't any files in the folder.
However, now i am getting problem booting my system.
It says kernel panic and gives follwing type of messages:


pivotroot : pivot_root (/sysroot,/sysroot/initrd) failed :2
umount /initrd/proc failed :2
(something)..../sysroot/initrd....(somethig)
kernel panic : no init found : try passing init = option to kernel.


please advice asap.

acid_kewpie 07-10-2006 08:30 AM

do you know why you are using an initrd in the first place? if not edit your bootloader options beforeee linux boots and try removing the line that calls that calls it. many distro's use an initrd just as a matter of course and they are not always needed if your system is not too exotic. if you do need it, you should be able to recreate a new one using mkinitrd booting from rescue mode or something, but try the simple things first. also you need to provide more info about your system, you've not even said what distro you are using.


All times are GMT -5. The time now is 05:37 AM.