Michael Fratoni wrote:
You shouldn't need 2 kernels on the boot disk. If you put the same kernel-BOOT rpm in both build trees, the same kernel should work with both initrd.imgs.
I have given up trying to chroot, and I have decided to change the loader. Using the same kernel-BOOT in both places was a great idea. I also liked John's idea of creating a minimal install so that it would fit on a CD. I took my 7.3 tree, and stripped it of everything except what was in the Base and in the upd-instroot. I then added a rh72 directory in the top level, that was my 7.2 tree. The CD is setup like that of an original Red Hat layout, with a rh72/i386 directory.
I tried using the anaconda for 7.2 but I get errors (included in error.txt attachment) about no space left on device. I decided to get the 7.3 anaconda packages (as well as the hwdata), and it rebuilds just fine. Any idea why I got these errors for the 7.2 packages?
I used two different anaconda rpms, one for 7.3 and one for 7.2. In the one for 7.2 I patches loader.c, and changed all paths that had RedHat/ to rh72/i386/RedHat. I also patched mk-images.i386 and removed some of the modules in the cdboot.img. I then copied the initrd.img from 7.2 into the cdboot.img. I created the disc, and tried to install 7.3 first. This worked flawlessly. I then tried to install 7.2, and it could not probe my video card (Intel 730). It gave me a resolution of 640x480 (or less), but it did eventually work. I tried a regular 7.2 installation, and it probed the video card just fine. Any idea why it was not able to probe the video card?
Thanks to everyone who has suggested solutions, Forrest --
Wrote /tmp/makebootdisk.tree.29843 (640k compressed, 1058k free) Module hid not found in kernel rpm Module keybdev not found in kernel rpm Module usb-ohci not found in kernel rpm Module usb-uhci not found in kernel rpm Module vfat not found in kernel rpm 12000+0 records in 12000+0 records out mke2fs 1.27 (8-Mar-2002) Wrote /tmp/makebootdisk.tree.29843 (616k compressed, 1076k free) Wrote /home/smalldvd/i386/exrh72/i386/images//boot.img (8k free) cp: writing `/tmp/makebootdisk.tree.29843/vmlinuz': No space left on device sed: couldn't write 99 items to {standard output}: No space left on device sed: couldn't write 69 items to {standard output}: No space left on device sed: couldn't write 65 items to {standard output}: No space left on device sed: couldn't write 19 items to {standard output}: No space left on device sed: Couldn't close {standard output} /home/smalldvd/i386/exrh72/i386/buildinstall.tree.25071/mk-images: Failed to copy messages from /home/smalldvd/i386/exrh72/i386/RedHat/instimage/usr/lib/anaconda-runtime/boot/ to /tmp/makebootdisk.tree.29843.