If you are familiar with command "screen", you can use that to capture that.
Or, just use your camera to take a photo :)

Steven.

On 03/31/2011 08:36 AM, Paul Van Allsburg wrote:
> Question - How can I capture the ocs_live_run screen output in a text file? 
> I've tried using the 'script' command but the 
> restore screen outputs a lot of graphical characters into the text file.  I 
> like the script.txt output for reporting purposes 
> but it's messy i the middle.
> 
> thanks!
> Paul
> 
> 
> from release clonezilla-live-1.2.6-59-amd64.zip
> 
> label linux
> MENU LABEL Clonezilla Live
> kernel nbi_img/vmlinuz
> append initrd=nbi_img/initrd.img boot=live live-config noswap nolocales 
> noprompt edd=on nomodeset ocs_prerun="mount -t nfs 
> 192.168.2.102:/home /mnt" ocs_prerun1="mount --bind /mnt/partimag 
> /home/partimag" ocs_live_run="bash /home/partimag/clone.bash" 
> ocs_live_batch="yes" ocs_live_extra_param="" ocs_live_keymap="NONE" 
> ocs_lang="en_US.UTF-8" ocs_daemonon="ssh" vga=788 nosplash 
> fetch=tftp://192.168.1.102/nbi_img/filesystem.squashfs
> 
> [root@mu3ctest partimag]# cat /home/partimag/clone.bash
> #!/bin/sh
> script -c /home/partimag/clonescript.bash     /home/partimag/script.txt
> exit
> 
> [root@mu3ctest partimag]# cat /home/partimag/clonescript.bash
> #!/bin/sh
> /opt/drbl/sbin/ocs-sr -g auto -e1 auto -e2 -b -r -j2 -p true restoredisk 
> compute-2011-03-29-11-img sda
> exit
> 
> 

-- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Clonezilla-live mailing list
Clonezilla-live@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clonezilla-live

Reply via email to