内容导航:
1、
initrd
2、
1903支持安装到U盘吗?
1、
initrd
英:
美:
常见释义:
初始化内存盘
1、Extract the
initrd
image.───提取
initrd
映像。
2、The
initrd
is bound to the kernel and loaded as part of the kernel boot procedure.───
initrd
与内核绑定在一起,并作为内核引导过程的一部分进行加载。
3、Other than cross-compilation, the concepts (as they apply to
initrd
construction) are the same for an embedded target.───除了交叉编译,其他概念(也适用于
initrd
的构建)对于嵌入式平台都是相同的。
4、Edit your
initrd
image to let the root file system adapter driver load earlier than all other storage adapter drivers.───编辑
initrd
映像,以便首先载入根文件系统适配器驱动程序,然后再载入所有其他存储适配器驱动程序。
5、This file, like the traditional Linux boot process, is invoked when the
initrd
image is decompressed into the RAM disk.───与传统的Linux引导过程类似,这个文件也是在将
initrd
映像解压到RAM磁盘中时被调用的。
6、Listing 4 shows how to create an
initrd
image.───清单4显示了如何创建一个
initrd
映像文件。
7、This
initrd
image name is what I used in previous steps; it may differ from what you used.───初始化内存镜像名称与我在上一步中使用的相同;可能与您所使用的名称不同。
8、Here,
initrd
mp.gz is the
initrd
image name.───在这里,
initrd
mp . gz是初始化内存镜像名称。
9、The cpio file format (now supported as a Fedora Core
initrd
image format) has a long history and operates on a wide range of UNIXes.───cpio文件格式(现在可以用作FedoraCore的一种
initrd
映像格式)具有很长的历史,可以在很多UNIX系统上使用。
1、cross training───交叉培训; 交叉锻炼;交叉训练
2、chibouques definition───定义
3、bat fowling shakespeare definition───捕蝙蝠莎士比亚的定义
4、committal definition───交付定义
5、fad definition───时尚定义
6、cinematics definition───**定义
7、interplead definition───引线间定义
8、figurant definition───形象定义
9、vile definition───卑鄙的定义
10、cataloguer definition───编目员定义
2、
1903支持安装到U盘吗?
空U盘插入服务器USB口中。
2
制作XenServer镜像,挂载到物理服务器启动,加载镜像进入系统安装界面
请注意以下几个事项:
注意:
选择系统盘时,指定U盘为系统盘,记住对应盘符,后面用得到。
3
安装完成后请勿拔出XenServer镜像盘,将XenServer光盘重新载入服务器,回车重启服务器
END
配置U盘启动参数
1
XenSevrer光盘镜像启动,进入XenServer系统安装界面
2
按F2,进入高级安装菜单界面
3
进入命令模式进入命令行
输入“
shell
”,按回车键。
4
配置参数启动参数,输入命令查看U盘的系统盘符,从安装XenServer过程中和图中可以看出U盘的系统盘符为sdc1
命令:
cat /proc/partitions
5
继续输入下面的命令
mkdir /target
mount -t ext3 /dev/sdc1 /target 备注:#sdc1根据查看到的U盘系统盘符更改
mount proc /target/proc -t proc
mount sysfs /target/sys -t sysfs
mount --bind /dev /target/dev
chroot /target 备注:#不用理会 "no job control in this shell"
6
切换到“
/boot
”目录,找到这个文件:
initrd-2.6.32.43-0.4.1.xs1.8.0.835.170778xen.img
(具体文件名随版本不同而不同,下面的操作也要改变下)
切换目录:
cd /boot
查看:
ls grep initrd
7
继续输入下面的命令
备份之前文件命令:
mv initrd-2.6.32.43-0.4.1.xs1.8.0.835.170778xen.img initrd-2.6.32.43-0.4.1.xs1.8.0.835.170778xen.img.old
建立要载入ramdisk的映像文件命令:
mkinitrd --with-usb initrd-2.6.32.12-0.7.1.xs5.6.100.323.170596xen.img 2.6.32.12-0.7.1.xs5.6.100.323.170596xen
退出:
exit
更新:
sync
重启服务器:
reboot
重启服务器,进入BIOS设置设备启动顺序,选择承载XenServer的U盘设备启动,完成安装。