Well, I've been on other things for a while, but now I'm back to this, and still no luck...
I did find that it's -something- with the version of grub in rhel3, 0.93, as I don't get this issue if I build and install 0.95 grub before taking an image. It's just strange that it only happens when installing grub from withing the systemimager/sytstemconfigurator install process, it works fine from within the actual RHEL3 OS. I'm just using gunzip and gzip with no options to uncompress and compress the images. Any other ideas? Thanks again, Matt On Wednesday 09 August 2006 03:26, Andrea Righi wrote: > this sounds very strange... if md5sum it's the same it's not possible > that compressed initrd is broken during imaging. Maybe it has been > compressed with an incompatible tool, but this sounds strange too... > have you tried to chroot in the image and uncompress+recompress it? > what's the exact command you used to compress? > > -Andrea > > Matt Jamison wrote: > > Ok, if I uncompress the initrd in the image and just leave it uncompressed, > > and then drop the image on the client, everything works. Something is > > happening during imaging, that is somehow screwing up the compressed initrd > > in RHEL3... > > > > On Monday 07 August 2006 15:18, Andrea Righi wrote: > >> So what's happen if you uncompress+recompress the initrd in the imaged > >> client and then copy it into the image on the image server, replacing > >> the old initrd? Maybe the initrd you've in the image is corrupted... :-/ > >> > >> -Andrea > >> > >> Matt Jamison wrote: > >>> Yes, it seems like some kind of grub problem, but only happens when > > imaging > >>> the box... > >>> > >>> The command I ran was just grub-install /my/device, with no options. This > >>> doesn't correct the problem unless I first uncompress and recompress the > >>> initrd. > >>> > >>> My device.map file looks like: > >>> > >>> [EMAIL PROTECTED] root]# cat /boot/grub/device.map > >>> (fd0) /dev/fd0 > >>> (hd0) /dev/sda > >>> > >>> Systemconfigurator is version 2.2.2-1 > >>> > >>> I tried installing grub again with grub-install during a post script like > > you > >>> suggested, but I still get the crc error on boot... > >>> > >>> Matt > >>> > >>> > >>> On Monday 07 August 2006 11:05, Andrea Righi wrote: > >>>> Matt Jamison wrote: > >>>>> I can boot the box up in rescue mode, uncompress the initrd and > >>>>> recompress, reinstall grub with grub-install. > >>>>> > >>>>> The system boots normally. > >>>>> > >>>>> Also, I kickstarted a system with LILO rather than Grub, and it worked > >>>>> normally after taking an image and dropping back on the same box. > >>>> So, it seems a grub problem (maybe it skips some initrd blocks)... > >>>> > >>>> What's the exact command you ran with grub? "grub-install /dev/??" > >>>> without any option? does it work also if you only re-run grub-install > >>>> without uncompressing+recompressing the initrd? > >>>> > >>>> what's the content of your device.map in your image? which version of > >>>> systemconfigurator are you using? systemconfigurator generates a new > >>>> device.map in /tmp (with grub --device-map=/tmp/grub.devices then it > >>>> uses that file to install grub (unfortunately it's removed so you can't > >>>> check it after the client is imaged). > >>>> > >>>> I suggest also another post-install script: > >>>> > >>>> ---------- > >>>> #!/bin/sh > >>>> grub-install <your_device> > >>>> ---------- > >>>> > >>>> ...it's very simple... not too hackish! :-) Moreover post-install > >>>> scripts are well documented in > >>>> /var/lib/systemimager/scripts/post-install/README. > >>>> > >>>> Regards, > >>>> -Andrea > >>>> > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Sisuite-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sisuite-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
