Re: Can't boot 2.2.0, can't find init, use init=...

Mike A. Harris (mharris@ican.net)
Tue, 26 Jan 1999 11:11:53 -0500 (EST)


On Tue, 26 Jan 1999, Matthew Kirkwood wrote:

>> When my 2.2.0 boots, it gets to the point where init should start
>> and gives a kernel panic.
>>
>> Kernel panic: can't load init, use init=...
>>
>> Something like that... I can write down the exact phrase if
>> necessary. 2.2.0preEVERYTHING did the same thing as well.
>
>Perhaps you should have reported this.

I did make some reports. The first 2.2.0pre that I tried, failed
just after "Loading devel...." before the "Uncompressing"
message. Other pre's went half way through the kernel startup,
the last couple pre's made it to the "can't load init" stage. I
wrote at least 1 or two messages about it.

I don't know if it was a kernel fault, or my fault. It is
perfectly possible that I did something wrong myself.

>> Prior to all of that, it gives me a "can't open initial console"
>> or somesuch as well. Perhaps it has to do with mdacon?
>>
>> Attached is my .config and my lilo.conf.
>
>The you would find that:

>> boot=/dev/hdb6
>> map=/boot/map
>> install=/boot/boot.b
>> prompt
>> timeout=75
>>
>> image=/boot/zImage-2.0.36-2
>> label=linux-2.0.36-2
>> root=/dev/hdb6
>> vga=ext
>> read-only
>>
>> image=/boot/zImage-2.2.0-1
>> label=devel
>> root=/dev/hda6
> ^
>> vga=ext
>> append="mdacon=13,16"
>> read-only
>
>your lilo.conf contains a typo.

Hmm. Strange. The /dev/hdb6 is the one that I wanted, so you
are correct that there is a typo there, but my /dev/hda6 is also
a linux root fs that is bootable too. I can boot RedHat 5.2 off
/dev/hda6 with 2.0.36, and I can boot RedHat 5.1 off /dev/hdb6
with 2.0.36. 2.2.0 wouldn't boot on either, but I'll try
changing the typo and see what happens. I just checked my RH 5.2
lilo.conf and it does not have a typo strangely enough.

3 root@red:/stuff/linux# fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 935 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 262 2104483+ 1b Unknown
/dev/hda2 263 393 1052257+ 83 Linux native
/dev/hda3 394 470 618502+ 6 DOS 16-bit >=32M
/dev/hda4 471 935 3735112+ 5 Extended
/dev/hda5 471 479 72261 82 Linux swap
/dev/hda6 480 741 2104483+ 83 Linux native
/dev/hda7 742 935 1558273+ 83 Linux native

Disk /dev/hdb: 255 heads, 63 sectors, 524 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 196 1574338+ 1b Unknown
/dev/hdb2 197 324 1028160 83 Linux native
/dev/hdb3 * 325 524 1606500 5 Extended
/dev/hdb5 325 329 40131 82 Linux swap
/dev/hdb6 * 330 524 1566306 83 Linux native

Thanks for your help. I will fix my lilo.conf, and try to boot
once again. If it fails, I'll post back another report.

TTYL

--
Mike A. Harris  -  Computer Consultant  -  Linux advocate

Linux software galore: http://freshmeat.net

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/