This isn't really sugar specific, and Tomeu suggested that this might be more apropos for this list.

---------- Forwarded message ----------
From: Luke Faraone <luke@faraone.cc>
Date: Sat, Apr 18, 2009 at 3:02 PM
Subject: Mounting SoaS images
To: Sugar Devel <sugar-devel@lists.sugarlabs.org>


Hi,

I'm currently trying to develop SDM, a utility which will run on school lab computers and automaticaly detect when USB flash drives with SoaS are plugged in. The idea is that in a lab we don't want to have to fiddle with the BIOS, and want something like what the boothelper is doing but on the computers themselves.

Basically, we'd have a local copy of Fedora on the lab computers and would simply use the /home directories on the SoaS sticks. In order to do that, we need to mount the filesystem created by liveUSB (which contains /home). LiveUSB used and still uses persistant LVM overlays/snapshots, and based on my current understanding it is very difficult to mount a LVM snapshot outside of the host system.

The LiveUSB script has an option to create a normal home.img file, but this option is not exposed in the Windows GUI. The end result is that unless this option is used, the home dirtectory is inaccessable to SDM.

Is there something we can do to fix this, or am I missing something about how LVM works?

--
Luke Faraone
http://luke.faraone.cc



--
Luke Faraone
http://luke.faraone.cc