()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 06-08-04 13:40
kernel panic --- no init found
 ۾ :
ȸ : 7,363  

  • kernel panic : no init found  ޽ ...

    .
    .
    VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER
    RAMDISK: Compressed image found at block 0
    VFS: Mounted root (ext2 filesystem) readonly.
    Freeing unused kernel memory: 172k freed
    Kernel panic : No init found. Try passing init= option to kernel.



  1. fsck filesystem check.

Subject :: 


                 1) Kernel Panic : No Init Found


 


Error Messages ::


 


                 VFS: Mount root (ext2 filesystem)


                 Red Hat nash version 3.4.42 starting


                 Mounting /proc filesystem


                 Creating bloack devices


                 failed to read /proc/partitions: 0


                 Creating root device


                 mkrootdev: label /not found


                 Mounting root filesystem


                 Mount: error 2 Mounting ext3


                 pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2


                 umount /initrd/proc failed: 2


                 Freeing unused kernel memory: 132k freed


                 kernel panic : No init found. Try passing init= option to kernel.


 


 


Symptoms ::


                 1) ý


                 2) linux single Ұ


 


Problem Cause ::


                 root ϴ initrd 丮 ߻


                 (init μ ʰų ߸ )


 


                 Kernel ջ 쵵 Եȴ.


 


Solution ::


      , Single ϴٸ


      ex) fsck.ext3 -y /dev/hda1 ext3 üũָ ذ ϴ.


 


      , Single尡 Ұϴٸ


      1) Linux ġ CD ְ


      2) linux rescue Ѵ


      3) # Ŀ ߸ chroot /mnt/sysimage ؼ root 


      4) root mkdir /initrd ش.


      5) init 6 Ǵ reboot ɾ ָ Ϸ.


 


Postscript ::


                 1) initrd 丮 RAM mount , pivot_root system call


                 ϴ 丮 Ŀ ȿ


                 ׷ ʴ´ٰ Ұ.


 


                 2) ذ Kernel Ͻ ̷ ƴϴ


                  ġ κ, ܼ ý Ͼ ̴.


   2. suckit Ͽ .


      1) Linux ġ CD ְ


      2) linux rescue Ѵ


      3) # Ŀ ߸ chroot /mnt/sysimage ؼ root 


      4) cd /sbin ̵Ͽ init Ȯ.


             suckit /sbin/init Ѵٰ Ͽµ, ̻ /sbin/init
            
ǹ鵵 ϵ ϰ ȴ. , ̻縦 sk12 Ͽ
             /sbin/initsk12 ϰ Ǵ ̴. ( suckit 鵵
            
ְ, init ִ.)


       5) ls -la init 


           Ȯ init ũⰡ 0 ΰ Ȯ Ҽ ִ. init ٸ ̸
           initsk12 init Ѵ.

       6) cp initsk12 init

       7) ý .


 
 

Total 106
ȣ     ۾ ¥ ȸ
46 UDP flooding å
2006/12/19 6381
45 ý ý Ǵ ޽
2006/11/27 6161
44 ý ͸ II
2006/11/23 10243
43 ý ͸
2006/11/23 7562
42 ߰ unable to lock password file ϴ.
2006/11/23 4321
41
2006/11/23 7955
40 LAN ī尡
2006/11/23 4641
39 linux /proc
2006/10/31 7619
38 disk to disk ũ ( dump & restore )
2006/09/20 9691
37 linux
2006/09/05 18616
36 insmod modprobe []
2006/08/14 17978
35 [] ..⺻
2006/08/14 11405
34 Ʈ - route
2006/08/11 4084
33 kernel panic --- no init found
2006/08/04 7364
32 Red Hat Linux ϵ
2006/08/04 6103
 1  2  3  4  5  6  7  8  
 
 
 
Administrator Login