RE: Help: creating a rawhide guest os

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

 



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@xxxxxxxxx [mailto:chitlesh@xxxxxxxxx] On Behalf Of
Chitlesh GOORAH
Sent: Tuesday, October 10, 2006 8:21 AM
To: Ranganathan, Shobha
Cc: fedora-xen@xxxxxxxxxx
Subject: Re:  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

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux