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

Replacing files in a live system



I'm using live-build 3.0~a45-1 under Ubuntu 11.10 to create a live
Squeeze system on a USB drive. I have a file (~500MB) that I want on
the final image, so at the moment I just put it in
config/includes.chroot/opt/stuff and it gets bundled in when I build
the image. This was fine when the image changed more often than this
file, but now I want to update the file without rebuilding the whole
image. Ideally it would sit on a second partition on the USB drive
that was read-only when mounted by the live system.

I can't just use a "live-rw" partition with the "persist" option to
live-boot, because I don't want any changes in the live system
accidentally persisted. The most recent version of live-boot has an
option "persistent-read-only" which would get around this, that this
is not available in the version installed on a Squeeze system
(2.0.15-1). Is there any way I can get this kind of read-only
filesystem overlay mechanism on a Squeeze live image?

Cheers,
Jason


Reply to: