Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-08-2004, 05:10 AM   #1
LQ Newbie
Registered: Oct 2003
Location: France
Distribution: red-hat 9.0
Posts: 1

Rep: Reputation: 0
Lightbulb Trying to understand how a boot loader handles initrd/initramfs/ramdisk ...

Hi all,

I'm currently porting linux to a proprietary board, ARM based, which
already runs a -again- proprietayre monitor. Under this monitor,
to avoid re-doing everything, i've also written a linux boot loader,
which starts to work.

My machine is diskless, screen less, ... only a serial line for the moment.
I'm using kernel 2.6.4, cross-compiled on an intel linux box.

I encounter a few troubles with initrd and related stuff .

What i want to do is create my own file system (root) and make a ramdisk
with it, and use it right after booting with no other operation.

I've the gzipped ext2 image of this directory/file tree flashed on my board,
so i though it would be a good candidate to give it as an initrd image,
but i do not succeed yet to make it work and do not understand a few things :
  • I've setup a TAG list with an ATAG_INITRD2 for the initrd, but i don't know
    if this should point to a compressed or uncompressed ext2 image ?
  • I do not understand if the ATAG_RAMDISK tag is related to the
    initrd stuff, or another ramdisk issue ?
  • When i boot, i got :

checking if image is isn't (ungzip failed); looks like an initrd

But i don't even now what an initramfs is !?

Seems to be a new stuff in 2.6 kernel, but where is there a documentation on that ?
  • Last, for now, what "root=..." command should i pass to the kernel ?

Thanks for any help, doc , links on these


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
Linux initrd (ramdisk) dubi Linux - Software 1 07-26-2005 10:25 AM
how to use initrd for making RAMdisk Boudewijn Debian 1 12-08-2004 03:34 AM
Root FileSystem from RamDisk/InitRD winklmj Linux - Newbie 1 11-24-2004 11:16 PM
waiting for checking for initramfs, SLOW boot Rocker Linux - General 1 09-25-2004 07:47 AM
How do I make my shared loader ( understand LD_PRELOAD? ic3 Slackware 1 11-02-2003 06:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:29 AM.

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