new kernel build cause "no init found"
Ow Mun Heng
Ow.Mun.Heng at wdc.com
Mon Apr 25 07:28:00 UTC 2005
On Mon, 2005-04-25 at 10:03 +0300, Petar Nedyalkov wrote:
> 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.
The other thing which I've been bit before is wrong labelling of the
root/boot partitions in /etc/fstab
Check there too
--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz
98% Microsoft(tm) Free!!
Neuromancer 15:27:28 up 18:34, 7 users, load average: 1.05, 0.87, 0.56
More information about the fedora-list
mailing list