[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] fedora install
After install PAE kernel and change the the grub.cfg like this: menuentry 'Fedora Linux, with Xen and Linux 3.1.5-6.fc16.i686.PAE' --class fedora --class gnu-linux --class gnu --class os --class xen { insmod part_gpt insmod ext2 set root='(hd0,gpt2)' search --no-floppy --fs-uuid --set=root 07f3af28-fdc8-4efc-b21f-01cfc82707f2 echo 'Loading Xen ...' multiboot /xen.gz placeholder echo 'Loading Linux 3.1.5-6.fc16.i686.PAE ...' module /vmlinuz-3.1.5-6.fc16.i686.PAE root=/dev/mapper/vg_yxy-lv_root ro rd.md=0 rd.dm=0 rd.lvm.lv=vg_yxy/lv_swap KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 rd.lvm.lv=vg_yxy/lv_root LANG=en_US.UTF-8 echo 'Loading initial ramdisk ...' module /initramfs-3.1.5-6.fc16.i686.PAE.img } I finally can boot the kernel with xen . Now I can use xm dmesg | less __ __ _ _ _ ____ \ \/ /___ _ __ | || | / | |___ \ \ // _ \ \047_ \ | || |_ | | __) | / \ __/ | | | |__ _|| |_ / __/ /_/\_\___|_| |_| |_|(_)_(_)_____| (XEN) Xen version 4.1.2 (yanxinyou@org) (gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC) ) Wed Dec 21 16:03:11 CST 2011 (XEN) Latest ChangeSet: unavailable (XEN) Bootloader: GRUB 1.99 (XEN) Command line: placeholder (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 1 MBR signatures (XEN) Found 1 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009d800 (usable) (XEN) 000000000009d800 - 00000000000a0000 (reserved) (XEN) 00000000000d2000 - 00000000000d4000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000007d6b0000 (usable) Thank you for helping me with the first problem on xen ! By the way I will take care about my reply . 2011/12/24 Kyle Lexmond <kyl191@xxxxxxxxxx>: > Hi, > > I think you're using the wrong kernel. For i686, you should be using > kernel-PAE - you can download it at > http://koji.fedoraproject.org/koji/buildinfo?buildID=279806. > > Also, if you have hardware support for virtualization, that should > mean you have fairly recent hardware. Any reason you're running 32 bit > instead of 64 bit? > > And, just to be nice, please use reply to all when you reply so your > message gets back to the list. > > Thanks! > > 2011/12/24 嘉谟 <yxy.716@xxxxxxxxx>: >> I am finally choose to edit the grub.cfg. >> here is my some pieces of gurb.cfg >> >> >> ### BEGIN /etc/grub.d/10_linux ### >> menuentry 'Fedora Linux, with Linux 3.1.5-6.fc16.i686' --class fedora >> --class gnu-linux --class gnu --class os { >> load_video >> set gfxpayload=keep >> insmod gzio >> insmod part_msdos >> insmod ext2 >> set root='(hd0,msdos1)' >> search --no-floppy --fs-uuid --set=root >> 07f3af28-fdc8-4efc-b21f-01cfc82707f2 >> echo 'Loading Linux 3.1.5-6.fc16.i686 ...' >> linux /vmlinuz-3.1.5-6.fc16.i686 root=/dev/mapper/vg_yxy-lv_root ro >> rd.md=0 rd.dm=0 rd.lvm.lv=vg_yxy/lv_swap KEYTABLE=us quiet >> SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 rd.lvm.lv=vg_yxy/lv_root >> LANG=en_US.UTF-8 >> echo 'Loading initial ramdisk ...' >> initrd /initramfs-3.1.5-6.fc16.i686.img >> } >> menuentry 'Fedora Linux, with Linux 3.1.5-6.fc16.i686 (recovery mode)' >> --class fedora --class gnu-linux --class gnu --class os { >> load_video >> set gfxpayload=keep >> insmod gzio >> insmod part_msdos >> insmod ext2 >> set root='(hd0,msdos1)' >> search --no-floppy --fs-uuid --set=root >> 07f3af28-fdc8-4efc-b21f-01cfc82707f2 >> echo 'Loading Linux 3.1.5-6.fc16.i686 ...' >> linux /vmlinuz-3.1.5-6.fc16.i686 root=/dev/mapper/vg_yxy-lv_root ro >> single rd.md=0 rd.dm=0 rd.lvm.lv=vg_yxy/lv_swap KEYTABLE=us quiet >> SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 rd.lvm.lv=vg_yxy/lv_root >> LANG=en_US.UTF-8 >> echo 'Loading initial ramdisk ...' >> initrd /initramfs-3.1.5-6.fc16.i686.img >> } >> menuentry 'Fedora Linux, with Xen and Linux 3.1.5-6.fc16.i686' --class >> fedora --class gnu-linux --class gnu --class os --class xen { >> insmod part_gpt >> insmod ext2 >> set root='(hd0,gpt2)' >> search --no-floppy --fs-uuid --set=root >> 07f3af28-fdc8-4efc-b21f-01cfc82707f2 >> echo 'Loading Xen ...' >> multiboot /xen.gz placeholder >> echo 'Loading Linux 3.1.5-6.fc16.i686 ...' >> module /vmlinuz-3.1.5-6.fc16.i686 placeholder >> root=/dev/mapper/VolGroup-LogVol01 ro rd.lvm.lv=VolGroup/LogVol01 >> rd.lvm.lv=VolGroup/LogVol00 rd.dm=0 LANG=zh_CN.UTF-8 KEYTABLE=us quiet >> rhgb rd.md=0 rd.luks=0 biosdevname=0 >> echo 'Loading initial ramdisk ...' >> module /initramfs-3.1.5-6.fc16.i686.img >> } >> >> ### END /etc/grub.d/10_linux ### >> >> It can load but met some errors >> >> when loading : >> >> ............... >> vmx: supported advanced features >> - apic mmio access virturlisaton >> -apic tpr shadow >> -virtual mmi >> -msr direct-access bitmap >> >> hvm:asids diables >> hvm:vmx enable >> brought up 2cpus >> *** loading domain 0 *** >> elf_xen_note_check:error : will only load images built for the generic >> loader or linux images >> ******************* >> panic on cpu 0: >> could not set up dom0 guest >> ************************************ >> >> I am not sure whether i install the xen right ? or my grub.cfg right ? >> or my handware right? I already enable the virturl mode in bios. >> >> thank you . >> >> >> >> >> >> 2011/12/22 Kyle Lexmond <kyl191@xxxxxxxxxx>: >>> Replies inline: >>> >>> 2011/12/22 嘉谟 <yxy.716@xxxxxxxxx>: >>>> thank you . >>>> >>>> 2011/12/22 Kyle Lexmond <kyl191@xxxxxxxxxx>: >>> [clip] >>>>> NetworkManager doesn't support bridges, which you need for the domUs. >>>>> Since NetworkManager isn't being used, it's recommended to disable it >>>>> so it doesn't screw stuff up. >>>> >>>> I am not sure if I start network service ,fedora need so long to boot . >>>> If i use network. Whether is the same for me to use Internet ? >>>> I didn't see the the network icon on the top of desktop after use network . >>>> >>> Internet access should be fine if you use DHCP. network works fine >>> with that. If you don't know what you use, don't worry, that means >>> it's 99.9% likely that you're using DHCP. >>> >>> GNOME hooks into NetworkManager, so the network icon won't show up >>> when NetworkManager is disabled. You can run /sbin/ifconfig as root to >>> make sure your network card got a IP address. >>>>> >>>>> There's no auto method that I know of outside of editing >>>>> /etc/sysconfig, but if you have /boot/xen.gz, grub2-mkconfig -o >>>>> /boot/grub2/grub.cfg should make a config file that will boot Xen. >>>> >>>> Yes I have /boot/xen.gz >>>> grub2-mkconfig -o /boot/grub2/grub.cfg doesn't find the img . >>>> I think edit grub.cfg directly may have help. But it is not suggested. >>>> >>> It's not suggested because it'll get overwritten every time you >>> install a new kernel. If you really want, >>> https://bugzilla.redhat.com/attachment.cgi?id=535354 is a working >>> sample config file, change the file locations as necessary. >>> >>> I'm guessing you're compiling Xen manually which leads to the >>> question: why are you compiling Xen manually? In Fedora 16 you can >>> just do yum install xen. There's actually a tutorial on the Xen wiki >>> to get F16 running as a dom0- http://wiki.xen.org/wiki/Fedora_16_Dom0 >> >> >> >> -- >> ---------------------------------------------------------------------------------------------------------------------------------- >> 嘉谟 >> "昔我往矣,杨柳依依 ; 今我来思 ,雨雪霏霏" >> ---------------------------------------------------------------------------------------------------------------------------------- -- ---------------------------------------------------------------------------------------------------------------------------------- 嘉谟 "昔我往矣,杨柳依依 ; 今我来思 ,雨雪霏霏" ---------------------------------------------------------------------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |