@jenom:
What are you trying to accomplish? Do you just want a backup of your entire system that can be used to restore it in case of catastrophe? If so, you might be better off with some backup utility. I've used clonezilla in the past and was happy with it. (A windows XP install that took eight hours was restored in 20 minutes.)
Or do you want a bootable usb with a live linux system to use for whatever computing you do? If so, refracta2usb will be better than directly imaging the usb drive with the dd command. The latter method would be like running from a cdrom, and you won't be able to save files.
If you do use refracta2usb, read the quick start section of the help pages, which are available from within the program, and that should be enough to get you going. If you read all of the help pages, you'll be more confused. The program can do a lot of things you probably don't need. But feel free to ask any other questions you have about it.
For jessie/sid, you'll need the latest version of refractasnapshot (or meandean's script, which might need some updating first.) You should be able to run refractasnapshot or refractasnapshot-gui without making any edits to the config file. If you want a smaller iso, you can use xz compression by uncommenting the following line in refractasnapshot.conf:
- Code: Select all
#mksq_opt="-comp xz"
Using xz compression, my installation, which is almost 4GB comes out to a 700MB iso file that fits on a CD.
Links to refractasnapshot for jessie/sid:
http://distro.ibiblio.org/refracta/file ... .2_all.debhttp://distro.ibiblio.org/refracta/file ... .2_all.deb@meandean:
Changes in refractasnapshot for jessie/sid need to include something like the following (note the changes in syslinux and isolinux paths.)
- Code: Select all
copy_isolinux () {
if [[ -f /usr/lib/ISOLINUX/isolinux.bin ]] ; then
isolinuxbin="/usr/lib/ISOLINUX/isolinux.bin"
elif [[ -f /usr/lib/syslinux/isolinux.bin ]] ; then
isolinuxbin="/usr/lib/syslinux/isolinux.bin"
else
$DIALOG --title=Error --$ERROR --${BUTTON0}="OK"${BUTTON0NUM} \
--text="You need to install the isolinux package."
exit 1
fi
if [[ -f /usr/lib/syslinux/modules/bios/vesamenu.c32 ]] ; then
vesamenu="/usr/lib/syslinux/modules/bios/vesamenu.c32"
rsync -a /usr/lib/syslinux/modules/bios/ldlinux.c32 "$iso_dir"/isolinux/
rsync -a /usr/lib/syslinux/modules/bios/libcom32.c32 "$iso_dir"/isolinux/
rsync -a /usr/lib/syslinux/modules/bios/libutil.c32 "$iso_dir"/isolinux/
else
vesamenu="/usr/lib/syslinux/vesamenu.c32"
fi
rsync -a "$isolinuxbin" "$iso_dir"/isolinux/
rsync -a "$vesamenu" "$iso_dir"/isolinux/
}