Ranganathan, Shobha
2006-Oct-10 16:47 UTC
RE: [Fedora-xen] Help: creating a rawhide guest os
Great to hear this ! This is how configuration look in mine for vif Vif = [''mac=00:16:3e:6e:6b:93, bridge=xenbr0'' ] Also do you have xend-config.sxp setup ? Do you have an IP address and what does your ifconfig output look like ? Regards Shobha Ranganathan "The significant challenges we face cannot be resolved at the same level of thinking we were at when we created them." Albert Einstein -----Original Message----- From: chitlesh@gmail.com [mailto:chitlesh@gmail.com] On Behalf Of Chitlesh GOORAH Sent: Tuesday, October 10, 2006 8:21 AM To: Ranganathan, Shobha Cc: fedora-xen@redhat.com Subject: Re: [Fedora-xen] Help: creating a rawhide guest os Somehow I managed to launch my guest os:) but I can''t get it connect to internet. This is my procedure, what should I do to establish an internet connection ?: mkdir -p /xen-images/mnt dd if=/dev/zero of=/xen-images/guest_base.img bs=1024k count=5000 dd if=/dev/zero of=/xen-images/guest_base-swap.img bs=1024k count=500 chmod 640 /xen-images/guest_base* mkfs.ext3 /xen-images/guest_base.img mkswap /xen-images/guest_base-swap.img mount -o loop /xen-images/guest_base.img /xen-images/mnt anaconda --method=nfs://var/www/bordeaux/ --rootpath=/xen-images/mnt/ cp -dpR /lib/modules/2.6.17-1.2187_FC5xen0/ /xen-images/mnt/lib/modules/ I''ve added /dev/hda1 / ext3 defaults,errors=remount-ro 0 1 /dev/hda2 swap swap sw to /xen-images/mnt/etc/fstab& umount /xen-images/mnt cd /boot cp initrd-2.6.17-1.2187_FC5xen0.img initrd-guest.img cp vmlinuz-2.6.17-1.2187_FC5 vmlinuz-guest.img cd /etc/xen/ kwrite xm-fc6 & name = "xm-fc6" memory = "256" kernel = "/boot/vmlinuz-guest.img" ramdisk = "/boot/initrd-guest.img" vif = [''bridge=xenbr0''] disk [''file:/xen-images/guest_base.img,hda1,w'',''file:/xen-images/guest_base-s wap.img,hda2,w''] ip = "192.168.0.101" netmask = "255.255.255.0" gateway = "192.168.0.1" hostname = "baseimage" root = "/dev/hda1 ro" extra = "4" on_reboot = ''restart'' on_crash = ''restart'' xm create xm-fc6 -c -- http://clunixchit.blogspot.com
On 10/10/06, Ranganathan, Shobha <shobha.ranganathan@intel.com> wrote:> Great to hear this ! This is how configuration look in mine for vif > Vif = [''mac=00:16:3e:6e:6b:93, bridge=xenbr0'' ]vif = [ ''bridge=xenbr0'' ]> Also do you have xend-config.sxp setup ?No, I didn''t modify anything.> Do you have an IP address and what does your ifconfig output look like ?I''ve not set anyip address [root@localhost ~]# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 b) TX bytes:560 (560.0 b) sit0 Link encap:IPv6-in-IPv4 inet6 addr: ::127.0.0.1/96 Scope:Unknown UP RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:3 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Chitlesh -- http://clunixchit.blogspot.com
more info, I hope might be useful somehow [root@localhost ~]# lspci pcilib: Cannot open /proc/bus/pci lspci: Cannot find any working access method. [root@localhost ~]# service network start Bringing up loopback interface: [ OK ] Bringing up interface eth0: Device vif0.0 does not seem to be present, delaying initialization. [FAILED] -- http://clunixchit.blogspot.com
> Does tool "neat" work ?[root@localhost ~]# neat ERROR: Unable to initialize graphical environment. Most likely cause of failure is that the tool was not run using a graphical environment. Please either start your graphical user interface or set your DISPLAY variable. on my guest os, since I did a mininal fedora install as Guest OS. -- http://clunixchit.blogspot.com