tor, 14,.04.2005 kl. 14.02 +0000, skrev Joe Smith:
> Is there readily availble or does anyone have a boot image that will boot
> to a command prompt ready to run software imaging on a local hard disk?

Have a look at http://www.partimage.org/

Or:

More LTSP-oriented, I did do something myself. It might not be what you
end up using, as it is in a somewhat crude state, only supposed to work
for my own purposes. It does work though. Note: The rest of this post is
somewhat technical, but that would be needed to give a descent
description.

The main problem with the solution is that the default LTSP kernel
doesn't support DMA for disks, so disk transfer is slow. Compiling a new
LTSP kernel should fix this (mail me one if you do). Otherwise it works
fine. Uses SSH for uploading/downloading the disk images.

Main principle: From any LTSP shell, you can do:

modprobe ide-disk
dd if=/dev/hda1 | gzip -c - | ssh -l imagesaccount server "dd
of=/path/on/server/image23.img.gz"

The rest is all about wrapping this up in a user interface. I did this
through some dirty scripts.

It isn't really in a distributable state though. It is tailored for our
particular setup, all messages are in Norwegian, and the implementation
is a mixture of one client-side BASH script, one server-side BASH
script, and one server-side python script. I now have more knowledge
about shell scripting and should have merged the two bash scripts to one
client side script etc., but this is what I currently have and use.
Conclusion: It is not ready made, you must get your hands dirty with
scripting to use it, but at least it might give you a starting point.

To install: Unpack somewhere on server, copy diskimage.localside to
the /opt/ltsp/i386/usr/bin/diskimage. Then configure lts.conf to allow a
shell screen, and use the diskimage command to launch. (to launch
automatically, call it in a screen.d script)

Location: http://fredtun.no/ltsp/diskimage.tar.bz2



// Dag Sverre 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to