`
javasee
  • 浏览: 926348 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

如何更改xVM上PV guest的内核启动参数

XML 
阅读更多

PV guest一般直接boot进入系统,而没有grub menu的过程。但有的时候需要给PV guest的内核增加一些启动参数,比如:

1. 增加-v, -kd等内核调试参数

2. 增加console等串口输出工具

3. 选择不同的内核进行启动

等等。

下面就是一例。

During 'pkg image-update' a zfs snapshot of the root filesystem
was created and then a zfs clone was created from that snapshot.
The clone is given a suffix of a '-1' or '-2', etc. Then the
clone is promoted so it is now on the mainline of the filesystem.

After a couple of 'pkg image-update's you'll see
rpool/ROOT/opensolaris
rpool/ROOT/opensolaris-1
rpool/ROOT/opensolaris-2
with -2 being the current boot filesystem.

To boot one of the other clones, you'll need to add
a bootloader_args entry to your domain definition for the
zfs filesystems that you want to boot.

% virsh dumpxml <domU> > domain.xml

Edit domain.xml adding this line after the <bootloader> line with the
zfs clone filesystem to boot:
<bootloader_args>--args="-B zfs-bootfs=rpool/ROOT/opensolaris"</bootloader_args>

% virsh define domain.xml

Then you'll be able to boot that domU using that zfs filesystem clone.

This is equivalent to running the grub command 'bootfs' to select
the current zfs boot filesystem to use.

To revert back, just remove the bootloader_args line from the
domain.xml file and run 'virsh define domain.xml'.

分享到:
评论

相关推荐

    Sun xVM VirtualBox 中文翻译版本

    Sun xVM VirtualBox 中文翻译版本,不好找的电子书

    Sun xVM Server使用指南

    Sun xVM Server使用指南 自己写的

    xvm windows 文件夹共享

    xvm windows 文件夹共享 xvm windows 文件夹共享 xvm windows 文件夹共享

    施耐德XVM系列信号灯与指示灯组45mm产品目录.pdf

    施耐德XVM系列信号灯与指示灯组45mm产品目录pdf,施耐德XVM系列信号灯与指示灯组45mm产品目录:

    SUN XVM VIRTUALBOX

    SUN公司的虚拟机说明书,英文版,可以建立自己的虚拟机。

    Programming_In_Lua 和 最新 xvm api v101

    Programming_In_Lua 和 最新 xvm api v101

    VirtualBox系列课程 第1讲 Sun xVM VirtualBox概述(胡屹)

    VirtualBox系列课程 又朗溪讲师主讲。。。。。。。。。。。。。

    virtualBox(虚拟机)中文版 v 5.1.18.zip

    Oracle VirtualBox 是由德国 InnoTek 软件公司出品的虚拟机软件,现在则由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部份。它提供用户在32位或64位的Windows、Solaris 及Linux 操作系统上虚拟其它x86的...

    VirtualBox for mac 安装攻略+win7 Thin系统安装攻略+win7 Thin版破解工具

    Oracle VirtualBox是由德国InnoTek软件公司出品的虚拟机软件,现在则由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部份。它提供用户在32位或64位的Windows、Solaris及Linux 操作系统上虚拟其它x86的操作...

    一种基于XVC协议的FPGA调试模块设计.pdf

    一种基于XVC协议的FPGA调试模块设计.pdf

    台湾林智仁Matlab的libsvm工具箱-libsvm-mat-2[1].89-3.zip

    台湾林智仁Matlab的libsvm工具箱-libsvm-mat-2[1].89-3.zip 学习了SVM视频,找了个林智仁的工具箱分享下

    VirtualBox-7.0.4-154605-Win.zip win版本

    VirtualBox 是一款开源虚拟机软件...使用者可以在VirtualBox上安装并且执行Solaris、Windows、DOS、Linux、OS/2 Warp、BSD等系统作为客户端操作系统。已由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部分。

    VirtualBox-5.2.12-122591-Win.exe 官方资源32与64都可用

    VirtualBox 是一款开源虚拟机...使用者可以在VirtualBox上安装并且执行Solaris、Windows、DOS、Linux、OS/2 Warp、BSD等系统作为客户端操作系统。现在则由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部份。

    VirtualBox-4.3.6-91406-Win.exe

    VirtualBox 是一款开源虚拟机...使用者可以在VirtualBox上安装并且执行Solaris、Windows、DOS、Linux、OS/2 Warp、BSD等系统作为客户端操作系统。现在则由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部份。

    VirtualBox-4.3.26-98988

    VirtualBox 是一款开源虚拟机...使用者可以在VirtualBox上安装并且执行Solaris、Windows、DOS、Linux、OS/2 Warp、BSD等系统作为客户端操作系统。现在则由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部份。

    VirtualBox for Mac.zip

    已由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部份。 VirtualBox号称是最强的免费虚拟机软件,它不仅具有丰富的特色,而且性能也很优异!它简单易用,可虚拟的系统包括Windows(从Windows 3.1到...

    VirtualBox-5.1.24

    使用者可以在VirtualBox上安装并且执行Solaris、Windows、DOS、Linux、OS/2 Warp、BSD等系统作为客户端操作系统。现在则由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部份,VirtualBox号称是最强的免费...

    virtualbox,5.2版本,安全,稳定,和ensp完美契合

    使用者可以在VirtualBox上安装并且执行Solaris、Windows、DOS、Linux、OS/2 Warp、BSD等系统作为客户端操作系统。已由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部分。 VirtualBox号称是最强的免费...

    VirtualBox极度好用的安装包

    使用者可以在VirtualBox上安装并且执行Solaris、Windows、DOS、Linux、OS/2 Warp、BSD等系统作为客户端操作系统。已由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部分。 VirtualBox号称是最强的免费...

    VirtualBox6.0.0

    使用者可以在VirtualBox上安装并且执行Solaris、Windows、DOS、Linux、OS/2 Warp、BSD等系统作为客户端操作系统。现在则由甲骨文公司进行开发,是甲骨文公司xVM虚拟化平台技术的一部份。 VirtualBox号称是最强的...

Global site tag (gtag.js) - Google Analytics