[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen
--- On Fri, 5/14/10, Tapas Mishra <mightydreams@xxxxxxxxx> wrote: > From: Tapas Mishra <mightydreams@xxxxxxxxx> > Subject: [Xen-users] Installing CentOS as DomU on Debian Lenny (dom0) Xen > To: "Xen List" <xen-users@xxxxxxxxxxxxxxxxxxx> > Date: Friday, May 14, 2010, 10:36 PM > Hi, > I have searched the question which I am asking.But if some > one has > mentioned on their blog or link some where they have > mentioned as how > they > installed CentOS as DomU on Debian Lenny (dom0)running > xen-3.2.1 and I > should have a look Go here and grab your boot files: http://mirrors.kernel.org/centos/5.5/os/x86_64/images/xen/ vmlinuz initrd.gz $ cat cent55.py name = "cent55" uuid = "442db20d-7a82-409b-b8aa-a352c1fe127c" maxmem = 512 memory = 512 vcpus = 2 #bootloader = "/usr/bin/pygrub" #bootargs = "-q" #kernel="/usr/lib/xen/boot/pv-grub-x86_64.gz" # kernel=/vmlinuz-2.6.18-194.el5xen initrd=/initrd-2.6.18-194.el5xen.img on_poweroff = "destroy" on_reboot = "destroy" on_crash = "destroy" vfb = [ "type=vnc,vncunused=1,keymap=en-us" ] disk = [ "phy:/dev/maxvm/cent55,xvda,w" ] vif = [ "bridge=br0,mac=00:16:3e:3b:2a:2f" ] extra = " install=http://mirrors.kernel.org/centos/5.5/os/x86_64/ console=tty0 console=ttyS0,38400n8 console=xvc0" ------------------------ snip ---------------- to kickoff your PV install $sudo xm create -c cent55.py kernel=vmlinuz ramdisk=initrd.gz you will boot into a netinstall. You can point the installer back to the same http source above where the xen boot files came from, or better yet, use a local resource. Be prepared to switch over from a console to vnc when prompted by the text install. Accept installer defaults. Before you do "first boot", test that pygrub can find your install. #pygrub -q /dev/VolGrp/LV Check the path /var/run/xend/boot. If there is no /boot subfolder, then create it. you should see something like this: Using <class 'grub.GrubConf.GrubConfigFile'> to parse /grub/menu.lst linux (kernel /var/run/xend/boot/boot_kernel.P0o6ev)(ramdisk /var/run/xend/boot/boot_ramdisk.Y5yCn_)(args "ro root=/dev/VolGroup00/LogVol00 console=xvc0 noresume selinux=0 ") then edit cent55.py and uncomment the pygrub lines (x2). To get the clock working, do #nano /etc/sysctl.conf add: xen.independent_wallclock=1 to accept your changes #sysctl -p #yum install ntp #chkconfig ntp on I went throught this yesterday on karmic dom0 with no trouble. -- Mark _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |