xfs module not loading

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



On 8/19/05, Johnny Hughes <mailing-lists@xxxxxxxxxxxx> wrote:
> On Fri, 2005-08-19 at 13:51 -0700, Fong Vang wrote:
> > On 8/19/05, James Pearson <james-p@xxxxxxxxxxxxxxxxxx> wrote:
> > > Fong Vang wrote:
> > > >>
> > > >>Rebuilding the installer with and an XFS enabled kernel will result in a
> > > >>working installer ... as you've seen, hacking the installer by adding
> > > >>modules, doesn't work - that is the main difference ...
> > > >
> > > >
> > > > Makes sense. Thank you for the insight.  Could you point to some
> > > > document detailing the steps to rebuild the installer (not really sure
> > > > what that means).
> > >
> > > See an earlier post in this thread:
> > >
> > > http://lists.centos.org/pipermail/centos/2005-August/010119.html
> > >
> > > Basically you need to have the whole distribution (from CDs etc) on
> > > line, replace all the various kernel RPMS with the ones from centosplus
> > > downloads and add the xfsprogs (and jfsutils and reiserfs) RPMS to the
> > > CentOS/RPMS directory, install the anaconda-runtime RPM and run
> > > something like the script at http://centos.hughesjr.com/testing/build.sh.txt
> >
> > I tried to run it, but looks like you need the SRPMS.  The script
> > doesn't do much error checking.
> 
> I don't make mistakes ... just kidding :)
> 
> This is the script I use to make the CD ISOs for CentOS 4 ... It isn't
> really meant for redistribution (Not that it is a huge secret or
> anything, I just never really commented it for distribution).
> 
> >   The variables are not well commented,
> > but I assume BUILDDIR is where the build will happen and DISTDIR is
> > the original source is located.
> >
> 
> correct.  $BUILDDIR needs to look like /usr/src/redhat and you need to
> have it also be %_topdir in your .rpmmacros.  You need all the items you
> want to put on the CDs under a $ARCH (i386, x86_64, etc.) directory
> under $DISTDIR ... also in your .rpmmacros, the full path to $DISTDIR
> needs to be %rpmdbtree ... and $DISTDIR/$ARCH/CentOS/base needs to be %
> basedir.
> 
> Here is the .rpmmacros that I build with:
> http://centos.hughesjr.com/testing/rpmmacros
> 
> This also signs the packages with a key named CentOS-4 (which you
> probably don't have .... signing the packages is not required, but you
> would need to remark out the "rpm --resign" steps if you  don't want to
> sign.
> 
> > Anyway, I guess I'll have to dive into the script and try to figure
> > out how it's doing it.  BTW, last question.  Does it create the
> > initrd, kernel, netstg and stage2 images automatically?
> >
> 
> Yes it will .... And generate all the install images, boot.iso, etc.

Much appreciated.  I will try it out tonight.
 
> > Here's my sample run:
> >
> > ls: /scratch/fong/centos-4.1-rebuild/SRPMS/comps-4*: No such file or directory
> > ls: /scratch/fong/centos-4.1-rebuild/SRPMS/rpmdb-CentOS*: No such file
> > or directory
> > Starting Build ... - logging to
> > /scratch/buildcentos/rpmbuild/build.200508191350.log
> > ./build.sh: line 42:
> > /scratch/buildcentos/rpmbuild/build.200508191350.log: No such file or
> > directory
> > cp: missing destination file
> > Try `cp --help' for more information.
> > cp: missing destination file
> > Try `cp --help' for more information.
> > rpm: no packages given for install
> > rpm: no packages given for install
> > Building Comps
> > ./build.sh: line 73:
> > /scratch/buildcentos/rpmbuild/build.200508191350.log: No such file or
> > directory
> > ./build.sh: line 80:
> > /scratch/buildcentos/rpmbuild/build.200508191350.log: No such file or
> > directory
> > ./build.sh: line 81:
> > /scratch/buildcentos/rpmbuild/build.200508191350.log: No such file or
> > directory
> > ./build.sh: line 82:
> > /scratch/buildcentos/rpmbuild/build.200508191350.log: No such file or
> > directory
> > ./build.sh: line 83:
> > /scratch/buildcentos/rpmbuild/build.200508191350.log: No such file or
> > directory
> > ./build.sh: line 84:
> > /scratch/buildcentos/rpmbuild/build.200508191350.log: No such file or
> > directory
> > Building Rpmdb
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> 
> iD8DBQBDBkwzTKkMgmrBY7MRAnr+AKCXw1EXBY1leNL7M3ZyOe5uCyU6AACfZsSf
> lwAod3Cdg6dDTQd60PPV/vY=
> =UH6k
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 
> 
>

[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