Mike Chirico on 18 Feb 2004 00:02:02 -0000


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

[PLUG] Redhat 9.0 with 2.6 Kernel: got a pivot_root error?


If you're upgrading Redhat 9.0 or 8.0 to the 2.6 kernel and
you come across the following error:

mount: error 19 mounting ext3
pivotroot: pivot_root (/sysroot,/sysroot/initrd) failed: 2

Make the following change to your .config file

 CONFIG_EXT3_FS=y

Most likely, you have the value set to m, which means
initrd will fail. "m" (loadable module) is the default value.  Instead
ext3 has to be built
as part of the kernel, choose "y" without the quotes. If you take a look
at /etc/fstab, you'll
see /boot is ext3 and the new kernel has no way of pulling itself up.  I
think this unique
to Redhat 8/9, since Redhat  < 7.2 is all ext2, which by default is
built in 2.6.

Anyway, it seems like a lot of installs have gotten stuck on this point,
since there's
not a whole lot of documentation on this specific point.

Regards,

Mike Chirico

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug