Hey Bernard,

Upgrading grub is the solution I'm using for now, but I'm still concerned that 
this issue occurs, and I'd rather not force my users to upgrade grub if 
possible.   I plan to add some more debugging print to the kernel and 
investigate more next week, hopefully I'll get this figured out.

I did find this thread from 2004 btw, that looks to be the exact same issue 
(never resolved).

http://marc.theaimsgroup.com/?l=sisuite-users&m=109241875630880&w=2

Thanks,

Matt

On Saturday 19 August 2006 17:26, Bernard Li wrote:
> Hi Matt:
> 
> Is it possible to update the version of grub?
> 
> I suggest you search the mail archives of sisuite-users and sisuite-devel, I 
think Mark Seger have perhaps related issues with grub, but he's using cssis 
devices though.
> 
> Regards,
> 
> Bernard
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] on behalf of Matt Jamison
> Sent: Thu 17/08/2006 22:24
> To: [email protected]; [EMAIL PROTECTED]
> Subject: Re: [Sisuite-users] crc error booting imaged system
>  
> 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
> 
> 

-------------------------------------------------------------------------
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

Reply via email to