Summary: Stopping SunOS from looking for /usr

From: Andre L. Soto (
Date: Thu Oct 20 1994 - 13:24:06 CDT

In article <384h34$> ( Andre L. Soto )
> I have a SPARC ELC running SunOS 4.1.3. I moved everything from a
> (207M) disk over to a larger one (1G). The difference between the two
> the partitions (outlined below):
> Small disk:
> sd0a /
> sd0b swap
> sd0g /usr
> Large disk:
> sd0a /
> sd0b swap
> I moved / and /usr from the small disk to / on the large disk. My
> is when I boot, the OS tries to fsck the /usr filesystem. As a result,
> throws me into single user mode. I removed the /usr line from
> but the problem continues. What is going on?
> Any help is appreciated. Thank you.
> Andre L. Soto

Problem solved! Thanks to Robert Bonomi, Eckhard Rueggeberg, and Rory
Toma for their replies. The solution is described below.

After rc.boot does a fsck on all partitions it finds in /etc/fstab, it
calls rc.single (if fsck was successful). rc.single attempts to remount
all partitions as read/write. Attempting to mount /usr failed thus
sending an exit code of 2 back to rc.boot. rc.boot in turn exited into
single user mode. Commenting out the following lines in rc.single solved
the problem.

        intr mount -o remount /
        if [ $? -ne 0 ]; then exit 1 ; fi
# intr mount -o remount /usr
# if [ $? -ne 0 ]; then exit 2 ; fi

        intr umount -at nfs
> /etc/mtab
        intr mount -f /
# intr mount -f /usr

Andre L. Soto

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:12 CDT