Greetings,
My install procedure looks like this:
pfexec /usr/sbin/zfs create -V 5gb tank/mydom
pfexec virt-install \
--file=/dev/zvol/dsk/tank/mydom \
--location=http://mirror.anl.gov/pub/centos/5.3/os/x86_64/ \
--mac=00:16:3e:01:09:91 \
--nographics \
--name mydom \
--os-type=linux \
--paravirt \
--ram 256 \
--vcpus=1
I run through the text-based CentOS installer, pretty much taking the defaults
all the way through, and everything works well.
With CentOS 5.4 (changing only the version number in the location URL above),
things fall apart. The install runs smoothly, but when the domU gets rebooted,
I have the following result:
insmod: error inserting ''/lib/dm-raid45.ko'': -1 Unknown symbol
in module
Scanning and configuring dmraid supported devices
Scanning logical volumes
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
Activating logical volumes
2 logical volume(s) in volume group "VolGroup00" now active
Creating root device.
Mounting root filesystem.
mount: error mounting /dev/root on /sysroot as ext3: No such device
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
libvir: Xen Daemon error : GET operation failed:
libvir: error : invalid argument in virDomainLookupByUUIDString
...Actually, there was a lot more noise than that. I''m not sure how
much of it is meaningful. The whole output is here:
http://vm.marget.com/CentOS_5.4_error.txt
What am I doing wrong?
Also, am I doing the right thing with installing grub on the domU''s
MBR? My prior xen experience involved keeping the kernel outside of the domU
disk. This pygrub business is all new to me.
Thanks very much.
/chris
--
This message posted from opensolaris.org