Thu Apr 04, 2013 3:53 pm
These scripts snapshot and install were developed by meandean and fsmithred of the Refracta forum.
Unlike Remastersys when your running the live DVD any changes you make such as adding/removing apps will then be included/removed when you install your Debian OS.
The .deb files you need are in a archive here http://lin.me.uk/refracta/refracta-yad-13-03-31.tar.gz
Please install the base files before the GUI ones and which ever Yad 32 bit or 64 bit you need.
These video files are compressed using .7z but renamed as .zip files as browsers seem to handle the .zip extension better, there is no need to rename them.
Video of taking a snapshot http://lin.me.uk/solydx/refracta/refracta-snapshot.mp4.zip
Video of installing a snapshot ISO http://lin.me.uk/solydx/refracta/refracta-install.mp4.zip
I've been using these scripts for quite a while without any problems at all.
Please unmount any network drives etc or add them to the excludes before taking a snapshot.
Thu Apr 04, 2013 9:24 pm
Fri Apr 05, 2013 1:51 pm
I intended to include a link but forgot.It would probably be good if you included a link to the ibiblio home page so that people can find newer versions when I upload them
05 Apr 2013 11:33
Ladies and gentlemen,
On 6 April 2013 at 12:00 UTC we will synchronize the production repositories.
Those who haven't upgraded from the testing repositories will have about 250MB of packages to download.
We'll make the RC iso's available, after the synchronization, and we confirmed that the synchronization was successful.
it's still possible to run the scripts with zenity, in case someone doesn't want to install yad.
Fri Apr 05, 2013 2:35 pm
Sat Apr 06, 2013 12:26 am
Sat Apr 06, 2013 10:28 am
I completely agree with you.Beware of making "remastersys" comparisons which might not be quite correct anyway
Sat Apr 06, 2013 1:28 pm
Sat Apr 06, 2013 5:49 pm
(zenity:4435): GLib-WARNING **: /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/giounix.c:411Error while getting flags for FD: Bad file descriptor (9)
Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
(zenity:4445): GLib-WARNING **: /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/giounix.c:411Error while getting flags for FD: Bad file descriptor (9)
(zenity:4461): GLib-WARNING **: /build/buildd-glib2.0_2.33.12+really2.32.4-3-i386-Z8T5T2/glib2.0-2.33.12+really2.32.4/./glib/giounix.c:411Error while getting flags for FD: Bad file descriptor (9)
You must specify a dialogue type. See 'zenity --help' for details
Warning: Tried to connect to session manager, None of the authentication protocols specified are supported
Warning: Cannot convert string "nil2" to type FontStruct
You must specify a dialogue type. See 'zenity --help' for details
Sat Apr 06, 2013 7:25 pm
# Show the partition list in a menu, and choose one for swap
choose_swap () {
swap_info=$(/sbin/blkid |grep swap | awk '{print "\n" $0 }'\
| zenity --list --radiolist --title="swap partition" --text="Select a partition for swap." \
--separator="" --column ' ' --column 'Partitions' --height=180 --width=500)
swap_dev=$(echo $swap_info | awk -F: '{ print $1 }')
if [[ -z $swap_dev ]] ; then
zenity --window-icon=error --title=Error --text="You did not choose a swap partition.
Click OK to use a swapfile instead.
Click Cancel to exit the program."
if [[ $? = 0 ]] ; then
use_existing_swap=""
else
exit 1
fi
fi
}
Mon Apr 08, 2013 8:59 am
line 242
text added "Please CLOSE any running applications NOW" to the top
$DIALOG --$QUESTION --title="Disk Space and Settings Report" --${BUTTON0}="Create Snapshot"${BUTTON0NUM} \
--${BUTTON1}="Exit"${BUTTON1NUM} --width 600 \
--text "Please CLOSE any running applications NOW
You will need plenty of free space. It is recommended that free space (Avail) in the partition that holds the work directory (probably \"/\") should be two times the total installed system size (Used).
-------------------------------------------------------
line 481
added width 200 as only "Refracta Snap" was displaying in the title
$DIALOG --$INFO --title="Refracta Snapshot" --width 200 --text="All finished!"
line 229
height changed from 400 to 470 to show all the text without a scroll bar
# Select expert installation options
if [[ $install = "expert" ]]; then
opts=$(zenity --list --title="Installation Options" \
--text="Check the options you want for the installation" \
--checklist --column "Choose" --column "Num" --column "Option" \
--width=590 --height=470 \
---------------------------------------------------------
line 369
Changed title & text to mention Grub
Perhaps better to copy your Yad text into this script as you use Grub in that text
# Find hard drives, and choose one for grub
choose_grub () {
grub_dev=$(find /dev -mindepth 1 -maxdepth 1 -name "*[sh]d[a-z]" \
| sort | awk '{print "FALSE\n" $0 }' \
| zenity --list --title="Grub Bootloader" --text="Choose a drive to install the Grub bootloader or click OK without choosing a drive to skip this." \
--radiolist --multiple --column ' ' --column 'Hard Drives' --height=200)
----------------------------------------------------------
line 401
commented out the blkid terminal screen
# Show output of blkid for reference.
#xterm -fa monaco -fs 12 -geometry 90x20+0+0 -hold -e 'echo "Partition list (for reference.) You may need this later." && blkid' &
------------------------------------------------------------
line 668
added Please close etc.
zenity --question --title=Summary --ok-label="Proceed with the installation." --cancel-label="Exit" \
--text="Please CLOSE any running applications
while the installer is running.
Here is a summary of what will be done.
THIS IS YOUR LAST CHANCE TO EXIT before any changes are made to the disk.
$grub_dev_message
line 728
added Please CLOSE any
yad --info --title=Summary --button="Proceed with the installation.":0 --button="Exit":1 \
--text="Please CLOSE any running applications NOW!
Here is a summary of what will be done.
THIS IS YOUR LAST CHANCE TO EXIT before any changes are made to the disk.
$grub_dev_message