<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
What's the partition type set to? 0xFD or 0x8E, by any chance?
Should probably be 0x83 for /boot, 0x8e for the PV.<br>
Otherwise, start from scratch instead of trying to "fix" it and
you'll find the problem faster.<br>
VM boots? Yes.<br>
Loads boot sector? Yes.<br>
Loads GRUB? Yes.<br>
Loads kernel? Yes.<br>
Loads initrd? Maybe... probably.<br>
Can pivot_root? Maybe... probably not.<br>
Can achieve multi-user runlevel? No.<br>
<br>
So somewhere between loading initrd (which probably worked) and
pivot'ing root (probably) lies your problem. Extract your initrd
and trace through the behaviour one line at a time.<br>
<br>
Better yet, examine what modules are baked into the original initrd
(from the original physical server) and compare with the P2V'd list
of modules.<br>
<br>
The loading of dm_raid is harmless; your problem is LVM modules or
detection somehow.<br>
<br>
-Adam<br>
<br>
<div class="moz-cite-prefix">On 15-11-30 01:25 PM, Wyatt Zacharias
wrote:<br>
</div>
<blockquote
cite="mid:CANd2pR1AfNfuCzgQZnxowtpCF2W8xzuC1evin9OU=R8qDVx_Ww@mail.gmail.com"
type="cite">
<div dir="ltr">So I'm attempting to virtualize one of our Redhat 5
boxes using VMWare's P2V functionality, and it's copied all the
data into the VM without any trouble, but now I can't seem to
get the virtual machine to boot because it's not detecting the
virtualized partitions correctly. The physical system was using
LVM on top of dm-raid to local disks. When VMWare virtualized
the disks, it created a single disk, and copied the LVM layout
onto it, so I think what's happening is on boot, the system is
looking for the RAID disks and can't find them. When I try to
boot it, it says that it can't find the logical volumes and goes
into a kernel panic.
<div><br>
</div>
<div>I've booted with a rescue disk, and when I run a pvscan on
the new virtual disk, all the volumes are there and can be
mounted, so the problem must be that the system isn't looking
for the volumes in the right place. I've tried changing the
root device to /dev/sda in the device.map comfig file, and I
rebuilt the initrd file with both the --force-lvm-probe and
--omit-raid-modules and it still loads dm-raid on boot. </div>
<div><br>
</div>
<div>So how do I get the system to completely forget about RAID,
and boot off the new virtual disk? Is there a RAID config
somewhere that I'm missing? </div>
<div><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>--</div>
Wyatt Zacharias
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Roundtable mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a>
<a class="moz-txt-link-freetext" href="http://www.muug.mb.ca/mailman/listinfo/roundtable">http://www.muug.mb.ca/mailman/listinfo/roundtable</a>
</pre>
</blockquote>
<br>
</body>
</html>