[xen-tools-discuss] Problems using Rinse with CentOS 5

nealweston at bellsouth.net nealweston at bellsouth.net
Wed Apr 9 23:00:21 CEST 2008


Hi,
I am new to both Xen and Rinse so I suspect I have made an obvious mistake but I am hoping someone can help anyway. I will try to provide as much information as possible. If more information would help please let me know and I will gladly provide it.

My host system is running CentOS 5 and I want to create a paravirtualized CentOS 5 domainU system using rinse. I have created two physical disk partitions /dev/sdb1 for root and /dev/sdb2 for swap. I ran mkswap on /dev/sdb2 and have created a filesystem on /dev/sdb1 and mounted it at /xen.

I run:

rinse --distribution centos-5 --directory /xen

Rinse installs approximately 70 packages and I get the following post-install output which seems to suggest problems:

Running post-install script post-install.sh:
  Creating resolv.conf
BUGFIX
  Mounting /proc
  Bootstrapping yum
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet
  Authfix
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet
Error: Cannot find a valid baseurl for repo: extras
chroot: cannot run command `/usr/bin/authconfig': No such file or directory
  Cleaning up
Loading "installonlyn" plugin
Cleaning up Everything
  Final tidy...
Installation complete.

I then copy /lib/modules/* from my host to /xen/lib/modules and create an appropriate /xen/etc/fstab file, unmount /xen and try to boot the system using the following configuration file:

kernel = "/boot/vmlinuz-2.6.18-53.1.14.el5xen"
ramdisk = "/home/xen/my-initrd-no-scsi.img"
memory = 512
name = "centos.5-1"
vif = [ '' ]
dhcp = "dhcp"
disk = ['phy:sdb1,sdb1,w', 'phy:sdb2,sdb2,w']
root = "/dev/sdb1 ro"

The following is an excerpt of the output from the boot at the point that it starts to fail:

 EXT3-fs: mounted filesystem with ordered data mode.
Setting up other filesystems.
Setting up new root fs
no fstab.sys, mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
INIT: version 2.86 booting
mount: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
/etc/rc.d/rc.sysinit: line 31: /etc/init.d/functions: No such file or directory
/etc/rc.d/rc.sysinit: line 34: fstab_decode_str: command not found
                Welcome to  CentOS release 5 (Final)
                Press 'I' to enter interactive startup.
/etc/rc.d/rc.sysinit: line 265: update_boot_stage: command not found
/etc/rc.d/rc.sysinit: line 301: action: command not found
/etc/rc.d/rc.sysinit: line 314: strstr: command not found
/etc/rc.d/rc.sysinit: line 326: strstr: command not found
/sbin/start_udev: line 36: /etc/init.d/functions: No such file or directory
Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?)
Failed to obtain physical IRQ 6
floppy0: no floppy controllers found
lp: driver loaded but no devices found
/etc/rc.d/rc.sysinit: line 356: strstr: command not found
/etc/rc.d/rc.sysinit: line 362: update_boot_stage: command not found
/etc/rc.d/rc.sysinit: line 395: update_boot_stage: command not found

It seems that some mandatory packages are missing from the base system. I am sure I have done something wrong or missed an important step... any guidance would be much appreciated.

Thanks

Neal






More information about the xen-tools-discuss mailing list