Re: kernel Panic No init found
From: Tuan Nguyen (DELETE_tng_at_ofir.dk)
Date: 09/09/03
- Next message: Vwakes: "Re: eth0... failed; no link present"
- Previous message: Tuan Nguyen: "Re: spamassassin 2.55 upgrade does not work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 09 Sep 2003 21:30:52 +0200
On Sun, 31 Aug 2003 15:37:18 GMT, joe <jstaff46@earthlink.net> wrote:
>I had to install a replacement memory bank and when I re-booted my redhat
>would not go through the boot process and load.
>It stops with: error 5 mounting ext3
>pivotroot:pivot_root (/sysroot/initrd): failed 2
>kernel panic No init found try passing init= option to kernel
>
>I am able to use linux rescue on my install disk and have access to a
>command line.
>I can chroot /mnt/sysimage and have access to all my directories, accounts
>etc
>
>I tried /sbin/lilo as root but that would not run
>
>tried the command boot:linux root=/dev/hda3 no good
>
>I tried mkinitrd -v -f initrd (kernel version.img) kernel version nothing
>
>I also tried copying /etc/lilo.conf.anaconda /etc/lilo.conf did nothing
>
>I also tried /sbin/tune2fs -j /dev/hda3 and gained nothing
>
>I have searched google and get a lot of stuff but it is people like me with
>the problem and few suggestions
>
>I also went to the red hat site and tried there but didn't find anything
>that I had not tried.
>
>The install disk will not let me go to install customize since swap is not
>loaded and so the install disk just sends me back to a reboot there.
>
>I had thought that perhaps changing to grub (I am now using lilo) might
>rewrite things and get me started again but I don't know how to change from
>lilo to grub manually.
>
>I'm at a wall here and if someone can offer suggestions for a solution I
>would be grateful.
>thanks
>joe
If you play with partition, get a newdisk, ghost a disk,t you will get
that problem soon or later.
The best thing you can do it to "be master in GRUB" (10 hours on a
saturday is enough). Grub is great and very easy to use, you can
always boot to grub-prompt with a floppy and then rebuild the boot
sector or test your root partition from the prompt.
Read carefully the paper from http:\\tng.private.dk\how_grub.htm
nb: very important that you set your root partition correctly, e.g.
root (hd1,0) , if your linux root ( / ) resides on disk 2 partition 1.
GL Tuan
- Next message: Vwakes: "Re: eth0... failed; no link present"
- Previous message: Tuan Nguyen: "Re: spamassassin 2.55 upgrade does not work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|