Linux Container Development
 help / color / mirror / Atom feed
* sysfs question
@ 2008-09-11 14:01 Mark Ryden
       [not found] ` <dac45060809110701i49acb8e7m7d8e3ccea7c59ab7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Ryden @ 2008-09-11 14:01 UTC (permalink / raw)
  To: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

Hello,
I am trying to follow the
Linux Containers - Network Namespace configuration instructions from
http://lxc.sourceforge.net/network/configuration.php


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:
http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-11/msg05032.html

Any ideas?
Regards,
Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-11 16:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-11 14:01 sysfs question Mark Ryden
     [not found] ` <dac45060809110701i49acb8e7m7d8e3ccea7c59ab7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-09-11 14:05   ` Mark Ryden
     [not found]     ` <dac45060809110705r2474060bi71c657a23588975f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-09-11 14:26       ` xiaoming.zhang
     [not found]         ` <200809112226.59518.zxm927-9Onoh4P/yGk@public.gmane.org>
2008-09-11 15:37           ` Daniel Lezcano
     [not found]             ` <48C93B3D.3050303-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org>
2008-09-11 15:53               ` xiaoming.zhang
     [not found]                 ` <200809112353.47144.zxm927-9Onoh4P/yGk@public.gmane.org>
2008-09-11 16:40                   ` Daniel Lezcano
2008-09-11 14:49   ` Benjamin Thery

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox