sysfs question

Mark Ryden markryde at
Thu Sep 11 07:01:48 PDT 2008

I am trying to follow the
Linux Containers - Network Namespace configuration instructions from

I had built a kernel with CONFIG_SYS=n and  CONFIG_NET_NS=y
and CONFIG_VETH=y , etc, according to the instructions.

Now, the CONFIG_SYSFS help text says:

sysfs is currently used by the block subsystem to mount the root
partition. If sysfs is disabled you must specify the boot device on
the kernel boot command line via its major and minor numbers. For
example, "root=03:01" for /dev/hda1.

So I added root=08,02 to my kernel boot parameter line and booted.

it starts booting, but then gets:
switchroot: mount failed: No such file or directory.
Booting has failed.

8 is the majoror number and 2 is the minor number of /dev/sda2, where I have
my root partition.

Googling for this found the following, which not helped much:

Any ideas?

More information about the Containers mailing list