WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Physical to Virtual Migration

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Physical to Virtual Migration
From: James Miller <jimm@xxxxxxxxxxxxxxx>
Date: Wed, 28 Jan 2009 14:58:54 -0600
Delivery-date: Wed, 28 Jan 2009 12:59:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Simutronics Corp
Reply-to: jimm@xxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)
Hello everyone,

I'm having an issue migrating an OLD debian 3.0 linux server (2.4.18 kernel) to an HVM domU. I'm using Xen 3.3.0 compiled from source.
Here's the process I took:
1. Carve out a chunk of space from an LVM Volume group
2. Create and boot from a Debian live CD ISO
3. Fdisked the LV into 2 partitions /dev/hda1 (OS)  /dev//hda2 (SWAP)
4. Formatted /dev/hda1 as ext3 and /dev/hda2 (swap)
5. Mounted /dev/hda1 /mnt/
6. Restored from a full backup my physical server onto /mnt
7. chroot-ed /mnt
8. Edited lilo.conf and fstab to match what I have, ran lilo and everything looks good.
9. Run lilo and reboot

When I reboot I get the following errors about reisersf -- which makes no sense considering I'm using ext2/ext3:
EXT3-fs unsupported inod size: 256
read_super_block: can't find a reiserfs filesytem on (dev 03:01, block 64, size 1024) read_super_block: can't find a reiserfs filesytem on (dev 03:01, block 8, size 1024)
Kernel panic VFS: Unable to mount root fs on 03:01

When I boot the Debian Live-CD it looks like the PIIIX3 IDE controller is detected and hda is QEMU HARDDSIK.

Again, this doesn't make any sense, to me, since I'm using ext2/ext3 fs. But I am wondering if it has anything to do with OLD e2fs tools.. or maybe if there's a driver bug with a 2.4.18 kernel and the IDE driver. This old server has everything compiled into the kernel, no modules.
/etc/lilo.conf for domU:
lba32
install=/boot/boot-menu.b
map=/boot/map
vga=normal
default=Linux
       image=/vmlinuz
       label=Linux
       read-only

image=/vmlinuz.old
       label=LinuxOLD
       read-only
       optional


Modified /etc/fstab file for domU:
/dev/hda1       /               ext2    errors=remount-ro     0       1
/dev/hda2       none            swap    sw                        0       0
proc /proc proc defaults 0 0

Config File:
kernel = '/usr/lib/xen/boot/hvmloader'
builder='hvm'
boot='dc'
memory = 3072
name = "newt-test"
vif = [ ' mac=aa:00:ef:49:c1:23 ' ]
device_model = '/usr/lib/xen/bin/qemu-dm'
# dhcp = "dhcp"
disk = [ 'phy:/dev/vg01/newt-test,hda,w','file:/etc/xen/binary.iso,hdc:cdrom,r' ]
vcpus = 1
root = "/dev/hda1 ro"
extra = "xencons=tty"
vnc=1
vnclisten='0.0.0.0'
vncpasswd='xxxxxxxxxxx'
apic = 1
acpi = 1
vncdisplay=4
vncunused=1


Thanks for any suggestions/pointers.

--Jim




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>