Re: [Fedora-xen] problems with using xen-get.org images in fc5

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

 




On Apr 9, 2006, at 6:51 AM, Henning Sprang wrote:

Ted Kaczmarek wrote:
Paste your domU config and an ls of /boot, that should help.

"broken" domU config:

#kernel = "/boot/vmlinuz-2.6-xenU"
kernel = "/boot/vmlinuz-2.6.16-1.2080_FC5xenU"
ramdisk= "/boot/initrd-1.6.16-1.2080_FC5xenU.img"
memory = 128
name = "fedora.fc5"
#nics = 1
vif = [ '' ]
dhcp = "dhcp"
disk = ['file:/var/xen/xen-get-fedora/fedora.fc5.img,sda1,w', 'file:/var/xen/xen-get-fedora/fedora.swap,sda2,w']
root = "/dev/sda1 ro"

#bootloader="/usr/bin/pygrub"


like this, I get:

Using config file "/etc/xen/xen-get-fedora".
Error: Error creating domain: Kernel image does not exist: /boot/ vmlinuz-2.6.16-1.2080_FC5xenU

DomU booted right up for me, I pasted my domU config. I am passing selinux=0 to kernel on boot,
otherwise I had all kinds of  bad behavior.

# Kernel image file.
kernel = "/boot/vmlinuz-2.6.16-1.2080_FC5xenU"

# Initial memory allocation (in megabytes) for the new domain.
memory = 256

# A name for your domain. All domains must have different names.
name = "idom11"

#----------------------------------------------------------------------- -----
# Define the disk devices you want the domain to have access to, and
# what you want them accessible as.
# Each disk entry is of the form phy:UNAME,DEV,MODE
# where UNAME is the device, DEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write.

#disk = [ 'phy:VolGroup01/debian,sdb1,w' ]
disk = ['file:/media/hdb1/jailtime/fedora.fc5.img,sda1,w', 'file:/ media/hdb1/jailtime/fedora.swap,sda2,w']

#----------------------------------------------------------------------- -----
# Set the kernel command line for the new domain.
# You only need to define the IP parameters and hostname if the domain's
# IP config doesn't, e.g. in ifcfg-eth0 or via DHCP.
# You can use 'extra' to set the runlevel and custom environment
# variables used by custom rc scripts (e.g. VMID=, usr= ).

# Set root device.
root = "/dev/sda1"

# Sets runlevel 4.
#extra = "r0 3 vdso=0"
extra = "ro selinux=0 3"

# Which CPU to start domain on?
#cpu = 1  # leave to Xen to pick

# Number of Virtual CPUS to use, default is 1
vcpus = 2

vif = ['' ,'']

# Set if you want dhcp to allocate the IP address.
ip='off'

on_poweroff = 'destroy'
on_reboot   = 'restart'
#on_crash    = 'restart'
on_crash    = 'destroy'

Regards,
Ted


[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