[one-users] initrd issue

Ruben S. Montero rubensm at dacya.ucm.es
Mon Jul 14 07:15:04 PDT 2008


Hi William,

	These values come from this file:
$ONE_LOCATION/etc/vmm_xen/vmm_xen.conf

Here you can add default values for all the xen machines, so you do not
need to write the attribute (kernel   = "/boot/vmlinuz-2.6.18-xenU") in all 
your VM templates.

If you want to get rid of the defaults just delete initrd from 
$ONE_LOCATION/etc/vmm_xen/vmm_xen.conf.

Cheers

Ruben


On Monday 14 July 2008 14:03:57 William Voorsluys wrote:
> Hello,
>
> I'd like to report a problem that may be considered a bug in the Xen
> driver. The kernel I'm using for domU doesn't require a ramdisk since I
> have compiled the kernel with all necessary drivers. So I removed this part
> from the vm template, to look like this:
>
> OS = [
>   kernel   = "/boot/vmlinuz-2.6.18-xenU",
>   root     = "sda1" ]
> ]
>
> However, ONE inserts a default value that points to an nonexistent
> file. This causes trouble when booting the VM.
> To experiment without a ramdisk I commented the following lines in
> XenDriver.cc
>
> // if ( initrd.empty() )
> // {
> //   	get_default("OS","INITRD",initrd);
> // }
>
> and it worked fine.
>
>
> Cheers,
>
> William.





More information about the Users mailing list