CentOS DomU setup

From PrgmrWiki
Revision as of 03:20, 11 January 2010 by Nick (talk | contribs) (category tag)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[root@boar ~]# lvcreate -L 10240 -n domU_test boar_domU cd /mnt [root@boar mnt]# mkdir proc sys etc

make a fstab

fix modprobe.conf

[root@boar mnt]# cat > etc/modprobe.conf
alias scsi_hostadapter xenblk
alias eth0 xennet

# wget http://yum.math.hmc.edu/os/centos/5.2/os/i386/CentOS/centos-release-5-2.el5.centos.i386.rpm
# rpm -ivh --nodeps --root /mnt centos-release-5-2.el5.centos.i386.rpm

#[root@boar mnt]# yum --installroot=/mnt -y install yum

(without this part you get weird transaction errors)

  1. yum --installroot=/mnt -y groupinstall Base

done. (on x86 64)

if you are on i386, you must

  echo "hwcap 0 nosegneg" > /etc/ld.so.conf.d/nosegneg.conf

else you will get a bunch of

4gb seg fixup, process bash (pid 7288), cs:ip 73:0040d455