[Pkg-sysvinit-devel] Bug#588675: / left as /dev/root with non-initrd kernel
Elliott Mitchell
ehem at m5p.com
Mon Jul 12 04:51:02 UTC 2010
>From: Petter Reinholdtsen <pere at hungry.com>
> [Elliott Mitchell]
> > Hrmm, one more setting that may be required to reproduce, this
> > system mounts / read-only.
>
> What does your /etc/fstab file look like? What about the
> /proc/cmdline content? I have no clue what is going on, so I thought
> it best to try to gather some information. :)
fstab: Several FSes listed. / is defaults,ro. /proc and /tmp are
explicitly listed, the other tmpfs mounts are not listed (/dev/shm, etc).
/proc/cmdline: auto BOOT_IMAGE=Linux
> Can you provide the output from 'ls /etc/rcS.d/'?
Yes.
> My best quess would be that the root entry is missing in fstab,
> causing no remount to happen, or perhaps /etc/mtab is not updated
> because /etc/ is read-only, or something. :)
Those might be things to worry about, but none of them is the case here.
Conventional solution to mtab (symbolic link to /proc/mounts). I've got a
similar system currently using the Debian built kernel and this problem
isn't occuring (which is why I suspect this step used to be handled by
both initrd and initscripts, but the version from initscripts got
dropped; geeze, 2.6.26 is interesting to configure).
You didn't ask for it, but I figure I should provide it anyway: :-)
/etc/rcS.d:
S01glibc.sh
S02hostname.sh
S02mountkernfs.sh
S03udev
S04mountdevsubfs.sh
S05bootlogd
S05initrd-tools.sh
S07hdparm
S08hwclockfirst.sh
S09scsitools-pre.sh
S10checkroot.sh
S11hwclock.sh
S12mtab.sh
S20module-init-tools
S22scsitools.sh
S25libdevmapper1.01
S25libdevmapper1.02
S30checkfs.sh
S35mountall.sh
S36mountall-bootclean.sh
S36udev-mtab
--
(\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/)
\BS ( | EHeM at gremlin.m5p.com PGP F6B23DE0 | ) /
\_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/
2477\___\_|_/DC21 03A0 5D61 985B <-PGP-> F2BE 6526 ABD2 F6B2\_|_/___/3DE0
More information about the Pkg-sysvinit-devel
mailing list