grub problem in CENTOS installation

srivatsan s srivatsan.s30 at gmail.com
Thu Jul 21 22:24:03 CEST 2011


Hi Thomas,


 do you mean i need to do this in 50-host-classes?

#(ifclass I386 || ifclass AMD64) && echo GRUB_PC
(ifclass I386 || ifclass AMD64)
exit 0
i have commented the echo GRUB_PC.


currently my client is getting installed based on
 *)
    echo "FAIBASE CENTOS "
     ;; # CentOS does not use the GRUB class;;


My client is not having the host name:centos. But my understanding if i have
* it means any client right?
is my understanding correct?

Thanks for response
Regards,
Srivatsan

On Thu, Jul 21, 2011 at 12:15 PM, Thomas Lange <
lange at informatik.uni-koeln.de> wrote:

> >>>>> On Thu, 21 Jul 2011 10:52:42 -0700, srivatsan s <
> srivatsan.s30 at gmail.com> said:
>
>    > Now i have the latest fai3.4.8 version installed. Even now the Centos
>    > installation fails.
>
>     > and later i have these errors too
>    > shell.log:++ error=127
>    > shell.log:CENTOS/40-install-grub FAILED with exit code 127.
>    > shell.log:+ trap 'error=$(($?>$error?$?:$error))' ERR
>    > shell.log:chroot: failed to run command `grub-mkdevicemap': No such
> file or
>    > directory
>    > shell.log:++ error=127
>    > shell.log:chroot: failed to run command `grub-probe': No such file or
> Please show us the fai.log, but strip the part of the package
> installation. But maybe you can fix the problem yourself.
>
> I'm pretty sure your client does not belong to the class
> CENTOS, because grub-probe and grub-mkdevicemap is only called if you
> beling to the class GRUB_PC. If you have a look at
> class/50-host-classes you will see that the centos example host
> (called centos) does not use the class GRUB_PC.
>
> --
> regards Thomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20110721/1ea6ba79/attachment.html>


More information about the linux-fai mailing list