LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-25-2005, 10:53 AM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
what happens when a LiveCD boots up?


Hello

I'm in the process of making a live cd. I'm making the cd etc and I would just like some pointers about what each file does.

I understand that the initrd file contains the root directory which then gets loaded onto /dev/ram0.

How big should this be? MOst things I have read say that it should be only 4mb.

What happens if the root directory is larger than 4mb (which it will be). Surely I don't mount 500mb into my RAM! that would be a waste.

Could someone please explain to me what happens when a live cd boots (normally). That is, what happens to the initrd file, where does the rest of the / (root) directory live? WHat hsould I really put in the initrd file? (at the moment I have busybox and tinylogin)


Many thanks in advance
hamish
 
Old 03-25-2005, 12:48 PM   #2
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
I am pretty sure each live CD is slightly different than the other.
Typically they will mount hte "remaining" files from the CD under some mount point on the mem-fs.

you have think of initrd as the file-system (not simply a file that gets loaded into /dev/mem ..)

Size depends on a lot of things .. but 4M seems small, most kernels are about 2.5M .. I would say 16-32 M woule be quiet generious.

Why don't you download knoppix/mepis and a few others and run them .. getting these numbers out will be trivial ..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LiveCD Mercurius Slackware 2 01-10-2006 11:01 AM
have livecd of 'Linux Gentoo' how do i get past the "livecd root #" command line? randell6564 Linux - Distributions 11 11-20-2005 01:31 PM
LiveCD? rleesBSD Linux - Distributions 4 11-17-2005 08:20 AM
Which Boots First ? dyserq Linux - Newbie 12 08-21-2005 02:41 PM
dual boots................rather have rubber boots metal_monster Linux - Newbie 1 01-13-2004 01:24 PM


All times are GMT -5. The time now is 11:10 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration