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

[Xen-users] Booting from a real cdrom



Hi everyone!
I'm sorry, I think I'm missing something obvious, but I can't figure out what :/

I have a CentOS 5.2 dom0 on a HP Proliant ML150 with
- kernel 2.6.18-92.1.18.el5xen
- Xen 3.2.1

and I'm trying to boot a domU installation from the CentOS DVD.

I made a custom initrd with

mkinitrd /boot/initrd-vm `uname -r` --with xenblk --with xennet --preload 
xenblk --preload xennet

and symlinked /boot/vmlinuz-`uname -r` to /boot/vmlinuz-vm

My xen domU configuration is

name        = 'vm01'
kernel      = '/boot/vmlinuz-vm'
ramdisk     = '/boot/initrd-vm'
memory      = '1024'
disk        = [ 'phy:/dev/cdrom,hdc:cdrom,r', ]
vif         = [ 'ip=10.99.0.41,mac=00:16:3E:7D:1B:64' ]
on_poweroff = 'destroy'
on_reboot   = 'destroy'
on_crash    = 'destroy'
boot = 'd'

(no disks aside the cdrom, I know.. I'm trying to simplify the config)

When I create the VM, after a while I get on its console:

Red Hat nash version 5.1.19.6 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading xenblk.ko module
Registering block device major 22
 hdc: unknown partition table

What's wrong with hdc? The DVD is in the drive and I can mount it just fine 
from dom0.. If you need the full log please ask and I'll post it.

Thanks in advance!

_______________________________________________
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®.