Re: Initramfs and root space

"[email protected]" <[email protected]>
Newsgroups gmane.linux.lfs.general
Message-ID <22055268.103151382536843917.JavaMail.defaultUser@defaultHost>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.