Hi.
I have the same problem with Centos6.0 in dx360 M3.
When you install from the cdrom using the kickstart generated in
/install/autoinst/ the grub.conf is:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vgsys-root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
serial --unit=0 --speed=115200
terminal --timeout=5 serial console
title CentOS (2.6.32-71.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro
root=/dev/mapper/vgsys-root rd_LVM_LV=vgsys/root rd_LVM_LV=vgsys/swap
rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=es
console=ttyS0,115200n8r crashkernel=auto
initrd /initramfs-2.6.32-71.el6.x86_64.img
And when you use pxe o xnba:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vgsys-root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
serial --unit=0 --speed=115200
terminal --timeout=5 serial console
title CentOS (2.6.32-71.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro
root=/dev/mapper/vgsys-root rd_LVM_LV=vgsys/root rd_LVM_LV=vgsys/swap
rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8
SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=es
console=ttyS0,115200n8r crashkernel=auto
initrd /initramfs-2.6.32-71.el6.x86_64.img
The grub seems to hang doing something in the serial port, and you see
nothing in the screen.
In post.rh:
sed -i 's/^serial/#serial/' /boot/grub/menu.lst
sed -i 's/^terminal/#terminal/' /boot/grub/menu.lst
The problem is: menu.lst is a link to grub.conf, when you make sed -i
the link is broken and you have two files
and grub.conf seems to have precedence.
Solution: change in post.sh menu.lst to grub.conf
sed -i 's/^serial/#serial/' /boot/grub/grub.conf
sed -i 's/^terminal/#terminal/' /boot/grub/grub.conf
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user