[Clonezilla-live] screen capture
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: Paul V. A. <van...@ho...> - 2011-03-31 01:05:06
|
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 -- Paul Van Allsburg Scientific Computing Specialist Natural Sciences Division, Hope College 35 E. 12th St. Holland, Michigan 49423 616...@ho... http://www.hope.edu/academic/csm/ |