LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 02-11-2017, 09:50 AM   #1
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Rep: Reputation: 138Reputation: 138
Tradition Linux using vanilla kernel, Init and busybox only.


Hello,

UNIX has been regarded as the mother of most of the operating systems. Some of the popular members of this family Include :
- System V Release 4(SVR4) developed by AT&T.
- 4.4 BSD From university of California
- AIX from IBM.
- HP-UX from Hewlett-Packard.
- Solaris from Sun Microsystems.
For those who are still confused between Linux being an OS or kernel, Linux in true sense as written by Linus was a kernel that was written by referring to book on Unix internals (Though the Linux kernel has adopted good features from many other Unix like kernels too) while the commercially available distributions that contain utilities like graphical desktop, text editors, compilers etc on top of the Linux kernel are complete operating systems. Linux is a free software (Url 1,Url 2).

Since it is a free software, there are several possibilities considering its developement:
- Point 1: Do you really have to stop using X11 and System V for something else? Of course, Linux and free softwares have to evolve. Drop X11, drop System V! Of course.
- Point 2: However, for non-commercial research purposes, you can keep the Unix tradition and you can still use X11, GCC and vanilla Linux kernel.


Does having a bare Linux not so much nicer than having a Systemd Debian? Do you wish you have a "pure Linux" based on any distribution? In other words, Linux without any distribution. http://unix.stackexchange.com/questi...y-distribution
Making your own system, means to start first with the kernel. The fist thing is to get the vanilla kernel. www.kernel.org.
Classical kernel compiling, make menuconfig , make , makes modules
After getting the vmlinuz, create the initrd.img. Boot it with syslinux or grub, and set it to use Init. You may use the minimal busybox to later build your linux box: http://www.linuxjournal.com/article/4335
The method is fully described here:
https://revcode.wordpress.com/2012/0...-linux-distro/

Best regards and have fun running your own Linux distro!

Last edited by patrick295767; 02-12-2017 at 02:16 AM.
 
Old 02-22-2017, 02:09 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,573
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Why bother with an initrd? That's really only necessary for a stock kernel. If you're going to build your own, you can build in the root filesystem and boot directly to the hard drive.
 
Old 02-23-2017, 07:11 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
You can, with Gentoo, build your Linux straight from source-code (thus, optimized for your CPU type), omit the initrd step altogether (since you know exactly what drivers you need), and configure it exactly the way that you like. Up to and including the init-process.

I had a machine, originally sold with Windows-95 on it when that was new, which could boot into Gentoo Linux in six seconds flat. And, it was fast!

When people carp about "the new ways of doing things," however, I think that they tend to forget that there are millions of Linux installations in service all over the world, and that sometimes a company has to deal with a stable of hundreds or even thousands of them. Suddenly this becomes a very big system infrastructure management problem. Some of the basic things that "systemd" introduced, such as daemons which could communicate with one another and a scheduling system that really understands dependencies among them, really are improvements that are especially important when you've got a lot of machines.

The much-maligned Microsoft Windows system also has a lot of infrastructure-management kit built into it, for the same basic reasons. Or, look at what Red Hat does, deploying an OS that some might say is based on Linux.

Last edited by sundialsvcs; 02-23-2017 at 07:14 AM.
 
Old 02-24-2017, 06:11 AM   #4
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
>#2: +1! Maybe webresearch: localyesconfig (tinyconfig probably UNuse-ably minimal)
http://unix.stackexchange.com/questi...of-code/224117 (TL;dr!)

Last edited by Jjanel; 03-09-2017 at 03:40 AM.
 
Old 02-24-2017, 04:26 PM   #5
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Original Poster
Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by sundialsvcs View Post
I had a machine, originally sold with Windows-95 on it when that was new, which could boot into Gentoo Linux in six seconds flat. And, it was fast!
I tried gentoo long time ago, and what you write is actually what I need. Something very fast, however, it won't work much since the today's browser, ... xorg needs pretty a lot and are very demanding on hardware.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Busybox init for LFS stoat Linux From Scratch 34 02-01-2015 08:59 AM
2.4.36.3: busybox's Init hangs at "Freeing unused kernel memory: " tilman1 Linux - Kernel 6 06-16-2008 02:01 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration