You are not logged in.

#1 2014-09-26 23:40:10

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

[Solved] Boot image build.. compressed root dir, and to RAM, possible?

I would like to have a cd boot image (that I am building) first:  uncompress a root directory; two, load that root directory to memory; and last, boot to that root directory.

For the compressed root directory, I understand some possibilities may be:

  • squashfs

  • initial RAM disk

For putting the root directory to memory, some possibilities may be:

  • memdisk

  • initial RAM disk

For squashfs, there is a package called "mkinitcpio-squashfs-git" that I have yet to try.  For "memdisk" the syslinux wiki mentions that this has to be a DOS image (so I think this is out).  An initial RAM disk looks promising but how to implement it... I have no idea.   It looks attractive but looks it may also be task-intensive??!!  From what I've seen on that option it would take merging the mkinitcpio image with a regular fully-functioning root directory.  Anybody know about this?  Any ideas?

Last edited by Gen2ly (2014-10-06 21:06:31)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#2 2014-10-06 21:05:21

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: [Solved] Boot image build.. compressed root dir, and to RAM, possible?

I got this to work my unsquashing an image directly to new_root.  I had to build a hook for this.

Last edited by Gen2ly (2014-10-06 21:05:46)


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

Board footer

Powered by FluxBB