search for: real_root_dev

Displaying 3 results from an estimated 3 matches for "real_root_dev".

2005 Apr 06
4
Query on Initramfs' and Initrd's coexistence
...ounting root filesystem mount: error 2 mounting ext3 pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2 umount /initrd/proc failed: 2 Kernel panic - not syscing: Attempted to kill init! 2. This issue is irrespective of issue 1. I was wondering how I would be spawning the real init after the real_root_dev has been mounted.... In the normal booting case(i.e. without initramfs) prepare_namespace() returns and /sbin/init is executed in init/main.c:init(). But, in the initramfs case, since prepare_namespace is not called, this needs to be done in my init application on initramfs. Klibc does not support...
2006 Jun 26
0
[klibc 06/43] Re-create ROOT_DEV, too many architectures need it.
...mfs.c +++ b/init/initramfs.c @@ -10,10 +10,6 @@ #include <linux/syscalls.h> unsigned long __initdata initrd_start, initrd_end; int __initdata initrd_below_start_ok; -/* This isn't used by the kernel, but exists as a sysctl node for - backwards compatibility reasons. */ -unsigned int real_root_dev; - static __initdata char *message; static void __init error(char *x) { diff --git a/init/main.c b/init/main.c index 4b3fd6f..10fb231 100644 --- a/init/main.c +++ b/init/main.c @@ -49,6 +49,7 @@ #include <linux/unistd.h> #include <linux/rmap.h> #include <linux/mempolicy.h> #...
2004 Nov 12
2
Boot from CD -> system + data on USB storage
Hi, I am looking for a solution to boot MY system on any PC. To store most of the system and all of my data I want to use an USB storage (in my case an external USB harddisk (2.0 capable)). Since booting off an USB device is not an universal thing I would prefer to have a boot disk with a minimal system - just enough to load most (all?) of the system from the attached USB device. Is this an