LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-26-2007, 10:59 AM   #1
tsunami_imcool
Member
 
Registered: Mar 2005
Distribution: Debian
Posts: 80

Rep: Reputation: 15
Needed files for booting linux


What are the needed files for booting Linux? All that I know is that I need the kernel, the fstab setup right, and lilo configured. but when i'm tryin to build linux myself, it doesnt start up right. so i need to find out some more information, but i can't seem to find a good spot to find this info. i'm really shootin for a linux os thats real small, and just very very basic. and i'd rather do it myself.
 
Old 01-26-2007, 11:09 AM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
The booting files, once built, are all integrated with the Linux. You only need to learn how to use them.

Some typical commands are available in the last link of my signature.

If the Linux is complete you only need a boot loader, a correct /etc/fstab and a kernel to fire up a Linux. The boot loader itself can be just a bootable Grub floppy.

You can boot up a Linux without Lilo or Grub installed inside.
 
Old 01-26-2007, 11:14 AM   #3
tsunami_imcool
Member
 
Registered: Mar 2005
Distribution: Debian
Posts: 80

Original Poster
Rep: Reputation: 15
i suppose my question is then, how do i make linux complete. say if i was making linux from scratch, (not with the LFS stuff) and i needed to boot up, what do i need to have? how do i get the console started, and all, cause it just fails there.
 
Old 01-26-2007, 12:22 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
My response would be

(1) Make a Grub bootable floppy.

(2) follow Stage 2 of Task G2.

You should know the partition where the kernel is held. Use the "kernel" command to load the kernel and "initrd" command to boot randisk file if used. Last line is to give green light to Grub by the "boot" command.
 
Old 01-26-2007, 12:31 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
It seems you are a candidate for Linux from Scratch (LFS).
http://www.linuxfromscratch.org/

Booting, in this context, is ambiguous. I common usage, booting includes initialization, which occurs after the kernel has taken control. I think booting was originally intended to describe the process of getting the kernel loaded and running.

Watch what happens in normal startup: You will see grub messages and then something like: "OK, booting the kernel" At this point the kernel is in charge. The next thing you see is the kernel calling init, which in turn uses inittab to tell it what it needs to do next. (When the kernel takes over, it has already mounted the filesystem--other wise it could not find init..)

You can trace thru all the init routines to see what else is called. You can also peruse the system logs of a system that has just started up.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are all files in MPlayer essential Linux package needed ? samael26 Linux - Software 3 01-08-2005 10:51 AM
An Imperative Solution Needed - Configuring Grub For Linux/XP Dual Booting CAL Linux - Newbie 3 04-05-2004 10:41 AM
Help needed : Dual booting of Linux 8.0 after system upgrade akroy Linux - General 1 11-08-2003 12:01 AM
Urgent booting help needed thespear33 Linux - General 1 07-21-2003 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:45 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