-
Kernel panic: No init found , lilo related.
I am getting this error upon booting up with lilo:
mounting root filesystem
mount: error 6 mounting ext3
pivotroot: pivot_root(/sysroot, sysroot/initrd) failed 2
umount /initrd/proc failed: 2
kernel panic: no init found. Try passing init = option to kernel.
My lilo.conf looks like this:
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32
image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdc=ide-scsi root=LABEL=/"
root=/dev/hda3
other=/dev/hda2
optional
label=DOS
And my drive structure is like this:
Ignoring extra extended partition 4
Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 2 852 6835657+ 5 Extended
/dev/hda2 853 13524 101787840 c Win95 FAT32 (LBA)
/dev/hda3 13525 14162 5124735 83 Linux
/dev/hda4 * 14163 14946 6297480 85 Linux extended
/dev/hda5 2 852 6835626 7 HPFS/NTFS
What could be wrong? Its a dual boot machine with RH 9 and WinXp pro.
Also, i can boot into redhat just fine if i use the redhat bootdisk. So it looks like a lilo problem to me.
Notes:
i did run /sbin/lilo after each change.
also tried to use hda4 as the root.
/sbin/init exists and is executable.
machine was working fine with grub, but i want to use lilo because of some software problem (don't ask).
Thanks.
Last edited by sk545; 07-15-2003 at 04:30 PM.
-
Is this the stock or upgraded kernel?
If upgraded, try changing the following
append="hdc=ide-scsi root=/dev/hda3"
and remove (or comment out)
# root=/dev/hda3
<edit>
If that is not the solution, try some of these JL forum search results for 'kernel panic init found'.
-
thanks, that worked.
btw, i clicked on that link that you provided and it doesn't connect. Just to let you know.
-
Originally posted by sk545
btw, i clicked on that link that you provided and it doesn't connect. Just to let you know.
Glad to help.
I always double check any links I include before leaving the thread and I just tried it again and it does work.
-
it worked now for me too. looks like i didn't wait long enought.
Thanks again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|