View Single Post
Posts: 2 | Thanked: 0 times | Joined on Feb 2008
#104
Originally Posted by GeraldKo View Post
Well, mjjiang, I know almost no Linux either! But I don't understand your question. If this relates to the guide, at what step does your problem first arise? What message do you get at that point?
What I mean is to modify the .sh file as below:
from:


Code:
if [ $? = 0 ]; then
umount $MP 2> /dev/null
fi
RC=$?
else
# it is not mounted
RC=0
fi
to:

Code:
if [ $? = 0 ]; then
if [ "$MP" != "/" ] ; then umount $MP 2> /dev/null ; fi
RC=$?
else
# it is not mounted
RC=0
fi


Can I move the file to my XP desktop and modify it? Or there is a more convenient way? Thanks.