[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.