Help rebuilding kernel get mount error on reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 2005-06-14 at 10:32 -0500, Johnny Hughes wrote:
> On Tue, 2005-06-14 at 10:05 -0500, Jerry Geis wrote:
> > I am attempting to recompile the kernel with the following steps.
> > 
> > Install kernel-sourcecode rpm
> > 
> > cd /usr/src/linux-2.6.9-11.EL
> > cp /boot/config-2.6.9-11.EL .config
> > make menuconfig
> >        Device Drivers -> Character Devices -> Serial Drivers
> >         change Max number of non legacy 8250_NR_UARTS to 36
> > make bzImage
> > make modules_install
> > make install
> > 
> > Then after rebooting and selecting my -custom image from the above compile
> > 
> > "mount: error 19 mounting ext3"
> > "mount: error 2 mounting none"
> > 
> > Then the machine stops of source.
> > 
> > What happended? How do I get my custom kernel to boot.
> 
> Jerry,
> 
> The kernel-sourcecode package (it is no-arch) doesn't always apply all
> kernel patches for the arch in question.  I actually think it is kind of
> worthless and we will probably stop including it.
> 
> Try this instead :)
> 
> Download the kernel-xxxxx.src.rpm
> 
> do:
> 
> rpm -Uvh kernel-xxxxx.src.rpm
> 
> go to the SPECS directory and do this:
> 
> rpmbuild -bp --target i686 kernel-xxx.spec
> 
> then go to the BUILD directory and go down to the kernel directory and
> build there.
> 
> (substitute the versions for xxxxx ... also use the correct --target for
> the kernel you are trying to compile)  This will get all the target
> related patches applied.

I just put some SRPMS in the
http://mirror.centos.org/centos/4.1/os/SRPMS/ directory ... including
the kernel.  It will take probably 30 minutes for them to get synced to
all the mirror.centos.org machines

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20050614/56078d4a/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux