new kernel build cause "no init found"

Petar Nedyalkov bu at orbitel.bg
Mon Apr 25 07:03:46 UTC 2005


On Monday 25 April 2005 09:26, Petar Nedyalkov wrote:
> On Monday 25 April 2005 07:09, lin q wrote:
> > Hi,
> >   I have Fedora Core 1 installed and now I am trying to build a new
> > kernel using the same kernel source files from the host.
> >
> >   After I have the kernel compiled I copy the bzImage to /boot and rename
> > it to kernel_mybld. And I come to modify the /etc/grub.conf. Before my
> > changing it is like this,
> >
> > default=0
> > timeout=10
> > splashimage=(hd0,0)/grub/splash.xpm.gz
> > title Fedora Core (2.4.22-1.2115.nptl)
> > 	root (hd0,0)
> > 	kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/12 ide=nodma rhgb
> > 	initrd /initrd-2.4.22-1.2115.nptl.img
> >
> >   Then what I do is basically add another entry like this,
> >
> > title mybld
> > root (hd0,0)
> > kernel /kernel_mybld ro root=/dev/hda1 LABEL=/ ide=nodma rhgb
> > initrd /initrd-2.4.22-1.2115.nptl.img
> >
> >   But in rebooting, I get an error,
> >
> > VFS: mounted root (ext2 file system) readonly
> > Freeing unused kernel memory: 88K
> > Warning: unable to open an initial console
> > Kernel panic: No init found. Try passing init= option to kernel
> >
> >   In config the kernel I did enable the EXT2 FS.
> >
> > Any suggestion?
>
> make mrproper
>
> before make menuconfig.

Oh, and of course - enable the ext3 FS not as a module but in the kernel.

>
> > _________________________________________________________________
> > On the road to retirement? Check out MSN Life Events for advice on how to
> > get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

-- 

Cyberly yours,
Petar Nedyalkov
Devoted Orbitel Fan :-)

PGP ID: 7AE45436
PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc
PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050425/7f4bd3b0/attachment-0001.sig>


More information about the fedora-list mailing list