[xen-tools-discuss] Re: Debian guest on Fedora 8 Dom0

Mike Brotzman mbrotzman.jhu at gmail.com
Mon Mar 31 15:19:39 CEST 2008


Thanks, that fixed the image create problem, but now I am back to the
old issue with the boot failures.

Here's the error log I get on the terminal when I try to pull up the
guest console.  I made no further modifications to the guest image
after running xen-image create and I am assuming that I need to copy
over the proper kernel, but before flailing around blindly again I am
going to go to the experts and try to get going on the right track.

Scanning logical volumes
  Reading all physical volumes.  This may take a while...
  No volume groups found
Activating logical volumes
  Volume group "VolGroup00" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
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
Booting has failed.


and here is the associated config file that was generated by Xen-tools.

#
# Configuration file for the Xen instance debian, created
# by xen-tools 3.9 on Mon Mar 31 08:54:34 2008.
#

#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.21-2950.fc8xen'
ramdisk     = '/boot/initrd.img-2.6.21-2950.fc8xen'
memory      = '1024'

#
#  Disk device(s).
#
root        = '/dev/sda2 ro'
disk        = [
                  'file:/etc/xen/domains/debian/swap.img,sda1,w',
                  'file:/etc/xen/domains/debian/disk.img,sda2,w',
              ]


#
#  Hostname
#
name        = 'debian'

#
#  Networking
#
vif         = [ 'ip=144.51.27.33,mac=00:16:3E:EB:14:D8' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'





On Sat, Mar 29, 2008 at 5:42 AM, Henning Sprang
<henning.sprang at gmail.com> wrote:
> On Fri, Mar 28, 2008 at 9:38 PM, Steve Kemp <steve at steve.org.uk> wrote:
>  >     xen-create....
>  >
>  >   Should work.  But I think it is best to be explicit in the
>  >   xen-create-image step, if you specify an --arch flag there it
>  >   will get passed down the chain to debootstrap.
>
>  Exactly, and I think that's the best way of doing it!
>
>  That was the one point I didn't remember from the times I did that.
>  debootstrap normally uses dpkg to determine the architecture - and
>  that doesn't work on non-Debian systems...
>
>  Henning
>
>
>





More information about the xen-tools-discuss mailing list