Changes between Version 14 and Version 15 of jazz/DRBL_Xen
- Timestamp:
- Jun 3, 2008, 7:11:20 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/DRBL_Xen
v14 v15 21 21 root@drbl-xen-srv:~# reboot 22 22 }}} 23 * Note: If you did not install libc6-xen, you might have "4gb seg fixup" error messagekeep showing up while booting.23 * Note: If you did not install libc6-xen, "4gb seg fixup" error message will keep showing up while booting. 24 24 * [[Image(xen_4gb_seg_fixup.png)]] 25 25 * Choose Xen to boot at GRUB menu … … 28 28 == Install and Configure DRBL == 29 29 30 * Download GPG-KEY-DRBL and add GPG key via apt-key30 * Download GPG-KEY-DRBL and add GPG key via '''apt-key''' 31 31 {{{ 32 32 root@drbl-xen-srv:~# wget http://drbl.nchc.org.tw/GPG-KEY-DRBL 33 33 root@drbl-xen-srv:~# apt-key add GPG-KEY-DRBL 34 34 }}} 35 * Add DRBL repository URL 35 * Add DRBL repository URL to /etc/apt/sources.list.d/ then install '''drbl''' package 36 36 {{{ 37 37 root@drbl-xen-srv:~# echo "deb http://free.nchc.org.tw/drbl-core drbl stable" > /etc/apt/sources.list.d/drbl-sources.list … … 39 39 root@drbl-xen-srv:~# apt-get install drbl 40 40 }}} 41 * Use drblsrv command to setup DRBL server. Here we choose linux-image-2.6.18-6-486as default DRBL PXE kernel image41 * Use '''drblsrv''' command to setup DRBL server. Here we choose ''linux-image-2.6.18-6-486'' as default DRBL PXE kernel image 42 42 {{{ 43 43 root@drbl-xen-srv:~# /opt/drbl/sbin/drblsrv -i … … 51 51 [....skip....] 52 52 }}} 53 * Use drblpushcommand to deploy DRBL Client Image53 * Use '''drblpush''' command to deploy DRBL Client Image 54 54 {{{ 55 55 root@drbl-xen-srv:~# /opt/drbl/sbin/drblpush -i … … 60 60 == Configure PXELinux for Xen Network Booting == 61 61 62 * To load Xen-based kernels you have to use the SYSLINUX multiboot module mboot.c32. So we copy mboot.c32 and xen kernelto TFTP root directory of DRBL.62 * To load Xen-based kernels you have to use the SYSLINUX multiboot module ''mboot.c32''. So we copy mboot.c32 and Xen hypervisor to TFTP root directory of DRBL. 63 63 {{{ 64 64 root@drbl-xen-srv:~# dpkg -S mboot.c32 … … 67 67 root@drbl-xen-srv:~# cp /boot/xen-3.0.3-1-i386-pae.gz /tftpboot/nbi_img/. 68 68 }}} 69 * Use '''drblsrv-offline''' command to generate PXE initial ramdisk for xen-based kernel. You should find ''initrd-pxe.2.6.18-6-xen-vserver-686.img'' and ''vmlinuz-2.6.18-6-xen-vserver-686'' in /tftpboot/nbi_img/ folder.69 * Use '''drblsrv-offline''' command to generate initial ramdisk of xen-based kernel which is needed for PXE network booting. You should find ''initrd-pxe.2.6.18-6-xen-vserver-686.img'' and ''vmlinuz-2.6.18-6-xen-vserver-686'' in /tftpboot/nbi_img/ folder. 70 70 {{{ 71 71 root@drbl-xen-srv:~# /opt/drbl/sbin/drblsrv-offline -s `uname -r`