grub problem in CENTOS installation

srivatsan s srivatsan.s30 at gmail.com
Thu Jul 21 23:40:38 CEST 2011


Hi Thomas,
I can see the classes are being referred properly. The message from the
fai.log is below

Ramdisk mounted onto /target/var/cache/yum
Calling task_mirror
Calling hook: debconf.CENTOS
debconf.CENTOS       OK.
Skiping task_debconf
Calling hook: prepareapt.CENTOS
Test if class DHCPC is in DEFAULT
LINUX
I386
FAIBASE
CENTOS
CENTOS6_32
host
LAST
ifclass returns 1
FILE: /target/etc/hosts
LINE: 145.145.145.22 host.example.org host
PATTERN:
ainsl: newpattern: 145.145.145.22\s+host.example.org\s+host
ainsl: newline: 145.145.145.22 host.example.org host
ainsl: appending to /target/etc/hosts: 145.145.145.22 host.example.org host
Classes: DEFAULT LINUX I386 FAIBASE CENTOS CENTOS6_32 host LAST
List of all files found by File::Find::find:  at /usr/sbin/fcopy line 484.
prepareapt.CENTOS    OK.


*The only error is see in the error.log is as follows*
dmesg.log:[    0.000000] Fast TSC calibration failed
dmesg.log:[    9.624549] aufs: module is from the staging directory, the
quality is unknown, you have been warned.
fai.log:#primary /      350      ext3  rw,noatime,errors=remount-ro
createopts="-L ROOT -I 128"
fai.log:primary /      350      ext4  rw,noatime,errors=remount-ro
createopts="-L ROOT"
fai.log:
'mount_options' => 'rw,noatime,errors=remount-ro',
fai.log:(STDOUT) Warning: The resulting partition is not properly aligned
for best performance.
..........................
....................
fai.log:Unable to read /target/etc/apt/sources.list.d/ - DirectoryExists (2:
No such file or directory)
fai.log:Unable to read /target/etc/apt/sources.list - FileExists (2: No such
file or directory)
fai.log:Unable to read /target/etc/apt/preferences.d/ - DirectoryExists (2:
No such file or directory)
fai.log:SERVER not defined. Can't change network boot configuration
format.log:#primary /      350      ext3  rw,noatime,errors=remount-ro
createopts="-L ROOT -I 128"
format.log:primary /      350      ext4  rw,noatime,errors=remount-ro
createopts="-L ROOT"
format.log:
'mount_options' => 'rw,noatime,errors=remount-ro',
format.log:(STDOUT) Warning: The resulting partition is not properly aligned
for best performance.
shell.log:+ trap 'error=$(($?>$error?$?:$error))' ERR
shell.log:+ trap 'error=$(($?>$error?$?:$error))' ERR

Regards,
Srivatsan

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

> >>>>> On Thu, 21 Jul 2011 13:24:03 -0700, srivatsan s <
> srivatsan.s30 at gmail.com> said:
>
>    >  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.
> I'm not sure what you have done. Please check fai.log to which classes
> your install client belongs.
>
>
>    > currently my client is getting installed based on
>    >  *)
>    >     echo "FAIBASE CENTOS "
>    >      ;; # CentOS does not use the GRUB class;;
>
> It should also belongto the class CENTOS6_32 or CENTOS6_64.
>
> P.S.: Please do NOT cite my whole message. Just cite the lines that are
> needed.
>
> --
> regards Thomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20110721/4c024707/attachment-0001.html>


More information about the linux-fai mailing list