[Pkg-sysvinit-devel] Bug#588675: / left as /dev/root with non-initrd kernel

Elliott Mitchell ehem at m5p.com
Mon Jul 12 22:20:52 UTC 2010


>From: Petter Reinholdtsen <pere at hungry.com>
> [Elliott Mitchell]
> > fstab: Several FSes listed. / is defaults,ro. /proc and /tmp are
> > explicitly listed, the other tmpfs mounts are not listed (/dev/shm,
> > etc).
> 
> Can you attach a copy of your /etc/fstab too?

The line of interest is:

/dev/sda1	/		ext3	defaults,ro		12	2

> I still have no clue what is wrong.

Rough outline, when the kernel is booting, it doesn't know the name of
the device-file that the root filesystem is on; all it gets is a major
and minor number. I think the missing step is something along the lines
of doing a mount() system call where you feed the kernel the actual
device-file, and perhaps umount the placeholder "/dev/root".

I'm guessing someone removed it thinking that the step was being done by
the initrd scripts, and not thinking that not all systems require an
initial ram disk.


-- 
(\___(\___(\______          --=> 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