Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a USB hard disk. I want to run a simple application on Linux. Kinldy tell me the tutorial links where i can find info on how to build the bootloader, kernel and roof file system from scratch into the USB hard disk. Also tell me the tutorials on how to boot linux from USB hard disk once the system is ready.

share|improve this question
add comment

migrated from stackoverflow.com Nov 16 '10 at 14:45

This question came from our site for professional and enthusiast programmers.

3 Answers

I also recommend LFS. I've built it many times before, and it is insanely fast. I built a CLI rendering engine, and it was 100MB (unstripped; I could get it to around 10-20, but I'm too lazy). It's a pain to build, though, as it takes around 8 hours on my computer.

The nice thing is that you can customize anything to fit your needs. I've heard of 3 MB webservers being built with LFS (the link is in the post above).

Good luck!

share|improve this answer
    
+1 for LFS. Not such a pain anymore, as they have a live CD that helps you prebuild a chrooted environment. Documents talk you through it all. No other way to really learn about Linux. –  Zayne S Halsall Nov 20 '10 at 9:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.