Re: initramfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wakko Warner wrote:
> Lennart Sorensen wrote:
> > I didn't know you could use CPIO archives as initrd images.  I have used
> > gzip'd ext2 and cramfs (on Debian kernels only so far).  Actually I
> > didn't know cpio was even considered a filesystem (and hence would be
> > difficult to mount at all).
> 
> Apparently, initrd is just a name and a buffer.  Whatever it does with it is
> a different story.  If the buffer looks like a cpio archive, it mounts tmpfs
> as / and populates it from the archive.  No ramdisk driver, no filesystem
> driver required.

Unfortunately, I noticed that the ramdisk driver has to be compiled in (I
didn't try w/o initrd support).  Atleast I dropped ext2 from my compiled in
list (NO filesystems in my kernel!)

Now it would be nice if I could remove rd from the compiled in list as well
(even thought it would only save a few K)

> Unfortunately for me, it doesn't work.  I'm still trying to figure out how
> it works.

As I stated earlier it now works.  error with my archive.

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux