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

  • 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
ȣ     ۾ ¥ ȸ
61 tar
2006/08/02 8528
60 Warning: invalid flag 0x0000 of partition table 4 will be co
2008/07/15 8528
59 Ƽ Ȯ
2010/10/28 8473
58 fsck Ʈ¿ ý Ե
2007/01/19 8471
57 Linux Tape ϱ
2006/02/11 8445
56 bind 9.2.3 ġ.
2005/12/07 8200
55 Ʈũ Ʃ
2008/03/10 8011
54 bad block
2007/10/16 8001
53 SMARTD
2007/07/16 7985
52
2006/11/23 7943
51 DL360G5 CROM
2008/11/04 7655
50 linux /proc
2006/10/31 7607
49 ý ͸
2006/11/23 7556
48 Linux root password нǽ
2005/12/06 7541
47 kernel panic --- no init found
2006/08/04 7348
 1  2  3  4  5  6  7  8  
 
 
 
Administrator Login