[BusyBox] ramdisk howto

Jim Thompson jim at netgate.com
Sat Sep 25 11:09:52 UTC 2004


Since you asked about U-boot, and the instructions were for CF, the rest 
of what you need to know is that once you've put the kernel and initrd 
(ramdisk) into the flash, you'll want to use the "bootm" command in u-boot

http://www.denx.de/twiki/bin/view/DULG/UBootCmdGroupExec#Section_5.9.4.2.


Frank wrote:
> Currently, I am developing on an NFS mounted file system. I want
> to put my kernel and BusyBox into flash (initrd) boot the kernel
> directly from my 16MB flash. I was asking how to go about
> putting BusyBox rootfile system in flash and have my bootloader
> (u-boot) boot the kernel along with the rootfile system. My
> question was: "How do I take the BusyBox root filesystem that is
> mounted across NFS and make into inird image that I cn put into
> my on board flash along with the kerneal and boot from that".
> 
> --- Luke Albers <gtg940r at mail.gatech.edu> wrote:
> 
> 
>>sorry, I have missed most of this.
>>
>>what exactly are you trying to do?  I think I may be able to
>>help
>>
>>
>>On Fri, 2004-09-24 at 13:01, Frank wrote:
>>
>>>Thanks for the info,
>>>Looks like I've got some reaserch to do as well...
>>>
>>>--- Rob Landley <rob at landley.net> wrote:
>>>
>>>
>>>>On Thursday 23 September 2004 20:29, Frank wrote:
>>>>
>>>>>I am now booting my kernel with BusyBox root filesystem
>>
>>over
>>
>>>>>NFS.
>>>>>I want to create a ramdisk image and boot from flash,
>>
>>but
>>
>>>>can't
>>>>
>>>>>seem to find a target in the makefile to do this. is
>>
>>ther a
>>
>>>>FAQ
>>>>
>>>>>or some documentation for BusyBox that expalins the
>>>>
>>>>procedure to
>>>>
>>>>>create a bootable BusyBox ram disk image?
>>>>
>>>>No, but I spent a week or so figuring it out once, and the
>>>>appropriate magic 
>>>>is buried in this script (which among other things, makes
>>
>>a
>>
>>>>2.88 floppy boot 
>>>>image to create a bootable cd-rom iso with, without
>>
>>needing a
>>
>>>>physical 
>>>>floppy).
>>>>
>>>>Not a clue how to do it with grub.  lilo lets you lie to
>>
>>it
>>
>>>>about the device 
>>>>geometry, and thus say that /dev/loop? has cylinders,
>>
>>heads
>>
>>>>and sectors.  
>>>>Grub doesn't (that I've found yet, anyway)...
>>>>
>>>>Rob
>>>>-- 
>>>>www.linucon.org: Linux Expo and Science Fiction Convention
>>>>October 8-10, 2004 in Austin Texas.  (I'm the con chair.)
>>>>
>>>
>>>>ATTACHMENT part 2 application/x-gzip name=make-iso.sh.gz
>>>
>>>
>>>
>>>
>>>		
>>>__________________________________
>>>Do you Yahoo!?
>>>Yahoo! Mail - 50x more storage than other providers!
>>>http://promotions.yahoo.com/new_mail
>>>
>>>
>>
> ______________________________________________________________________
> 
>>>_______________________________________________
>>>busybox mailing list
>>>busybox at mail.busybox.net
>>>http://busybox.net/mailman/listinfo/busybox
>>
>>-- 
>>Luke Albers
>>Georgia Institute of Technology, Electrical Engineering
>>Email:  gtg940r at mail.gatech.edu
>>Web:    www.lukealbers.com
>>
>>
>>
>>>_______________________________________________
>>
>>busybox mailing list
>>busybox at mail.busybox.net
>>http://busybox.net/mailman/listinfo/busybox
>>
> 
> 
> 
> 
> 		
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox




More information about the busybox mailing list