Busybox Init

Rajeev Bansal rajeevb at intoto.com
Wed Dec 5 00:54:50 PST 2007


Hi Mike,

Thanks for replying the query.

I am not sure about this but don't you think when you run the command 
switchroot in init script, then its Init's job to remount the previous 
mounted root with read-write options.

Thanks
-Rajeev

Mike Frysinger wrote:
> On Wednesday 05 December 2007, Rajeev Bansal wrote:
>   
>> I am trying to boot Ubuntu Kernel using custom root file system. I am
>> using Busybox's (Version 1.7.0)  init for initing my box. I am observing
>> init is not remounting my system root which is /dev/sda2 in my case on
>> /.
>>     
>
> why do you think init should be doing anything even remotely like that ?  that 
> is not the job of init, that is the job of your scripts.
>
>   
>> After booting up  I observe it has mounted /dev/root on /, which is 
>> also working fine for me. But I want it should remount the system root
>> (/dev/sda2 ) on /.  I am writing my init script which kernel is executes
>> during init process, and the output of the mount command just let me
>> know if I am missing something there.
>>     
>
> /dev/root is whatever you set root= when booting the kernel
>
> this really isnt a busybox issue.  please take your question to a Linux From 
> Scratch mailing list.
> -mike
>   



********************************************************************************
This email message (including any attachments) is for the sole use of the intended recipient(s) 
and may contain confidential, proprietary and privileged information. Any unauthorized review, 
use, disclosure or distribution is prohibited. If you are not the intended recipient, 
please immediately notify the sender by reply email and destroy all copies of the original message. 
Thank you.
 
Intoto Inc. 



More information about the busybox mailing list