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

Making reiserfs work in the installer

The following are the steps to make the beta work with reiserfs. This will work with a cdrom iso image or a full nfs image.

1)Create a stage 2 image with reiserfs:
cd /severn/RedHat/base/
cp stage2.img stage2.img.old
mkdir m1
mount -oloop stage2.img m1
1022 cp -a m1/ tree
mkdir mymods
rpm2cpio ../RPMS/kernel-2.4.21-20.1.2024.2.1.nptl.i586.rpm |cpio -ivd
rpm2cpio ../RPMS/kernel-unsupported-2.4.21-20.1.2024.2.1.nptl.i586.rpm |cpio -ivd
cd mymods/
cp ../lib/modules/2.4.21-20.1.2024.2.1.nptl/unsupported/fs/reiserfs/reiserfs.o 2.4.21-20.1.2024.2.1.nptl/i586/
cp ../lib/modules/2.4.21-20.1.2024.2.1.nptl/unsupported/fs/jfs/jfs.o 2.4.21-20.1.2024.2.1.nptl/i586/
find . -type f | cpio -H crc -o | gzip -9 > ../modules.cgz
cd ..
mv modules.cgz tree/modules/
umount m2
rm -rf boot lib mymods
mkcramfs tree/ stage2.img
rm stage2.img.old (only if this is going to be a cdrom image otherwise keep the backup image.)

1a)Create a new iso image. (Haven't done this as I do network installs, but in theroy.)
mkisofs -T -r -o ../newrhbeta.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .

2)Boot the installer with the additional reiserfs option. Examples "linux reiserfs" or "text reiserfs".

PS- If you want I can email my modules.cgz off list.

Once you have their hardware. Never give it back.
(The First Rule of Hardware Acquisition)
Sam Flory  <sflory rackable com>

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