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

Re: [Xen-users] RHAS 3u4 on Xen

I have alread made this happen. 

I copied over a working foot filesystem and edited the fstab.

The only funny thing I needed to do was to edit /etc/rc.d/rc.sysinit to
fix the disk checking lines.


The section I changed in rc.sysinit looked like: 
ROOTFSTYPE=`awk '/ \/ / && ($3 !~ /rootfs/) { print $3 }' /proc/mounts`
if [ -z "$fastboot" -a "X$ROOTFSTYPE" != "Xnfs" ]; then

        STRING=$"Checking root filesystem"
        echo $STRING
        initlog -c "fsck -T -a / $fsckoptions"
        rc=$?

        if [ "$rc" = "0" ]; then
                success "$STRING"
                echo
        elif [ "$rc" = "1" ]; then
                passed "$STRING"
                echo
        fi


I changed it to:

ROOTFSTYPE=`awk '/ \/ / && ($3 !~ /rootfs/) { print $3 }' /proc/mounts`
if [ -z "$fastboot" -a "X$ROOTFSTYPE" != "Xnfs" ]; then

        STRING=$"Checking root filesystem"
        echo $STRING
#        initlog -c "fsck -T -a / $fsckoptions"
#        rc=$?
        rc=0

        if [ "$rc" = "0" ]; then
                success "$STRING"
                echo
        elif [ "$rc" = "1" ]; then
                passed "$STRING"
                echo
        fi


There was a problem with the init thinking that the disk was bad all of
the time. This fixed it and allowed the system to boot.

Good luck.

Michael Gregg

On Thu, 2005-09-15 at 12:23 +0530, Sweekar Pinto wrote:
> Hi,
> Is it possibel to get RHAS 3u4 running as DomU on Xen3?
> Any documentation on this?
> Thanks,
> Sweekar
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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

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