ugh.... after doing inglorious battle, I return.  It's definitely situation (1).  The error messages haven't changed.  Inside the init file, should the paths references be from the point of view of Dom0? <br><br><div style="margin-left: 40px; font-family: courier new,monospace;">
lvm vgchange -ay --ignorelockingfailure  vg00<br>resume /dev/vg00/swap00<br>echo Creating root device.<br>mkrootdev -t ext3 -o defaults,ro /dev/mapper/vg00-root<br>echo Mounting root filesystem.<br>mount /sysroot<br>echo Setting up other filesystems.<br>
setuproot<br>echo Switching to new root and running init.<br>switchroot<br></div><br>Also, should the xen host config file (/etc/xen/guest02) root parameter
point to the dom0 root or the block device for the domU?<br><br style="font-family: courier new,monospace;"><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">root = "/dev/mapper/virt01vg00-c5root00 ro"  ##dom0's root file system</span><br>
</div><br>Thanks very much,<br>Christopher Hunt<br><br><br><div class="gmail_quote">On Mon, Nov 9, 2009 at 12:54 PM, Christopher G. Stach II <span dir="ltr"><<a href="mailto:cgs@ldsys.net">cgs@ldsys.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
----- "Christopher G. Stach II" <<a href="mailto:cgs@ldsys.net">cgs@ldsys.net</a>> wrote:<br>
<br>
> 1. mkinitrd --with=xenblk --with=xennet --preload=xenblk<br>
> --preload=xennet <img> <version><br>
> (yes, that's the original one without the fstab)<br>
> 2. gunzip -c /boot/initrd-blah.img > /root/blah<br>
> 3. mkdir /mnt/blah<br>
> 4. mount -o loop /root/blah /mnt/blah<br>
> 5. vi /mnt/blah/init<br>
> <change occurrences of dom0 VG to guest VG><br>
> <change dom0 root device name to guest root device name><br>
> 6. umount /mnt/blah<br>
> 7. gzip -c /root/blah > /boot/initrd-blah.img<br>
<br>
</div>If you followed these directions, you're probably scratching your head. I screwed up. The initrd is actually a cpio archive, so:<br>
<div class="im"><br>
1. mkinitrd --with=xenblk --with=xennet --preload=xenblk --preload=xennet <img> <version><br>
(yes, that's the original one without the fstab)<br>
</div>2. mkdir /root/initrd-blah<br>
3. cd /root/initrd-blah<br>
4. gunzip -c /boot/initrd-blah.img | cpio -idmv<br>
5. vi /root/initrd-blah/init<br>
6. find . -print | cpio -o | gzip -c > /boot/initrd-blah.img<br>
<div><div></div><div class="h5"><br>
--<br>
Christopher G. Stach II<br>
<br>
<br>
_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
</div></div></blockquote></div><br>