Install ubuntu 10.04 Virtual Machine on XEN

Source: Internet
Author: User


XEN install ubuntu 10.04 Virtual Machine Ubuntu 10.04 domUXen install Ubuntu 10.04 user-used Ubuntu text installer Ubuntu 10.04 can use the default text-based installer included in the Ubuntu release version install Xen CD user. First, create a new LVM volume for the guest virtual disk storage: www.2cto.com [root @ f13 ~] # Lvcreate-nubuntu01-L20G/dev/vg_f13 Logical volume "ubuntu01" created and then download the Ubuntu official Xen guest configuration file: [root @ f13 ubuntu] # wget http://fi.archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/xm-debian.cfg--2010-09-05 01:53:38 -- http://fi.archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/xm-debian.cfgResolving fi.archive.ubuntu.com... 130.230.54.102, 2001: 708: 310: 54: 102 Connecting to fi.archive.ubuntu.com | 130.230.54.102 |: 80... connected. HTTP request sent, awaiting response... 200 OKLength: 7618 (7.4 K) [text/plain]
Saving to: â € parse xm-debian. cfg â € 100% [============================================ ====>] 7,618 --. -K/s in 0.008s2010-09-05 01:53:38 (911 KB/s)-â € xm-debian. cfg â € saved [7618/7618] and rename it "ubuntu01.cfg" [root @ f13 ubuntu] # mv xm-debian.cfg ubuntu01.cfg [root @ f13 ubuntu] # Then with your favorite text editor edit ubuntu01.cfg ", make it look like (including other things): www.2cto.com memory = 1024 name = "ubuntu01" vcpus = 1vif = ['mac = 00: 16: 36: 64: 3d: f3, bridge = virbr0'] Disk = ['phy: vg_f13/ubuntu01, xvda, W'] changing the MAC address is unique. Then find the line "ubuntu01.cfg" and add the appropriate path ("/usr/bin/pygrub "): if not xm_vars.env.get ('install'): bootloader = "/usr/bin/pygrub" else: the modified configuration file is as a reference. http://pasik.reaktio.net/fedora/f13xen4tutorial/ubuntu01.cfg . Then start the Ubuntu installation program: xm create-f ubuntu01.cfg-c install = trueinstall-kernel =" http://fi.archive.ubuntu.com/ubuntu /Dists/lucid/main/installer-amd64/current/images/netboot/xen/vmlinuz "install-ramdisk =" http://fi.archive.ubuntu.com/ubuntu /Dists/lucid/main/installer-amd64/current/images/netboot/xen/initrd.gz "install-mirror =" http://fi.archive.ubuntu.com/ubuntu "All the preceding commands must be on one line. Replace the website address of your local image. Ubuntu 10.04 text installation start: www.2cto.com

Install as usual. Select network DHCP.

 


After Ubuntu is installed, the VM is disabled. After the installation, you can start Ubuntu guests, such as xm create-f ubuntu01.cfg-c. First, you will see the pygrub menu for you to choose Ubuntu kernel startup, then you will get the normal Xen PV passenger text console and check the Ubuntu kernel startup. You can exit the console and press CTRL +] or Ctrl + 5. Author ll7466628

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.