[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] fedora install



Glad to hear it's working now!

And good luck with whatever you're doing! :)

2011/12/24 åè <yxy.716@xxxxxxxxx>:
> 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.