login
Header Space

 
 

Re: [RFC][Patch] Allow not mounting a root fs

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bodo Eggert <7eggert@...>
Cc: H. Peter Anvin <hpa@...>, <linux-kernel@...>
Date: Friday, July 6, 2007 - 11:32 am

On Fri, Jul 06, 2007 at 05:00:40PM +0200, Bodo Eggert wrote:

If I understood you correctly, you're trying to get the kernel 
to execute the "/sbin/init" file of your initramfs. However, "/init" 
is the sole default initramfs entry point. To fix this, you can pass 
rdinit=/sbin/init _or_ modify your initramfs image so that "/init" 
is the entrypoint.

Normally, if your initramfs has a /init script your kernel would 
skip the entire stage where it panics in the perpare_namespace() 
function for trying to mount "root=" by itself (see 
init/main.c:init()).

-- 
Dan Aloni
XIV LTD, http://www.xivstorage.com
da-x (at) monatomic.org, dan (at) xiv.co.il
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][Patch] Allow not mounting a root fs, Bodo Eggert, (Thu Jul 5, 10:00 pm)
Re: [RFC][Patch] Allow not mounting a root fs, H. Peter Anvin, (Thu Jul 5, 10:08 pm)
Re: [RFC][Patch] Allow not mounting a root fs, Jan Engelhardt, (Sat Jul 7, 2:30 pm)
Re: [RFC][Patch] Allow not mounting a root fs, Bodo Eggert, (Sat Jul 7, 5:18 pm)
Re: [RFC][Patch] Allow not mounting a root fs, Willy Tarreau, (Sat Jul 7, 5:46 pm)
Re: [RFC][Patch] Allow not mounting a root fs, Jan Engelhardt, (Sat Jul 7, 5:39 pm)
Re: [RFC][Patch] Allow not mounting a root fs, H. Peter Anvin, (Sat Jul 7, 5:45 pm)
Re: [RFC][Patch] Allow not mounting a root fs, H. Peter Anvin, (Sat Jul 7, 4:56 pm)
Re: [RFC][Patch] Allow not mounting a root fs, Jan Engelhardt, (Sat Jul 7, 5:13 pm)
Re: [RFC][Patch] Allow not mounting a root fs, H. Peter Anvin, (Sat Jul 7, 5:17 pm)
Re: [RFC][Patch] Allow not mounting a root fs, Rob Landley, (Wed Jul 18, 5:51 pm)
Re: [RFC][Patch] Allow not mounting a root fs, H. Peter Anvin, (Wed Jul 18, 6:50 pm)
Re: [RFC][Patch] Allow not mounting a root fs, Roland M. Kruggel, (Wed Jul 18, 6:53 pm)
Re: [RFC][Patch] Allow not mounting a root fs, Bodo Eggert, (Fri Jul 6, 11:00 am)
Re: [RFC][Patch] Allow not mounting a root fs, Andre Noll, (Fri Jul 6, 1:00 pm)
Re: [RFC][Patch] Allow not mounting a root fs, H. Peter Anvin, (Fri Jul 6, 1:16 pm)
Re: [RFC][Patch] Allow not mounting a root fs, Dan Aloni, (Fri Jul 6, 11:32 am)
speck-geostationary