Hi,<br>
<br><div><span class="gmail_quote">On 10/4/05, <b class="gmail_sendername">Stuart J. Browne</b> <<a href="mailto:sjbrowne@bluebottle.com">sjbrowne@bluebottle.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Ajitabh,<br><br>In your %post section, you have these two lines:<br># /bin/echo -e "root (hd0,0) \n install /grub/stage1 d (hd0) /grub/stage2 p<br>\<br>  (hd0,0)/grub/grub.conf \n quit" | /sbin/grub --batch<br>
<br>
You've
only commented out the first part of it, not the
second.  It'd come up with an error 'command not found:
hd0,0', or some such.</blockquote><div><br>
Yeah, I realised that after I posted to the list. I had removed those
lines entirely in my next attempt. My point was first there should not be a need of
installing grub (am I really correct in this ??) through post install section. Second even if I am
installing it using the grub --batch command (lines prior to the one you pointed out), why is it still not
working. <br>
<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Comment out that 2nd line, and try it again.</blockquote><div><br>
Tried and still the same results. <br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Now,
as for 'ls', 'mv' etc. not being mounted when you chroot in emergency
mode, is somewhat odd.  Are you sure it's not just that /bin/
isn't in the emergency sesions path?  You've actually looked
in /bin, not found them, double checked to ensure that the 'cureutils'
package is installed?</blockquote><div><br>
I am sure that the coreutils package is installed as there is no error
while installing it. I checked for the presence of these commands when
I chrooted to /mnt/sysimage and then tried to run grub-install. All i
got from grub-install was - "could not find rm....." Then I came out of
chroot and using the ls from the cd checked for the presentce of
crusial core--utils files in /mnt/sysimage/bin and couldn't find them.<br>
</div></div>-- <br>Regards.<br>Ajitabh Pandey<br><a href="http://www.ajitabhpandey.info">
http://www.ajitabhpandey.info/</a><br>
ICQ - 150615062<br>
Registered Linux User - 240748
<br>
GnuPG Key ID - 35CF8CC4<br>
Key fingerprint = E1A8 657D BE0C 4747 52EC  10C4 1AC2 C124 35CF 8CC4<br>