1 2 | # make clean # make -j4 bzImage && make -j4 modules |
1 2 3 4 5 6 7 | # make modules_install # depmod -a 2.6.32.25 # cp -a arch/x86/boot/bzImage /boot/vmlinuz-2.6.32.25 # cp -a System.map /boot/System.map-2.6.32.25 # cp -a .config /boot/config-2.6.32.25 # cd /boot # dracut initramfs-2.6.32.25.img 2.6.32.25 |
1 2 3 4 | [root@f13 boot]# dracut initramfs-2.6.32.25.img 2.6.32.25 grep: /usr/share/plymouth/themes/.plymouth/.plymouth.plymouth: No such file or directory The default plymouth plugin () doesn't exist [root@f13 boot]# |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/mapper/vg_f13-lvroot # initrd /initrd-[generic-]version.img #boot=/dev/sda default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz #hiddenmenu title Fedora (2.6.33.6-147.2.4.fc13.x86_64) root (hd0,0) kernel /vmlinuz-2.6.33.6-147.2.4.fc13.x86_64 ro root=/dev/mapper/vg_f13-lvroot rd_LVM_LV=vg_f13/lvroot rd_LVM_LV=vg_f13/lvswap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fi rhgb quiet initrd /initramfs-2.6.33.6-147.2.4.fc13.x86_64.img title Fedora (2.6.33.3-85.fc13.x86_64) root (hd0,0) kernel /vmlinuz-2.6.33.3-85.fc13.x86_64 ro root= /dev/mapper/vg_f13-lvroot rd_LVM_LV=vg_f13/lvroot rd_LVM_LV=vg_f13/lvswap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=fi rhgb quiet initrd /initramfs-2.6.33.3-85.fc13.x86_64.img title Fedora Xen 4.0 with Linux 2.6.32.25 pvops dom0 root (hd0,0) kernel /xen.gz dom0_mem=1024M loglvl=all guest_loglvl=all module /vmlinuz-2.6.32.25 ro root=/dev/mapper/vg_f13-lvroot nomodeset module /initramfs-2.6.32.25.img |
1 2 3 4 5 | # chkconfig --list | grep xen xenconsoled 0ff 1ff 2ff 3n 4n 5n 6ff xend 0ff 1ff 2ff 3:on 4:on 5:on 6:off xendomains 0:off 1:off 2:off 3:on 4:on 5:on 6:off xenstored 0:off 1:off 2:off 3:on 4:on 5:on 6:off |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | [root@f13 ~]# xm info host : f13.localdomain release : 2.6.32.25 version : #3 SMP Sat Oct 30 15:24:53 EEST 2010 machine : x86_64 nr_cpus : 4 nr_nodes : 1 cores_per_socket : 4 threads_per_core : 1 cpu_mhz : 2826 hw_caps : bfebfbff:20100800:00000000:00000940:0408e3fd:00000000:00000001:00000000 virt_caps : hvm total_memory : 8190 free_memory : 7076 node_to_cpu : node0:0-3 node_to_memory : node0:7076 node_to_dma32_mem : node0:3259 max_node_id : 0 xen_major : 4 xen_minor : 0 xen_extra : .1 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable xen_commandline : dom0_mem=1024M loglvl=all guest_loglvl=all cc_compiler : gcc version 4.4.4 20100630 (Red Hat 4.4.4-10) (GCC) cc_compile_by : root cc_compile_domain : cc_compile_date : Sat Oct 16 00:13:54 EEST 2010 xend_config_format : 4 Xen domain(vm) list # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1017 4 r----- 23.1 |
1 2 3 | # uname -a Linux f13.localdomain 2.6.32.25 #3 SMP Sat Oct 30 15:24:53 EEST 2010 x86_64 x86_64 x86_64 GNU/Linux |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | [root@f13 ~]# vgdisplay --- Volume group --- VG Name vg_f13 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 4 VG Access read/write VG Status resizable MAX LV 0 Cur LV 3 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 VG Size 463.75 GiB PE Size 32.00 MiB Total PE 14840 Alloc PE / Size 2944 / 92.00 GiB Free PE / Size 11896 / 371.75 GiB VG UUID 5dsak7-VN89-zMFT-9ZiU-XGhY-s5is-u1vCUw |
1 2 | [root@f13 ~]# lvcreate -nf13 -L40G /dev/vg_f13 Logical volume "f13" created |
1 2 3 4 5 6 7 8 9 | [root@f13 ~]# virt-install -n f13 -r 768 --vcpus=1 -f /dev/vg_f13/f13 --vnc -p -l "http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/ fedora/linux/releases/13/Fedora/i386/os" Starting install... Retrieving file .treeinfo... | 2.8 kB 00:00 ... Retrieving file vmlinuz-PAE... | 6.7 MB 00:02 ... Retrieving file initrd-PAE.img... | 74 MB 00:01 ... Creating domain... | 0 B 00:01 |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |