"Lund.Per Valentin PXL" <PXL@kmd.dk> wrote:
st1\:*{behavior:url(#default#ieooui) } Hi
Im trying to get DSL(damm small linux) to run in Xen, DSL is a small live-iso
with linux.
I have made a simple configuration file, se below:
<configuration file>
kernel = "/boot/vmlinuz-xen"
memory = 64
name = ''dsl''
disk = [''file:/tmp/dsl-3.3.iso,sda2,w'']
root = "/dev/sda2 ro"
<configuration file>
The filesystem on the Xen server is shown below.
da10:/etc/xen/vm # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 9.6G 4.2G 5.4G 45% /
udev 232M 164K 231M 1% /dev
And the DSL-iso is laying in /tmp(sda2)
da10:/etc/xen/vm # ls -l /tmp/dsl-3.3.iso
-rw-r--r-- 1 root root 52056064 May 8 2007 /tmp/dsl-3.3.iso
Ill then starts up the domain with:
xm create /etc/xen/vm/dsl -c
The domain starts up, but I get a kernel panic from the dsl-domain
VFS: Cannot open root device "sda2" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
Can anyone see what I have done wrong?
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
hello,
It works fine with a few changes.
You want to use the qemu device model.
Your disk line doesn''t point to the ISO correctly.
With the config below I can see and mount most of my partitions in DSL.
Note the "boot" points to the CDROM.
tlviewer@KN9ULTRA:~> cat /etc/xen/vm/dslvm
------------------------------ dslvm config ---------------------
disk = [ ''file:/windows/D/download/dsl-3.3.iso,hdc:cdrom,r'' ,
''phy:/dev/sda,hda,w'' ]
memory = 512
vcpus = 1
cpus = ""
builder = ''hvm''
device_model = ''/usr/lib/xen/bin/qemu-dm''
kernel = ''/usr/lib/xen/boot/hvmloader''
name = ''dslvm''
vif = [
''ip="192.168.1.108",type=ioemu,mac=00:16:3e:21:c4:f8,bridge=xenbr0''
]
stdvga = 0
netmask = "255.255.255.0"
gateway = "192.168.1.1"
hostname = "xen"
#dhcp = "dhcp"
vncdisplay = 1
#vif-script = vif-bridge
sdl = 1
apic= 1
acpi = 1
pae = 1
vnc = 0
#vif-script=vif-nat
#dhcp=yes
serial = "pty"
vncviewer = 0
ne2000 = 0
localtime = 1
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
boot = "dca"
--------------------------- end config -------------------
regards,
Mark
---------------------------------
Give spam the boot. Take control with tough spam protection
in the all-new Yahoo! Mail Beta.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users