[xen-tools-discuss] installing Fedora 8 on Debian Etch dom0 using rinse

From: Andy Smith <andy_at_strugglers.net>
Date: Thu, 31 Jan 2008 00:35:03 +0000
Hi,
I'm trying to install Fedora 8 as a paravirtual Xen domU on a Debian
Etch dom0.  I've had success with Centos 5's guide:

http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU

in fact it worked like a charm; the installer kernel can function as
a domU so you can just boot it and run through an install
or kickstart.

When I tried the same thing with Fedora 8 the domU would just
immediately crash without giving any output.  I've since heard that
this kernel can only function as dom0, and was pointed at "rinse".

Giving it a go, it seemed to go reasonably well, but again I'm left
with a kernel that just seems to instantly crash.  As I say, I am
running stock Debian Etch as my dom0.  Is the hypervisor and/or dom0
kernel in Etch too old to be compatible with Fedora 8's Xen kernel?
Or is there something else I am doing wrong?

Below I have appended a typescript of my installation procedure.

Cheers,
Andy


Script started on Wed 30 Jan 2008 23:22:06 UTC
dom0$ sudo mount /dev/maivg/domu_fedora_root /mnt/xen
dom0$ sudo rinse --distribution fedora-core-8 --directory /mnt/xen
[0:78] Downloading: audit-libs-1.6.2-4.fc8.i386.rpm ..                        
[1:78] Downloading: basesystem-8.1-1.noarch.rpm ..                            
[2:78] Downloading: bash-3.2-18.fc8.i386.rpm ..                               
[3:78] Downloading: beecrypt-4.1.2-13.i386.rpm ..                             
[4:78] Downloading: bzip2-libs-1.0.4-12.fc8.i386.rpm ..                       
[5:78] Downloading: chkconfig-1.3.36-1.i386.rpm ..                            
[6:78] Downloading: coreutils-6.9-9.fc8.i386.rpm ..                           
[7:78] Downloading: cracklib-2.8.10-3.i386.rpm ..                             
[8:78] Downloading: cracklib-dicts-2.8.10-3.i386.rpm ..                       
[9:78] Downloading: db4-4.6.21-1.fc8.i386.rpm ..                              
[10:78] Downloading: device-mapper-1.02.22-1.fc8.i386.rpm ..                  
[11:78] Downloading: e2fsprogs-1.40.2-10.fc8.i386.rpm ..                      
[12:78] Downloading: e2fsprogs-libs-1.40.2-10.fc8.i386.rpm ..                 
[13:78] Downloading: elfutils-libelf-0.130-3.fc8.i386.rpm ..                  
[14:78] Downloading: ethtool-5-1.fc7.i386.rpm ..                              
[15:78] Downloading: expat-2.0.1-2.i386.rpm ..                                
[16:78] Downloading: filesystem-2.4.11-1.fc8.i386.rpm ..                      
[17:78] Downloading: findutils-4.2.31-2.fc8.i386.rpm ..                       
[18:78] Downloading: gawk-3.1.5-15.fc7.i386.rpm ..                            
[19:78] Downloading: gdbm-1.8.0-27.fc7.i386.rpm ..                            
[20:78] Downloading: glib2-2.14.2-1.fc8.i386.rpm ..                           
[21:78] Downloading: glibc-2.7-2.i386.rpm ..                                  
[22:78] Downloading: glibc-common-2.7-2.i386.rpm ..                           
[23:78] Downloading: grep-2.5.1-57.fc7.i386.rpm ..                            
[24:78] Downloading: info-4.11-1.fc8.i386.rpm ..                              
[25:78] Downloading: initscripts-8.60-1.i386.rpm ..                           
[26:78] Downloading: iproute-2.6.22-2.fc8.i386.rpm ..                         
[27:78] Downloading: iputils-20070202-5.fc8.i386.rpm ..                       
[28:78] Downloading: keyutils-libs-1.2-2.fc6.i386.rpm ..                      
[29:78] Downloading: krb5-libs-1.6.2-9.fc8.i386.rpm ..                        
[30:78] Downloading: libacl-2.2.39-10.fc8.i386.rpm ..                         
[31:78] Downloading: libattr-2.4.38-1.fc8.i386.rpm ..                         
[32:78] Downloading: libcap-1.10-30.i386.rpm ..                               
[33:78] Downloading: libgcc-4.1.2-33.i386.rpm ..                              
[34:78] Downloading: libidn-0.6.14-4.i386.rpm ..                              
[35:78] Downloading: libselinux-2.0.37-1.fc8.i386.rpm ..                      
[36:78] Downloading: libsepol-2.0.11-1.fc8.i386.rpm ..                        
[37:78] Downloading: libstdc++-4.1.2-33.i386.rpm ..                           
[38:78] Downloading: libsysfs-2.1.0-1.fc7.i386.rpm ..                         [Harmless] Failed to find download link for libtermcap


[40:78] Downloading: libxml2-2.6.30-1.i386.rpm ..                             
[41:78] Downloading: libxml2-python-2.6.30-1.i386.rpm ..                      
[42:78] Downloading: MAKEDEV-3.23-1.2.i386.rpm ..                             
[43:78] Downloading: mcstrans-0.2.7-1.fc8.i386.rpm ..                         
[44:78] Downloading: mingetty-1.07-6.i386.rpm ..                              
[45:78] Downloading: mktemp-1.5-25.fc7.i386.rpm ..                            
[46:78] Downloading: module-init-tools-3.4-2.fc8.i386.rpm ..                  
[47:78] Downloading: ncurses-5.6-12.20070812.fc8.i386.rpm ..                  
[48:78] Downloading: neon-0.27.2-2.i386.rpm ..                                
[49:78] Downloading: net-tools-1.60-84.fc8.i386.rpm ..                        
[50:78] Downloading: openssl-0.9.8b-17.fc8.i686.rpm ..                        
[51:78] Downloading: pam-0.99.8.1-10.fc8.i386.rpm ..                          
[52:78] Downloading: pcre-7.3-1.i386.rpm ..                                   
[53:78] Downloading: popt-1.12-3.fc8.i386.rpm ..                              
[54:78] Downloading: procps-3.2.7-17.fc8.i386.rpm ..                          
[55:78] Downloading: psmisc-22.5-2.fc8.i386.rpm ..                            
[56:78] Downloading: python-2.5.1-15.fc8.i386.rpm ..                          [Harmless] Failed to find download link for python-elementtree


[58:78] Downloading: python-libs-2.5.1-15.fc8.i386.rpm ..                     
[59:78] Downloading: python-numeric-24.2-6.fc8.i386.rpm ..                    [Harmless] Failed to find download link for python-sqlite


[61:78] Downloading: python-urlgrabber-3.0.0-3.fc8.noarch.rpm ..              
[62:78] Downloading: readline-5.2-7.fc8.i386.rpm ..                           
[63:78] Downloading: rpm-4.4.2.2-3.fc8.i386.rpm ..                            
[64:78] Downloading: rpm-libs-4.4.2.2-3.fc8.i386.rpm ..                       
[65:78] Downloading: rpm-python-4.4.2.2-3.fc8.i386.rpm ..                     
[66:78] Downloading: sed-4.1.5-9.fc8.i386.rpm ..                              
[67:78] Downloading: setup-2.6.10-1.fc8.noarch.rpm ..                         
[68:78] Downloading: shadow-utils-4.0.18.1-18.fc8.i386.rpm ..                 
[69:78] Downloading: sqlite-3.4.2-3.fc8.i386.rpm ..                           [Harmless] Failed to find download link for sysklogd


[71:78] Downloading: sysvinit-2.86-18.i386.rpm ..                             [Harmless] Failed to find download link for termcap


[73:78] Downloading: tzdata-2007h-1.fc8.noarch.rpm ..                         
[74:78] Downloading: udev-116-3.fc8.i386.rpm ..                               [Harmless] Failed to find download link for util-linux


[76:78] Downloading: yum-3.2.7-1.fc8.noarch.rpm ..                            
[77:78] Downloading: yum-metadata-parser-1.1.2-1.fc8.i386.rpm ..              
[78:78] Downloading: zlib-1.2.3-14.fc8.i386.rpm ..                            
                                                                               


Extracting .rpm file : audit-libs-1.6.2-4.fc8.i386.rpm                        
Extracting .rpm file : basesystem-8.1-1.noarch.rpm                            
Extracting .rpm file : bash-3.2-18.fc8.i386.rpm                               
Extracting .rpm file : beecrypt-4.1.2-13.i386.rpm                             
Extracting .rpm file : bzip2-libs-1.0.4-12.fc8.i386.rpm                       
Extracting .rpm file : chkconfig-1.3.36-1.i386.rpm                            
Extracting .rpm file : coreutils-6.9-9.fc8.i386.rpm                           
Extracting .rpm file : cracklib-2.8.10-3.i386.rpm                             
Extracting .rpm file : cracklib-dicts-2.8.10-3.i386.rpm                       
Extracting .rpm file : db4-4.6.21-1.fc8.i386.rpm                              
Extracting .rpm file : device-mapper-1.02.22-1.fc8.i386.rpm                   
Extracting .rpm file : e2fsprogs-1.40.2-10.fc8.i386.rpm                       
Extracting .rpm file : e2fsprogs-libs-1.40.2-10.fc8.i386.rpm                  
Extracting .rpm file : elfutils-libelf-0.130-3.fc8.i386.rpm                   
Extracting .rpm file : ethtool-5-1.fc7.i386.rpm                               
Extracting .rpm file : expat-2.0.1-2.i386.rpm                                 
Extracting .rpm file : filesystem-2.4.11-1.fc8.i386.rpm                       
Extracting .rpm file : findutils-4.2.31-2.fc8.i386.rpm                        
Extracting .rpm file : gawk-3.1.5-15.fc7.i386.rpm                             
Extracting .rpm file : gdbm-1.8.0-27.fc7.i386.rpm                             
Extracting .rpm file : glib2-2.14.2-1.fc8.i386.rpm                            
Extracting .rpm file : glibc-2.7-2.i386.rpm                                   
Extracting .rpm file : glibc-common-2.7-2.i386.rpm                            
Extracting .rpm file : grep-2.5.1-57.fc7.i386.rpm                             
Extracting .rpm file : info-4.11-1.fc8.i386.rpm                               
Extracting .rpm file : initscripts-8.60-1.i386.rpm                            
Extracting .rpm file : iproute-2.6.22-2.fc8.i386.rpm                          
Extracting .rpm file : iputils-20070202-5.fc8.i386.rpm                        
Extracting .rpm file : keyutils-libs-1.2-2.fc6.i386.rpm                       
Extracting .rpm file : krb5-libs-1.6.2-9.fc8.i386.rpm                         
Extracting .rpm file : libacl-2.2.39-10.fc8.i386.rpm                          
Extracting .rpm file : libattr-2.4.38-1.fc8.i386.rpm                          
Extracting .rpm file : libcap-1.10-30.i386.rpm                                
Extracting .rpm file : libgcc-4.1.2-33.i386.rpm                               
Extracting .rpm file : libidn-0.6.14-4.i386.rpm                               
Extracting .rpm file : libselinux-2.0.37-1.fc8.i386.rpm                       
Extracting .rpm file : libsepol-2.0.11-1.fc8.i386.rpm                         
Extracting .rpm file : libstdc++-4.1.2-33.i386.rpm                            
Extracting .rpm file : libsysfs-2.1.0-1.fc7.i386.rpm                          
Extracting .rpm file : libxml2-2.6.30-1.i386.rpm                              
Extracting .rpm file : libxml2-python-2.6.30-1.i386.rpm                       
Extracting .rpm file : MAKEDEV-3.23-1.2.i386.rpm                              
Extracting .rpm file : mcstrans-0.2.7-1.fc8.i386.rpm                          
Extracting .rpm file : mingetty-1.07-6.i386.rpm                               
Extracting .rpm file : mktemp-1.5-25.fc7.i386.rpm                             
Extracting .rpm file : module-init-tools-3.4-2.fc8.i386.rpm                   
Extracting .rpm file : ncurses-5.6-12.20070812.fc8.i386.rpm                   
Extracting .rpm file : neon-0.27.2-2.i386.rpm                                 
Extracting .rpm file : net-tools-1.60-84.fc8.i386.rpm                         
Extracting .rpm file : openssl-0.9.8b-17.fc8.i686.rpm                         
Extracting .rpm file : pam-0.99.8.1-10.fc8.i386.rpm                           
Extracting .rpm file : pcre-7.3-1.i386.rpm                                    
Extracting .rpm file : popt-1.12-3.fc8.i386.rpm                               
Extracting .rpm file : procps-3.2.7-17.fc8.i386.rpm                           
Extracting .rpm file : psmisc-22.5-2.fc8.i386.rpm                             
Extracting .rpm file : python-2.5.1-15.fc8.i386.rpm                           
Extracting .rpm file : python-libs-2.5.1-15.fc8.i386.rpm                      
Extracting .rpm file : python-numeric-24.2-6.fc8.i386.rpm                     
Extracting .rpm file : python-urlgrabber-3.0.0-3.fc8.noarch.rpm               
Extracting .rpm file : readline-5.2-7.fc8.i386.rpm                            
Extracting .rpm file : rpm-4.4.2.2-3.fc8.i386.rpm                             
Extracting .rpm file : rpm-libs-4.4.2.2-3.fc8.i386.rpm                        
Extracting .rpm file : rpm-python-4.4.2.2-3.fc8.i386.rpm                      
Extracting .rpm file : sed-4.1.5-9.fc8.i386.rpm                               
Extracting .rpm file : setup-2.6.10-1.fc8.noarch.rpm                          
Extracting .rpm file : shadow-utils-4.0.18.1-18.fc8.i386.rpm                  
Extracting .rpm file : sqlite-3.4.2-3.fc8.i386.rpm                            
Extracting .rpm file : sysvinit-2.86-18.i386.rpm                              
Extracting .rpm file : tzdata-2007h-1.fc8.noarch.rpm                          
Extracting .rpm file : udev-116-3.fc8.i386.rpm                                
Extracting .rpm file : yum-3.2.7-1.fc8.noarch.rpm                             
Extracting .rpm file : yum-metadata-parser-1.1.2-1.fc8.i386.rpm               
Extracting .rpm file : zlib-1.2.3-14.fc8.i386.rpm                             
                                                                                

Running post-install script post-install.sh:

  Creating resolv.conf

  Setting up YUM cache

  Creating yum.conf

  Mounting /proc

  Bootstrapping yum



=============================================================================

 Package                 Arch       Version          Repository        Size 

=============================================================================

Installing:

 yum                     noarch     3.2.7-1.fc8      core              496 k

Installing for dependencies:

 audit-libs              i386       1.6.2-4.fc8      core               61 k

 basesystem              noarch     8.1-1            core              2.9 k

 bash                    i386       3.2-18.fc8       core              1.8 M

 beecrypt                i386       4.1.2-13         core              110 k

 bzip2-libs              i386       1.0.4-12.fc8     core               37 k

 coreutils               i386       6.9-9.fc8        core              3.3 M

 cracklib                i386       2.8.10-3         core               47 k

 cracklib-dicts          i386       2.8.10-3         core              3.6 M

 crontabs                noarch     1.10-18.fc8      core              7.2 k

 db4                     i386       4.6.21-1.fc8     core              586 k

 device-mapper-libs      i386       1.02.22-1.fc8    core               47 k

 e2fsprogs-libs          i386       1.40.2-10.fc8    core              135 k

 elfutils-libelf         i386       0.130-3.fc8      core               56 k

 expat                   i386       2.0.1-2          core               78 k

 filesystem              i386       2.4.11-1.fc8     core              118 k

 gdbm                    i386       1.8.0-27.fc7     core               27 k

 glib2                   i386       2.14.2-1.fc8     core              823 k

 glibc                   i686       2.7-2            core              5.4 M

 glibc-common            i386       2.7-2            core               21 M

 grep                    i386       2.5.1-57.fc7     core              175 k

 info                    i386       4.11-1.fc8       core              166 k

 keyutils-libs           i386       1.2-2.fc6        core               18 k

 krb5-libs               i386       1.6.2-9.fc8      core              701 k

 libacl                  i386       2.2.39-10.fc8    core               20 k

 libattr                 i386       2.4.38-1.fc8     core               12 k

 libgcc                  i386       4.1.2-33         core               95 k

 libselinux              i386       2.0.37-1.fc8     core              111 k

 libsepol                i386       2.0.11-1.fc8     core              122 k

 libstdc++               i386       4.1.2-33         core              360 k

 libxml2                 i386       2.6.30-1         core              810 k

 logrotate               i386       3.7.6-1.3.fc8    core               50 k

 mktemp                  i386       3:1.5-25.fc7     core               14 k

 ncurses                 i386       5.6-12.20070812.fc8  core              1.0 M

 openssl                 i686       0.9.8b-17.fc8    core              1.4 M

 pam                     i386       0.99.8.1-10.fc8  core              1.0 M

 pcre                    i386       7.3-1            core              136 k

 popt                    i386       1.12-3.fc8       core               35 k

 python                  i386       2.5.1-15.fc8     core              5.2 M

 python-iniparse         noarch     0.2.2-1.fc8      core               33 k

 python-libs             i386       2.5.1-15.fc8     core              566 k

 python-urlgrabber       noarch     3.0.0-3.fc8      core              106 k

 readline                i386       5.2-7.fc8        core              182 k

 rpm                     i386       4.4.2.2-3.fc8    core              1.2 M

 rpm-libs                i386       4.4.2.2-3.fc8    core              926 k

 rpm-python              i386       4.4.2.2-3.fc8    core               61 k

 sed                     i386       4.1.5-9.fc8      core              187 k

 setup                   noarch     2.6.10-1.fc8     core              125 k

 shadow-utils            i386       2:4.0.18.1-18.fc8  core              1.1 M

 sqlite                  i386       3.4.2-3.fc8      core              237 k

 tzdata                  noarch     2007h-1.fc8      core              747 k

 yum-metadata-parser     i386       1.1.2-1.fc8      core               25 k

 zlib                    i386       1.2.3-14.fc8     core               72 k



Transaction Summary

=============================================================================

Install     53 Package(s)         

Update       0 Package(s)         

Remove       0 Package(s)         



Total download size: 55 M

error: failed to open /etc/mtab: No such file or directory

warning: /etc/yum.conf created as /etc/yum.conf.rpmnew



Installed: yum.noarch 0:3.2.7-1.fc8

Dependency Installed: audit-libs.i386 0:1.6.2-4.fc8 basesystem.noarch 0:8.1-1 bash.i386 0:3.2-18.fc8 beecrypt.i386 0:4.1.2-13 bzip2-libs.i386 0:1.0.4-12.fc8 coreutils.i386 0:6.9-9.fc8 cracklib.i386 0:2.8.10-3 cracklib-dicts.i386 0:2.8.10-3 crontabs.noarch 0:1.10-18.fc8 db4.i386 0:4.6.21-1.fc8 device-mapper-libs.i386 0:1.02.22-1.fc8 e2fsprogs-libs.i386 0:1.40.2-10.fc8 elfutils-libelf.i386 0:0.130-3.fc8 expat.i386 0:2.0.1-2 filesystem.i386 0:2.4.11-1.fc8 gdbm.i386 0:1.8.0-27.fc7 glib2.i386 0:2.14.2-1.fc8 glibc.i686 0:2.7-2 glibc-common.i386 0:2.7-2 grep.i386 0:2.5.1-57.fc7 info.i386 0:4.11-1.fc8 keyutils-libs.i386 0:1.2-2.fc6 krb5-libs.i386 0:1.6.2-9.fc8 libacl.i386 0:2.2.39-10.fc8 libattr.i386 0:2.4.38-1.fc8 libgcc.i386 0:4.1.2-33 libselinux.i386 0:2.0.37-1.fc8 libsepol.i386 0:2.0.11-1.fc8 libstdc++.i386 0:4.1.2-33 libxml2.i386 0:2.6.30-1 logrotate.i386 0:3.7.6-1.3.fc8 mktemp.i386 3:1.5-25.fc7 ncurses.i386 0:5.6-12.20070812.fc8 openssl.i686 0:0.9.8b-17.fc8 pam.i386 0:0.99.8.1-10.fc8 pcre.i386 0:7.3-1 popt.i386 0:1.12-3.fc8 python.i386 0:2.5.1-15.fc8 python-iniparse.noarch 0:0.2.2-1.fc8 python-libs.i386 0:2.5.1-15.fc8 python-urlgrabber.noarch 0:3.0.0-3.fc8 readline.i386 0:5.2-7.fc8 rpm.i386 0:4.4.2.2-3.fc8 rpm-libs.i386 0:4.4.2.2-3.fc8 rpm-python.i386 0:4.4.2.2-3.fc8 sed.i386 0:4.1.5-9.fc8 setup.noarch 0:2.6.10-1.fc8 shadow-utils.i386 2:4.0.18.1-18.fc8 sqlite.i386 0:3.4.2-3.fc8 tzdata.noarch 0:2007h-1.fc8 yum-metadata-parser.i386 0:1.1.2-1.fc8 zlib.i386 0:1.2.3-14.fc8

  Cleaning up

  Final tidy...

Installation complete.

dom0$ sudo mount --bind /proc /mnt/xen/proc

dom0$ sudo chroot /mnt/xen /bin/bash

bash-3.2# yum install grub



=============================================================================

 Package                 Arch       Version          Repository        Size 

=============================================================================

Installing:

 grub                    i386       0.97-19          core              464 k

Installing for dependencies:

 diffutils               i386       2.8.1-17.fc8     core              211 k

 fedora-logos            noarch     8.0.2-1.fc8      core              3.2 M



Transaction Summary

=============================================================================

Install      3 Package(s)         

Update       0 Package(s)         

Remove       0 Package(s)         



Total download size: 3.9 M

error: failed to open /etc/mtab: No such file or directory



Installed: grub.i386 0:0.97-19

Dependency Installed: diffutils.i386 0:2.8.1-17.fc8 fedora-logos.noarch 0:8.0.2-1.fc8

bash-3.2# yum install kernel-xen



=============================================================================

 Package                 Arch       Version          Repository        Size 

=============================================================================

Installing:

 kernel-xen              i686       2.6.21-2950.fc8  core               16 M

Installing for dependencies:

 ConsoleKit-libs         i386       0.2.3-1.fc8      core               13 k

 MAKEDEV                 i386       3.23-1.2         core              135 k

 chkconfig               i386       1.3.36-1         core              155 k

 cpio                    i386       2.9-4.fc8        core              182 k

 dbus                    i386       1.1.2-7.fc8      core              236 k

 dbus-libs               i386       1.1.2-7.fc8      core              125 k

 device-mapper           i386       1.02.22-1.fc8    core              466 k

 dmraid                  i386       1.0.0.rc14-4.fc8  core              552 k

 e2fsprogs               i386       1.40.2-10.fc8    core              1.0 M

 ethtool                 i386       5-1.fc7          core               60 k

 fedora-release          noarch     8-3              core               27 k

 fedora-release-notes    noarch     8.0.0-3          core              2.9 M

 findutils               i386       1:4.2.31-2.fc8   core              269 k

 gawk                    i386       3.1.5-15.fc7     core              956 k

 gzip                    i386       1.3.12-4.fc8     core              113 k

 initscripts             i386       8.60-1           core              1.6 M

 iproute                 i386       2.6.22-2.fc8     core              815 k

 iputils                 i386       20070202-5.fc8   core              126 k

 kpartx                  i386       0.4.7-11.fc7     core              409 k

 less                    i386       406-12.fc8       core              105 k

 libcap                  i386       1.10-30          core               24 k

 libdhcp                 i386       1.27-3.fc8       core               59 k

 libdhcp4client          i386       12:3.0.6-10.fc8  core              247 k

 libdhcp6client          i386       0.10-51.fc8      core               79 k

 libidn                  i386       0.6.14-4         core              210 k

 libnl                   i386       1.0-0.10.pre5.4  core               95 k

 libsysfs                i386       2.1.0-1.fc7      core               48 k

 libvolume_id            i386       116-3.fc8        core               53 k

 lvm2                    i386       2.02.28-1.fc8    core              975 k

 mdadm                   i386       2.6.2-5.fc8      core              821 k

 mingetty                i386       1.07-6           core               19 k

 mkinitrd                i386       6.0.19-4.fc8     core               94 k

 module-init-tools       i386       3.4-2.fc8        core              414 k

 nash                    i386       6.0.19-4.fc8     core              143 k

 net-tools               i386       1.60-84.fc8      core              361 k

 parted                  i386       1.8.6-10.fc8     core              570 k

 procps                  i386       3.2.7-17.fc8     core              210 k

 psmisc                  i386       22.5-2.fc8       core               71 k

 rsyslog                 i386       1.19.6-3.fc8     core              184 k

 sysvinit                i386       2.86-18          core              110 k

 tar                     i386       2:1.17-3.fc8     core              875 k

 udev                    i386       116-3.fc8        core              327 k

 util-linux-ng           i386       2.13-3.fc8       core              1.9 M

 which                   i386       2.16-8           core               23 k



Transaction Summary

=============================================================================

Install     45 Package(s)         

Update       0 Package(s)         

Remove       0 Package(s)         



Total download size: 34 M

error: failed to open /etc/mtab: No such file or directory

awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)

awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)

awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)

awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)

awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)



Installed: kernel-xen.i686 0:2.6.21-2950.fc8

Dependency Installed: ConsoleKit-libs.i386 0:0.2.3-1.fc8 MAKEDEV.i386 0:3.23-1.2 chkconfig.i386 0:1.3.36-1 cpio.i386 0:2.9-4.fc8 dbus.i386 0:1.1.2-7.fc8 dbus-libs.i386 0:1.1.2-7.fc8 device-mapper.i386 0:1.02.22-1.fc8 dmraid.i386 0:1.0.0.rc14-4.fc8 e2fsprogs.i386 0:1.40.2-10.fc8 ethtool.i386 0:5-1.fc7 fedora-release.noarch 0:8-3 fedora-release-notes.noarch 0:8.0.0-3 findutils.i386 1:4.2.31-2.fc8 gawk.i386 0:3.1.5-15.fc7 gzip.i386 0:1.3.12-4.fc8 initscripts.i386 0:8.60-1 iproute.i386 0:2.6.22-2.fc8 iputils.i386 0:20070202-5.fc8 kpartx.i386 0:0.4.7-11.fc7 less.i386 0:406-12.fc8 libcap.i386 0:1.10-30 libdhcp.i386 0:1.27-3.fc8 libdhcp4client.i386 12:3.0.6-10.fc8 libdhcp6client.i386 0:0.10-51.fc8 libidn.i386 0:0.6.14-4 libnl.i386 0:1.0-0.10.pre5.4 libsysfs.i386 0:2.1.0-1.fc7 libvolume_id.i386 0:116-3.fc8 lvm2.i386 0:2.02.28-1.fc8 mdadm.i386 0:2.6.2-5.fc8 mingetty.i386 0:1.07-6 mkinitrd.i386 0:6.0.19-4.fc8 module-init-tools.i386 0:3.4-2.fc8 nash.i386 0:6.0.19-4.fc8 net-tools.i386 0:1.60-84.fc8 parted.i386 0:1.8.6-10.fc8 procps.i386 0:3.2.7-17.fc8 psmisc.i386 0:22.5-2.fc8 rsyslog.i386 0:1.19.6-3.fc8 sysvinit.i386 0:2.86-18 tar.i386 2:1.17-3.fc8 udev.i386 0:116-3.fc8 util-linux-ng.i386 0:2.13-3.fc8 which.i386 0:2.16-8

bash-3.2# yum install vim



=============================================================================

 Package                 Arch       Version          Repository        Size 

=============================================================================

Installing:

 vim-enhanced            i386       2:7.1.135-1.fc8  core              859 k

Installing for dependencies:

 gpm                     i386       1.20.1-89.fc8    core              181 k

 perl                    i386       4:5.8.8-30.fc8   core               12 M

 perl-libs               i386       4:5.8.8-30.fc8   core              568 k

 vim-common              i386       2:7.1.135-1.fc8  core              6.6 M



Transaction Summary

=============================================================================

Install      5 Package(s)         

Update       0 Package(s)         

Remove       0 Package(s)         



Total download size: 20 M

error: failed to open /etc/mtab: No such file or directory



Installed: vim-enhanced.i386 2:7.1.135-1.fc8

Dependency Installed: gpm.i386 0:1.20.1-89.fc8 perl.i386 4:5.8.8-30.fc8 perl-libs.i386 4:5.8.8-30.fc8 vim-common.i386 2:7.1.135-1.fc8

bash-3.2# vim /etc/fstab
bash-3.2# cat /etc/fstab

LABEL=/                 /                       ext3    defaults        1 1
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,modeb0  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-xvda2        swap                    swap    defaults        0 0

bash-3.2# ls -la /boot
total 6924
drwxr-xr-x  3 root root    4096 2008-01-30 19:01 .
drwxr-xr-x 21 root root    4096 2008-01-30 18:24 ..
-rw-r--r--  1 root root   71557 2007-10-23 12:37 config-2.6.21-2950.fc8xen
drwxr-xr-x  2 root root    4096 2007-09-20 16:21 grub
-rw-------  1 root root 2756256 2008-01-30 19:01 initrd-2.6.21-2950.fc8xen.img
-rw-r--r--  1 root root  900417 2007-10-23 12:37 System.map-2.6.21-2950.fc8xen
-rw-r--r--  1 root root 2227256 2007-10-23 12:37 vmlinuz-2.6.21-2950.fc8xen
-rw-r--r--  1 root root  310361 2007-10-23 12:22 xen.gz-2.6.21-2950.fc8
-rwxr-xr-x  1 root root  780383 2007-10-23 12:38 xen-syms-2.6.21-2950.fc8
bash-3.2# vim /boot/grub/grub.conf 
bash-3.2# cat /boot/grub/grub.conf
default=0
timeout=5
hiddenmenu
title Fedora 8 (2.6.21-2950.fc8xen)
	root (hd0,0)
	kernel /boot/vmlinuz-2.6.21-2950.fc8xen ro root=LABEL=/ console=xvc0
	initrd /boot/initrd-2.6.21-2950.fc8xen.img

bash-3.2# ls /dev

null

bash-3.2# cd /dev

bash-3.2# for d in console generic null zero; do MAKEDEV $d; done

bash-3.2# vi /etc/sysconfig/network
bash-3.2# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAMEždora8

bash-3.2# vim /etc/sysconfig/network-scripts/ifcfg-eth0
bash-3.2# cat /etc/sysconfig/network-scripts/ifcfg-eth0

# Xen Virtual Ethernet
DEVICE=eth0
BROADCAST2.168.194.255
IPADDR2.168.194.17
NETMASK%5.255.255.0
NETWORK2.168.194.0
ONBOOT=yes
GATEWAY2.168.194.1
TYPE=Ethernet

bash-3.2# yum install authconfig



=============================================================================

 Package                 Arch       Version          Repository        Size 

=============================================================================

Installing:

 authconfig              i386       5.3.18-1.fc8     core              407 k

Installing for dependencies:

 cyrus-sasl-lib          i386       2.1.22-7         core              1.1 M

 libuser                 i386       0.56.6-2         core              441 k

 newt                    i386       0.52.7-4.fc8     core               92 k

 newt-python             i386       0.52.7-4.fc8     core               49 k

 openldap                i386       2.3.38-3.fc8     core              294 k

 passwd                  i386       0.74-5.fc8       core               33 k

 rhpl                    i386       0.210-1          core              220 k

 slang                   i386       2.1.2-2.fc8      core              472 k

 usermode                i386       1.93.1-1.fc8     core              186 k

 wireless-tools          i386       1:29-0.2.pre22.fc8  core               99 k



Transaction Summary

=============================================================================

Install     11 Package(s)         

Update       0 Package(s)         

Remove       0 Package(s)         



Total download size: 3.4 M

error: failed to open /etc/mtab: No such file or directory



Installed: authconfig.i386 0:5.3.18-1.fc8

Dependency Installed: cyrus-sasl-lib.i386 0:2.1.22-7 libuser.i386 0:0.56.6-2 newt.i386 0:0.52.7-4.fc8 newt-python.i386 0:0.52.7-4.fc8 openldap.i386 0:2.3.38-3.fc8 passwd.i386 0:0.74-5.fc8 rhpl.i386 0:0.210-1 slang.i386 0:2.1.2-2.fc8 usermode.i386 0:1.93.1-1.fc8 wireless-tools.i386 1:29-0.2.pre22.fc8

bash-3.2# authconfig --enableshadow --update

bash-3.2# passwd root

Changing password for user root.
New UNIX password: 
Retype new UNIX password: 
passwd: all authentication tokens updated successfully.

bash-3.2# exit

dom0$ sudo umount /mnt/xen/proc

dom0$ sudo e2label /dev/mainvg/domu_fedora8_root /

dom0$ cat /etc/xen/fedora8.conf 

name = 'fedora8'
memory = 120
disk = [ 'phy:mapper/mainvg-domu_fedora8_root,xvda1,w',
         'phy:mapper/mainvg-domu_fedora8_swap,xvda2,w' ]
vif = [ 'macbootloader = '/usr/lib/xen-3.0.3-1/bin/pygrub'

dom0$ sudo xm create -c /etc/xen/fedora8.conf 

Using config file "/etc/xen/fedora8.conf".
  kernel: /boot/vmlinuz-2.6.21-2950.fc8xen
  initrd: /boot/initrd-2.6.21-2950.fc8xen.img
Started domain fedora8

dom0$ tail /var/log/xen/xend.log
[2008-01-31 00:18:44 xend 3525] DEBUG (__init__:1072) DevController: writing {'domain': 'fedora8', 'frontend': '/local/domain/39/device/vbd/51713', 'dev': 'xvda1', 'state': '1', 'params': 'mapper/mainvg-domu_fedora8_root', 'mode': 'w', 'online': '1', 'frontend-id': '39', 'type': 'phy'} to /local/domain/0/backend/vbd/39/51713.
[2008-01-31 00:18:44 xend 3525] DEBUG (__init__:1072) exception looking up device number for xvda2: [Errno 2] No such file or directory: '/dev/xvda2'
[2008-01-31 00:18:44 xend 3525] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'virtual-device': '51714', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/39/51714'} to /local/domain/39/device/vbd/51714.
[2008-01-31 00:18:44 xend 3525] DEBUG (__init__:1072) DevController: writing {'domain': 'fedora8', 'frontend': '/local/domain/39/device/vbd/51714', 'dev': 'xvda2', 'state': '1', 'params': 'mapper/mainvg-domu_fedora8_swap', 'mode': 'w', 'online': '1', 'frontend-id': '39', 'type': 'phy'} to /local/domain/0/backend/vbd/39/51714.
[2008-01-31 00:18:44 xend.XendDomainInfo 3525] DEBUG (__init__:1072) Storing VM details: {'shadow_memory': '0', 'uuid': 'd15c0c15-ff49-e37a-6c80-fdd76f53026b', 'on_reboot': 'restart', 'start_time': '1201738724.85', 'on_poweroff': 'destroy', 'name': 'fedora8', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '120', 'on_crash': 'restart', 'image': "(linux (ramdisk /var/lib/xen/initrd.oF4N2v) (kernel /var/lib/xen/vmlinuz.dR_ki-) (args 'ro root=LABEL=/ console=xvc0'))", 'maxmem': '120'}
[2008-01-31 00:18:44 xend.XendDomainInfo 3525] DEBUG (__init__:1072) Storing domain details: {'console/ring-ref': '293382', 'console/port': '2', 'name': 'fedora8', 'console/limit': '1048576', 'vm': '/vm/d15c0c15-ff49-e37a-6c80-fdd76f53026b', 'domid': '39', 'cpu/0/availability': 'online', 'memory/target': '122880', 'store/ring-ref': '293383', 'store/port': '1'}
[2008-01-31 00:18:44 xend.XendDomainInfo 3525] WARNING (__init__:1072) Domain has crashed: nameždora8 id9.
[2008-01-31 00:18:46 xend.XendDomainInfo 3525] ERROR (__init__:1072) VM fedora8 restarting too fast (1.748749 seconds since the last restart).  Refusing to restart to avoid loops.
[2008-01-31 00:18:46 xend.XendDomainInfo 3525] DEBUG (__init__:1072) XendDomainInfo.destroy: domid9
[2008-01-31 00:18:46 xend.XendDomainInfo 3525] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(39)

Script done on Thu 31 Jan 2008 00:19:29 UTC
Received on Thu Jan 31 2008 - 00:35:41 GMT

Mailing list overview.