Re: stripping down lfs
I built a customized (somewhat stripped, then other things added) LFS back in April, 2009. It's based on the 6.3 LFS live CD with packages updated to the 6.4 book (current at the time). The LFS live CD is a very good starting point. I haven't explored other (even more stripped) alternatives like tinycore. Here's what I posted about it the last time this question was raised: http://linuxfromscratch.org/pipermail/lfs-support/2009-November/036881.html You can fetch my build it sources (that is, the updated makefiles, my notes, etc.) from http://msbit.com/osdv/osdvlfs.tgz -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: stripping down lfs
thanks robert, thats helpful On Thu, Jun 24, 2010 at 9:44 AM, Robert A. Lerche r...@msbit.com wrote: I built a customized (somewhat stripped, then other things added) LFS back in April, 2009. It's based on the 6.3 LFS live CD with packages updated to the 6.4 book (current at the time). The LFS live CD is a very good starting point. I haven't explored other (even more stripped) alternatives like tinycore. Here's what I posted about it the last time this question was raised: http://linuxfromscratch.org/pipermail/lfs-support/2009-November/036881.html You can fetch my build it sources (that is, the updated makefiles, my notes, etc.) from http://msbit.com/osdv/osdvlfs.tgz -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
stripping down lfs
hey all...haven't been here since 2002 lolz. I'm hoping to build a stripped down LFS to use on a livecd that will do one thing only: present the user with a simple scripted text menu, and then (based on the menu input) .dd an image to a usb thumb drive. That's it. boots, runs the menu, dds the chosen image to USB, then reboots (the boot manager I'm using gives the option to boot to USB drive). My question: chapter six lists upwards to 60 packages...I'm sure I won't need many if not most of them in the final product. What is the smartest way to determine what is needed? Do I need to build complete LFS and then strip, or can I intelligently determine what i need to build, build its stripped down and go? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: stripping down lfs
Eric Miller wrote: hey all...haven't been here since 2002 lolz. I'm hoping to build a stripped down LFS to use on a livecd that will do one thing only: present the user with a simple scripted text menu, and then (based on the menu input) .dd an image to a usb thumb drive. That's it. boots, runs the menu, dds the chosen image to USB, then reboots (the boot manager I'm using gives the option to boot to USB drive). My question: chapter six lists upwards to 60 packages...I'm sure I won't need many if not most of them in the final product. What is the smartest way to determine what is needed? Do I need to build complete LFS and then strip, or can I intelligently determine what i need to build, build its stripped down and go? If you want a really small LFS, I suggest building and stripping. For instance, gcc is not needed after the build is complete, but is is certainly needed to build everything else. Also, LFS is not designed to be the smallest possible system. There are things like busybox, uclibc, nash, etc that can reduce size considerably. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: stripping down lfs
Eric Miller wrote: hey all...haven't been here since 2002 lolz. I'm hoping to build a stripped down LFS to use on a livecd that will do one thing only: present the user with a simple scripted text menu, and then (based on the menu input) .dd an image to a usb thumb drive. You might consider using busybox. You could unmaster the LiveCD, and then strip the image down to just what you need, install busybox, then remaster it. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: stripping down lfs
im not familiar with busybox...it doesn't look like a stand alone distro, but rather a rollup of basic linux essentials in one package. so, you guys are suggesting that i put busybox on a stripped down LFS system and rock out with that? yes the .dd images (there are two of them to choose from) will be on the live CD as well. I still am unclear on how to determine smartly what I can strip. I'm building another LFS now to use as a base On Wed, Jun 23, 2010 at 7:55 PM, Mike McCarty mike.mcca...@sbcglobal.netwrote: Eric Miller wrote: hey all...haven't been here since 2002 lolz. I'm hoping to build a stripped down LFS to use on a livecd that will do one thing only: present the user with a simple scripted text menu, and then (based on the menu input) .dd an image to a usb thumb drive. You might consider using busybox. You could unmaster the LiveCD, and then strip the image down to just what you need, install busybox, then remaster it. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: stripping down lfs
On Wednesday 23 June 2010 19:25:52 Eric Miller wrote: hey all...haven't been here since 2002 lolz. I'm hoping to build a stripped down LFS to use on a livecd that will do one thing only: present the user with a simple scripted text menu, and then (based on the menu input) .dd an image to a usb thumb drive. ... My question: chapter six lists upwards to 60 packages...I'm sure I won't need many if not most of them in the final product. What is the smartest way to determine what is needed? Do I need to build complete LFS and then strip, or can I intelligently determine what i need to build, build its stripped down and go? I believe LFS produces a basic, fairly simple system that can build itself. I would suggest building LFS and then including on the live CD only those parts you need. For what you want to do, busybox should serve well. Udev would be good to have to find the thumb drive. Your initramfs can contain the entire live system unless your images are on the CD/DVD as well (no need to leave early boot). Your menu script can serve as init. You might want terminfo and ncurses to make a pretty ANSI 3.64 menu. Include the dependencies of those things and you should be about good to go. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: stripping down lfs
checking out tinycore nowlooks very promising, thanks. On Wed, Jun 23, 2010 at 8:51 PM, Smartboy smartboyath...@gmail.com wrote: On Wed, Jun 23, 2010 at 5:13 PM, Eric Miller miller.eri...@gmail.com wrote: im not familiar with busybox...it doesn't look like a stand alone distro, but rather a rollup of basic linux essentials in one package. so, you guys are suggesting that i put busybox on a stripped down LFS system and rock out with that? yes the .dd images (there are two of them to choose from) will be on the live CD as well. I still am unclear on how to determine smartly what I can strip. I'm building another LFS now to use as a base On Wed, Jun 23, 2010 at 7:55 PM, Mike McCarty mike.mcca...@sbcglobal.net wrote: Eric Miller wrote: hey all...haven't been here since 2002 lolz. I'm hoping to build a stripped down LFS to use on a livecd that will do one thing only: present the user with a simple scripted text menu, and then (based on the menu input) .dd an image to a usb thumb drive. You might consider using busybox. You could unmaster the LiveCD, and then strip the image down to just what you need, install busybox, then remaster it. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page I would actually suggest looking at the tinycore linux project to see if you can find a list of packages it includes. They managed to create a minimal CLI system which only takes up 10MBs of space. In fact, this might be a faster approach since they have good docs on how to modify it to do what you want. :) Smartboy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page