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

Re: Add a partition into the binary image



On Fri, Jan 16, 2009 at 02:38:33PM +0100, Cyril Jaquier wrote:
> Hi all,
> 
> I'm trying to build a live system for an embedded computer with a CF 
> card. I would like to use the persistence feature to have a writable 
> root filesystem.
> 
> I would like to create a writable filesystem in a file (ext2) and have 
> this file "appended" to the final binary image.
> 
> Is it possible to add an additional partition to the final binary image?

Since you might want to use the image on different sized devices, it
does not make sense to automate the creating of a binary image with a
writable ext2 filesystem on it.

For a particular device, such a filesystem can easily be created, see

http://lists.debian.org/debian-live/2008/11/msg00022.html

For the unlikely event that you have a large number of devices of the
same size and want to put the resulting combination of partitions (FAT
for the live part and ext2 for the writable partition), you should
apply the procedure outlined in the mail referenced above once and
then copy the resulting image to all the other devices.

-- 
Hans Ekbrand (http://sociologi.cjb.net) <hans@sociologi.cjb.net>
Q. What is that strange attachment in this mail?
A. My digital signature, see www.gnupg.org for info on how you could
   use it to ensure that this mail is from me and has not been
   altered on the way to you.

Attachment: signature.asc
Description: Digital signature


Reply to: