Bug 155924 - Booting a domU with a kernel / initrd from domU image file doesn't work
Summary: Booting a domU with a kernel / initrd from domU image file doesn't work
Status: RESOLVED WORKSFORME
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Xen (show other bugs)
Version: Final
Hardware: Other SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Clyde Griffin
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 21:45 UTC by Tob Sch
Modified: 2006-03-08 19:14 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tob Sch 2006-03-07 21:45:04 UTC
Hi,

I'm not sure, if this is a common feature lack of xen 3.0, but I'm not able to start a domU domain by booting a kernel / initrd from a path within the domU image file (disk = [ 'file:... ]).

It's only possible to start domU domains from a path within the dom0 directory tree.

This is long winded, because when I do a kernel upgrade or kernel changes (e.g.  mkinitrd after modifying the parameter INITRD_MODULES in the file /etc/sysconfig/kernel) within a domU domain, I must not forget to mount the domU image file within domain dom0 and copy the new kernel / initrd files to the dom0 path configured in the xen dumU configuration file for the parameters "kernel" and "ramdisk".

I think, that there is a need for separate kernel / initd files for each domU domain (e.g. because dom1 could have got a xfs image file for root, dom2 could have got reiserfs image file for root, ...), which is automatically updated when the kernel is changed within a domU.

Thanks in advance.
Comment 1 Charles Coffing 2006-03-08 19:14:00 UTC
Indeed.  This is done by using domUloader (or some people prefer pygrub, but that doesn't support reiserfs last time I checked, so we're using domUloader.)  Look in /etc/xen/xmexample.domUloader for a sample setup (or in older builds, that file was called /etc/xen/xen-domUloader, I think.)