Loading RAMdisk from and HDD partition

From: FS (sonnichs_at_berkshire.net)
Date: 08/21/03


Date: 21 Aug 2003 09:05:02 -0700

I want to use my desktop PC for embedded Linux development. It
contains a hard-drive with 4 primary parititions.

    My goal is to set up LILO and the kernel such that the kernel will
load a Root File System (RFS) image into RAMdisk image of the Root
File System (RFS) upon completion startup.
   I assume that this is similar to making a bootup floppy. In the
latter case one assumes that the RFS image is at sector zero of the
root floppy. For the case of an HDD, if I place an RFS image on hda3,
and boot up from hda with the usual kernel options for RAMdisk and
root (ramdisk_start-xxxxx, load_ramdisk=1, root=/dev/ram0), the kernel
cannot locate the RFS.
  I am guessing that I need so specify an offset calulated from the
beginning of the HDD, not of the parition? Not sure if this is correct
and how to find the value of the offset.
   Has anyone done this kind of setup? Can you point me to the proper
kernel boot parms and method for offset determination?

Thank You
Fritz
Woods Hole Oceanographic



Relevant Pages

  • Re: Loading RAMdisk from and HDD partition
    ... > My goal is to set up LILO and the kernel such that the kernel will ... > load a Root File System (RFS) image into RAMdisk image of the Root File ...
    (comp.os.linux.embedded)
  • [9fans] 8th edition RFS docs
    ... I am looking for papers describing the RFS file system, ... "RFS Architectural Overview" ... "A look at the ninth edition network file system" ...
    (comp.os.plan9)
  • Re: which file system to use
    ... like ext3 vs rfs or jfs ... ext3 doesnt have or the reverse way. ... But no one has really commented on the available file system maintenance and repair utilities. ... I prefer to have a balance of stability and performance--but I hold stability in much higher regard than performance. ...
    (Ubuntu)