LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-08-2004, 06:10 AM   #1
cyril
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 initramfs...it 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
 
  


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


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