On Thursday 14 February 2008 08:46:06 am Tiago Cruz wrote:
> I'm doing one emergencial migrate for one very old machine, because we
> will have one IMPLOSION (!!!) very close from here, and I'm thinking
> that this old IDE disk will not survive... :-/
>
> [root@registro-2 /root]# df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/ida/c0d0p2 3.8G 2.3G 1.4G 62% /
> /dev/ida/c0d0p8 26G 20G 4.4G 82% /data
> /dev/ida/c0d0p6 984M 128k 934M 0% /tmp
> /dev/ida/c0d0p7 984M 166M 768M 18% /var
>
> Red Hat Linux release 6.2 (Zoot)
> Kernel 2.4.16 on a 4-processor i686
Very old, probably doesn't have a xenified version of the kernel.
> I did one copy with 'dd' of device /dev/ida/c0d0 and imported inside one
I assume that means you copied the whole disk, not just a partition.
> LVM device, called "/dev/Vol_LVM/registro-2", but I'm getting problems
> to boot this VM:
>
> Booting from Hard Disk
> Boot from Hard Disk Failed: Could not read the boot disk
> FATAL: no bootable device
>
> I don't know how can I configure the /etc/fstab of this VM... using
> "/dev/ida/c0d0px" or the good and old "/dev/hdax". I've tried a lot of
> combinations, but I really can't boot this:
>
> name = "registro-2"
> builder = "hvm"
> memory = "500"
> disk = [
> "phy:/dev/Vol_LVM/registro-2,hda2,w","phy:/dev/Vol_LVM/registro-2,hda5,w" ]
> root = "/dev/ida/hda2 ro"
> extra = "3"
> vif = [ "type=ioemu, mac=00:16:3e:60:92:5d, bridge=xenbr0", ]
>
> I've tried too:
> root = "/dev/ida/c0d0p2 ro"
> disk = [
> "phy:/dev/Vol_LVM/registro-2,c0d0p2,w","phy:/dev/Vol_LVM/registro-2,c0d0p5,
>w" ]
Since there is probably not a xen version of the kernel, you want hvm, so you
are missing the lines:
kernel = "/usr/lib/xen/boot/hvmloader"
device_model = "/usr/lib/xen/bin/qemu-dm"
and the disk line should be as in your followup post:
disk = [ "phy:/dev/Vol_LVM/registro-2,hda,w",]
You probably don't need the root= line, then. The 'dd' got the MBR.
Good luck.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|