LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Tiny linux with busybox on HDD (https://www.linuxquestions.org/questions/linux-from-scratch-13/tiny-linux-with-busybox-on-hdd-850687/)

lopezimg 12-16-2010 10:58 AM

Tiny linux with busybox on HDD
 
Hello!

Where I can find guide, which will teach me how to build possibly smallest linux distribution with busybox on HDD. I have found:

http://www.linuxjournal.com/article/4395

But it is for floppy disk...

Bye!

gajbooks 12-16-2010 11:27 AM

i would just use microcore if the computer is networked, there are some tutorials on how to install it on a hard drive using GRUB. Otherwise i have no idea.

TobiSGD 12-16-2010 11:30 AM

That article is from 2001, today it will be really hard, if not impossible, to get such a small system. But you can try Tinycore Linux, or its smaller brother Microcore (without GUI), or maybe the base flavor of Slitaz (also without GUI).

Edit: The Slitaz Scratchbook will show you how to make your own (really minimal) system.

lopezimg 12-16-2010 02:22 PM

Quote:

Originally Posted by TobiSGD (Post 4193740)
That article is from 2001, today it will be really hard, if not impossible, to get such a small system. But you can try Tinycore Linux, or its smaller brother Microcore (without GUI), or maybe the base flavor of Slitaz (also without GUI).

Edit: The Slitaz Scratchbook will show you how to make your own (really minimal) system.

Hello again. This tutorial is for livecd. I need something to be builded from scratch on my hdd.

EDIT: Wow! This looks just like guide "how to make your own Micro core Linux" but how to move it on hdd?

TobiSGD 12-16-2010 02:26 PM

You can build it on your hdd and use any bootloader to boot it, you just need the kernel image and the initrd. It will boot into a minimal system that runs totaly in RAM.

lopezimg 12-16-2010 04:00 PM

Thank you, that guide is great, but is there any way to stop loading that system to RAM and just put the entire root file system on hd?

TobiSGD 12-16-2010 04:09 PM

I am not sure, but it should work to copy the contents of the initrd to a partition and the give an option to the kernel like root=/dev/sda1 or something. Make sure that you choose a filesystem that is supported by your kernel, I think ext2 should work every time.


All times are GMT -5. The time now is 07:24 PM.