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

Re: Question regarding kernel policy: Why ext2 as module?



On Sun, Jul 18, 2004 at 08:58:00PM +1000, Andree Leidenfrost wrote:
> > Could it be possible to boot into a minimal initrd, as one generated by
> > mkinitrd for example, and then use this to mount the larger ramdisk into
> > one of the /dev/ram devices or something, and then pivot_root into this ? 
> 
> The chief problem seems to be accessing the image for the larger
> ramdisk: If I want to mount it, it needs to be accessible as a file by
> mount. Therefore it needs to be part of the initial (cramfs) initrd
> image. This in turn is where I have a problem because cramfs only
> supports files up to 16MB. Maybe I'm overlooking something very obvious
> here...
> 
You can embed the starndard cramfs into a cpio file along with other
files and use an initramfs with 2.6. All stuff is accessible at
user-space level then.

-- 
Francesco P. Lovergine



Reply to: