LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   "No space" when creating LFS in USB, What can I solve that problem (http://www.linuxquestions.org/questions/linux-from-scratch-13/no-space-when-creating-lfs-in-usb-what-can-i-solve-that-problem-562347/)

valpa 06-16-2007 09:33 PM

"No space" when creating LFS in USB, What can I solve that problem
 
My USB flash disk only has 32M, and I want to create a USB bootable LFS. And I do not want to use any disk in my host computer (because they are not mine).

When I extract the source code, "No space left" error stops me. How can I solve that problem without using the harddisk in computer.

PatrickNew 06-17-2007 12:44 AM

That's a tough one. How much memory does the host computer have? You may have some success attempting to create a ram drive and extracting to that. You'll probably want to look into tmpfs for that. Would the owner of the computer mind if the hard disc was used only temporarily? As I recall from my experiment with LFS, the extracted tarball wound up being a lot larger than the final product.

Ultimately, if the host computer is modern, a ramdrive is probably the best option.

valpa 06-20-2007 05:25 AM

Quote:

Originally Posted by PatrickNew
That's a tough one. How much memory does the host computer have? You may have some success attempting to create a ram drive and extracting to that. You'll probably want to look into tmpfs for that. Would the owner of the computer mind if the hard disc was used only temporarily? As I recall from my experiment with LFS, the extracted tarball wound up being a lot larger than the final product.

Ultimately, if the host computer is modern, a ramdrive is probably the best option.

Can I pass parameters when booting from Live-CD? I want to made my ramdisk 512M, but I got 16 ram dev in /dev/ram* and each of them only 4M.

PatrickNew 06-20-2007 01:18 PM

Hrm, I'm not sure. Try looking at the documentation on the LiveCD.


All times are GMT -5. The time now is 02:54 PM.