|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] want to install Ubunto domU on CentOS dom0 - do I use FV or PV?
Christopher Isip wrote: In my case I'm working with LVM, so I have mounted /dev/system/anyza-zanet on /mnt/anya-zanetOn Sun, Jul 27, 2008 at 2:27 PM, Mark Williamson <mark.williamson@xxxxxxxxxxxx <mailto:mark.williamson@xxxxxxxxxxxx>> wrote: Do I need to cd /mnt/anya-zanet before I run the following command? /usr/sbin/debootstrap --arch i386 --include=linux-image-2.6.24-16-generic,linux-image-2.6.24-16-xen,linux-ubuntu-modules-2.6.24-16-xen,linux-image-xen,libc6-xen,grub --components=main,universe,multiverse hardy /mnt/xenfs http://mirror.3fl.net.au/ubuntu/ I'm trying to install gutsy, so the kernel modules you have isn't available. Thus, I used the following command: debootstrap --arch amd64 --include=linux-image-2.6.24-16-generic,linux-image-2.6.24-16-xen,linux-ubuntu-modules-2.6.24-16-xen,linux-image-xen,libc6-xen,grub --components=main gutsy /mnt/anya-zanet/ http://za.archive.ubuntu.com/ubuntu/ Can / will this be a problem? I don't have update-grub anywhere on my system, where / how do I get it? Was it part of the Ubuntu debootstrap stuff, or should I have installed it separately?WAIT..................chroot /mnt/xen or just make xure all edits go to /mnt/xenfs/ from this point on:mv /lib/tls /lib/tls.disabled create /edit /etc/fstab proc /proc proc defaults 0 0/dev/hda1 / ext3 defaults,errors=remount-ro 0 1/dev/hda2 none swap sw 0 0 # mkdir -p /boot/grub # update-grub edit /boot/grub/menu.lst title Ubuntu 8.04, kernel 2.6.24-16-xen root (hd0,0)kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/xvda1 ro console=xvc0initrd /boot/initrd.img-2.6.24-16-xen title Ubuntu 8.04, kernel 2.6.24-16-xen (recovery mode) root (hd0,0)kernel /boot/vmlinuz-2.6.24-16-xen root=/dev/xvda1 ro single console=xvc0initrd /boot/initrd.img-2.6.24-16-xen # cd /etc/event.d # cp tty1 xvc0 # sed -i -e "s/tty1/xvc0/g" xvc0 Add xvc0 to /etc/securetty to allow root to login # update-rc.d -f hwclockfirst remove # update-rc.d -f hwclock remove # rm /etc/udev/rules.d/85-hwclock.rulesNow download the updated linux-image and headers from http://www.il.is.s.u-tokyo.ac.jp/~hiranotaka/ <http://www.il.is.s.u-tokyo.ac.jp/%7Ehiranotaka/>and install them, otherwise no network when you boot the domU Create our guest config file : bootloader = '/usr/bin/pygrub' memory = 512 name = "Ubuntu-Hardy-Base"disk = ['file:/vm/Ubuntu-Hardy-base.img,hda1,w','file:/vm/Ubuntu-Hardy-swap.img,hda2,w']vif = [ '' ] Boot the domU. Hope this helps Chris -- Kind Regards Rudi Ahlers Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |