On Wed, 2002-06-12 at 20:12, Taylor, ForrestX wrote: > 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? The kernel for 7.3 is significantly larger than the one for 7.2, so you can't get boot disks to fit using it with 7.2. > 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? Probably mismatch between kernel modules and what X was looking for... the 730 is one of the weird intel onboard chips that requires some of the agp support to match properly iirc. Cheers, Jeremy