Installing Ubuntu 14.04 LTS (Trusty Tahir) VM on a XenServer 6.2 host

本文详细介绍了如何登录XenServer主机作为root用户,并编辑GrubConf.py文件进行特定配置。同时,提供了创建VM模板和从模板创建VM的步骤,包括使用XenCenter操作和指定安装媒体。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1.Based on this post, do the following:

Login as root on your Xenserver host (dom0):

Edit the file /usr/lib/python2.4/site-packages/grub/GrubConf.py.

        Change line 428 from:

        if arg.strip() == "${saved_entry}":

        into:

        if arg.strip() == "${saved_entry}" or arg.strip() == "${next_entry}":

2.Create a new VM template for XenCenter
bash:
TEMPLATE_UUID=xe template-list name-label="Ubuntu Lucid Lynx 10.04 (64-bit)" params=uuid --minimal
NEW_TEMPLATE_UUID=xe vm-clone uuid=$TEMPLATE_UUID new-name-label="Ubuntu Trusty 14.04 (64-bit)"
xe template-param-set other-config:default_template=true other-config:debian-release=trusty uuid=$NEW_TEMPLATE_UUI

3.Create the VM from template using XenCenter
(1)In xenCenter select ubuntu 14.04
(2)”installation media ” select install from URL:
http://us.archive.ubuntu.com/ubuntu

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值