Mailinglist Archive: opensuse (1002 mails)

< Previous Next >
[opensuse] Re: [opensuse-factory] Re: related too read-only mounted partitions like /root...
Rob OpenSuSE wrote:

On 12 July 2011 20:02, Linda Walsh <suse@xxxxxxxxx> wrote:
Linda Walsh wrote:
I got a rude surprise when I tried to do �fastboot over the weekend.

While turning on seems if you do a fast boot, and skip the fsck,

your file systems never get mounted RW!---


-----BTW, this should fix the problem


Not tested (yet...but will be!),
but the below should provide correct functionality:

(i.e. I didn't specify r/o on cmd line) -- and the ROOT_FSCK check is
to through out a message if the USER specified ROOTFS_FSCK in their
sysconfig, but did a fastboot...)


--- boot.rootfsck 2011-02-17 03:38:20.000000000 -0800
+++ boot.rootfsck 2011-07-12 12:13:33.887533594 -0700
@@ -164,6 +164,11 @@
echo
fi
else
+ if rc_cmdline readonlyroot ; then
+ echo "Skipping rw-remount of / since boot commandline specified \"readonlyroot\""
+ else
+ mount -n -o remount,rw /
+ fi
if test "$ROOTFS_FSCK" != "0" ; then
echo "root file system (/) is NOT being checked."
fi
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages