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

Reply via email to