Hi,

thanks for your response.

It's true that with initramfs I can mount another filesystem and switch
to it with pivot_root or switch_root, but in my case I would like to
keep the initramfs as the main "os" an no switch to another filesystem,
so I would like to "see" this initramfs as a mount point so with a real
capacity with df, for program (like mail) can see a disk capacity
sufficient.

So, the goal is not to do many things into the initramfs, ok ok ;), ...
but minimum programs without a necessity to swith to an other more big
filesystem.

Thanks

Yves

[email protected] a écrit :
> Hi Yves,
>
> It has been a while since I have run a LFS system, and I also type this from 
> memory. Please bear with me :-)
> As far as I know the trick is to start from a small initial ramdisk, then 
> mount a big partition somewhere, and then use pivot_root to swap the 2 
> mountpoints.
>
> Best regards,
> Cedric
>
>   
>> ----Origineel Bericht----
>> Van : [email protected]
>> Datum : 23/10/2013 15:57
>> Aan : [email protected]
>> Onderwerp : Initramfs and root space
>>
>> Hi,
>>
>> I try to boot from ethernet my own Linux FS :
>>
>> - create an initramfs with a simple and very minimal fedora structure : ok
>> - boot with DHCP with a 2.6 kernel : ok
>> - kernel load the initramfs : ok
>> - a custom init.sh script is call : ok
>>
>> So after the boot I have a Linux OS with an initramfs as filesystem.
>>
>> With the initramfs, I have compiled some minimal applications.
>>
>> The aim of this minimal boot is to make things without to have to mount
>> a hard disk or another filesystem.
>>
>> My problem is that some applications, like mail, complain that disk
>> space is insuficient, and of course, df / result :
>>
>> df /
>> Filesystem           1K-blocks      Used Available Use% Mounted on
>> -                            0         0         0   -  /
>>
>> So, how to make the initramfs have a mountpoint with a real capacity
>> (capacity = RAM capacity ?)
>>
>> Thanks for any help
>>
>> Yves
>>
>>
>> -- 
>> http://linuxfromscratch.org/mailman/listinfo/lfs-chat
>> FAQ: http://www.linuxfromscratch.org/faq/
>> Unsubscribe: See the above information page
>>
>>     
>
>   
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to