[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] centos4.5(domU) on etch(dom0)


  • To: "Igor Chubin" <igor@xxxxxxx>
  • From: "Chris Fanning" <christopher.fanning@xxxxxxxxx>
  • Date: Wed, 5 Dec 2007 12:59:06 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 05 Dec 2007 03:59:56 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K18NMd8CRoL4d2nDl8S9TDG4ErIq9qFlS3Hi5bfVrpU23AczPXWz6Y4ZxYqXtNPt/WdNtxgNelyg+Cj0kRGODq+1P/Bv+aXQBsj+MFgx4kwnatR+ymSFBLGHWCUmAJdJlTo0X5NUKynZLq+fHVrgfewq24GhtX0I4/6u+Q47Ob4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

> After the installation will be finished
> do not forget to make last steps I've described earlier
>
> (that is
> mkdir /mnt/{dev,proc,etc}
> for i in console null zero ; do /sbin/MAKEDEV -d /mnt/dev -x $i ; done
> mv /mnt/lib/tls /mnt/lib/tls-disabled
> vi /etc/sysconfig/network
> vi /etc/sysconfig/network-scripts/ifcfg-eth0
> cp -R /lib/modules/2.6.*xen* /mnt/lib/modules/
> sudo chroot /mnt
> bash-3.1# pwconv
> bash-3.1# passwd
> bash-3.1# exit
> umount /mnt
>
ok. I have booted centosU. :)
I did not need to mkdir /mnt/{dev,proc,etc}, they were already created.

On boot udev fails. I don't know why. Perhaps it isn't important.

Thankyou very much for your help.

Chris.

On Dec 4, 2007 6:17 PM, Igor Chubin <igor@xxxxxxx> wrote:
> ...
>
> > >
> > > As far as I can understand you have done this already
> > > but without success.
> > > Am I right?
> > You you are right.
> > But I think I hace succeeded (but perhaps not very elegantly).
> > I created a file /etc/yum.repos.d/CentOS-Base.repo with this content
> > http://gatopelao.org/downloads/CentOS-Base.repo
> >
> > I also edited /etc/yum.conf (although I don't know if it's necessary)
> > ----------------------
> > [base]
> > name=Centos 4.5 - $basearch - Base
> > baseurl=http://mirror.centos.org/centos/4.5/os/i386/
> > gpgcheck=1
> > gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4.5
> >
> > #released updates
> > [update]
> > name=CentOS-4.5 - Updates
> > baseurl=http://mirror.centos.org/centos/4.5/updates/i386/
> > ----------------------
> >
> > then did
> > # yum update
> > # yum grouplist
> >
> > then
> > yum --installroot=/mnt -y groupinstall Base
> >
> > I haven't touched redhat since redhat7.3 and am quite lost. But it is
> > installing into /mnt at the moment. :)
> >
> > If I understand right, your example suggests that I shouldn't need to
> > touch /etc/yum*
>
>
> Yes, you shouldn't.
>
> You use independent config file which may be placed
> anywhere and pass the pass to it in th command line
> of the yum.
>
> %# apt-get install yum
> %# yum -c /tmp/yum-xen.conf --installroot=/mnt -y groupinstall Base
>
>
> Ok, now it works.
>
>
> After the installation will be finished
> do not forget to make last steps I've described earlier
>
> (that is
> mkdir /mnt/{dev,proc,etc}
> for i in console null zero ; do /sbin/MAKEDEV -d /mnt/dev -x $i ; done
> mv /mnt/lib/tls /mnt/lib/tls-disabled
> vi /etc/sysconfig/network
> vi /etc/sysconfig/network-scripts/ifcfg-eth0
> cp -R /lib/modules/2.6.*xen* /mnt/lib/modules/
> sudo chroot /mnt
> bash-3.1# pwconv
> bash-3.1# passwd
> bash-3.1# exit
> umount /mnt
>
> )
>
>
>
> >
> > Chris.
> >
> > >
> > >
> > > --
> > > WBR, i.m.chubin
> > >
> > >
>
> --
> WBR, i.m.chubin
>
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.