Hallo Linuxer,
von http://clonezilla.org/ habe ich mir das iso
clonezilla-live-1.2.10-14-amd64.iso
geladen und in
/boot/iso/
gespeichert.
Mit
kdesu kate /etc/grub.d/40_custom
wie folgt geändert:
Meine Partionen kann ich nun alle sichern, Clonezilla wird von Grub2 in das RAM geladen.
Gibt es weitere Bootparameter damit ich gleich das richtige Tastaturlayout verfügbar habe?
Vielleicht nutzt ja noch jemand Clonezilla.
Was könnte ich beim iso booten verbessern?
Das Programm ist sehr umfangreich, aus meiner Sicht lohnt es sich einzuarbeiten, ich bin zur Zeit damit etwas überfordert um alle Funktionen (z. B. Netzwerksicherung) nutzen zu können.
MfG
xsid
Zusatzinfos:
Oder Infos auch hier:
http://www.chip.de/downloads/Clonezilla-ISO-Image_32145513.html
http://wiki.ubuntu-forum.de/index.php/Clonezillahttp://wiki.ubuntu-forum.de/index.php/Clonezilla
Clonezilla: Automatisches Backup auf ext. USB Festplatte ----->
http://deritwahnsinn.blogspot.com/2011/06/clonezilla-automatisches-backup-auf-ext.html
16.11.2011 Menüentry in deutsch und deutsches Tastaturlyaout
sudo nano /etc/grub.d/40_custom
sudo update-grub
nicht vergessen.
Edit: 29-11-2012
http://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/99_Misc
Die jetzt für Clonezilla live (2.0.1-5) Released angepaßte
/etc/grub.d/40_custom
Suchbegriffe: Clonezilla Datensicherung True Image Backup ext4
von http://clonezilla.org/ habe ich mir das iso
clonezilla-live-1.2.10-14-amd64.iso
geladen und in
/boot/iso/
gespeichert.
Mit
kdesu kate /etc/grub.d/40_custom
wie folgt geändert:
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "clonezilla-live-1.2.10-14-amd64.iso" {
set isofile="/boot/iso/clonezilla-live-1.2.10-14-amd64.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live live-config noswap nolocales edd=on nomodeset ocs_live_run=\"ocs-live-general\" ocs_live_extra_param=\"\" ocs_live_keymap=\"\" ocs_live_batch=\"no\" ocs_lang=\"\" noprompt gfxpayload=800x600x16, 800x600 toram=filesystem.squashfs ip=frommedia nosplash findiso=$isofile
initrd (loop)/live/initrd.img
}
Meine Partionen kann ich nun alle sichern, Clonezilla wird von Grub2 in das RAM geladen.
Gibt es weitere Bootparameter damit ich gleich das richtige Tastaturlayout verfügbar habe?
Vielleicht nutzt ja noch jemand Clonezilla.
Was könnte ich beim iso booten verbessern?
Das Programm ist sehr umfangreich, aus meiner Sicht lohnt es sich einzuarbeiten, ich bin zur Zeit damit etwas überfordert um alle Funktionen (z. B. Netzwerksicherung) nutzen zu können.
MfG
xsid
Zusatzinfos:
What is Clonezilla?
You're probably familiar with the popular proprietary commercial package Norton Ghost®. The problem with these kind of software packages is that it takes a lot of time to massively clone systems to many computers. You've probably also heard of Symantec's solution to this problem, Symantec Ghost Corporate Edition® with multicasting. Well, now there is an OpenSource clone system (OCS) solution called Clonezilla with unicasting and multicasting!
Clonezilla, based on DRBL, Partclone and udpcast, allows you to do bare metal backup and recovery. Two types of Clonezilla are available, Clonezilla live and Clonezilla SE (server edition). Clonezilla live is suitable for single machine backup and restore. While Clonezilla SE is for massive deployment, it can clone many (40 plus!) computers simultaneously. Clonezilla saves and restores only used blocks in the harddisk. This increases the clone efficiency. At the NCHC's Classroom C, Clonezilla SE was used to clone 41 computers simultaneously. It took only about 10 minutes to clone a 5.6 GBytes system image to all 41 computers via multicasting!
Features:
Free (GPL) Software.
Filesystem supported: (1) ext2, ext3, ext4, reiserfs, reiser4, xfs, jfs of GNU/Linux, (2) FAT, NTFS of MS Windows, (3) HFS+ of Mac OS, (4) UFS of FreeBSD, NetBSD, and OpenBSD, and (5) VMFS3/4 of VMWare ESX. Therefore you can clone GNU/Linux, MS windows, Intel-based Mac OS, and FreeBSD, NetBSD, and OpenBSD, no matter it's 32-bit (x86) or 64-bit (x86-64) OS. For these file systems, only used blocks in partition are saved and restored. For unsupported file system, sector-to-sector copy is done by dd in Clonezilla.
LVM2 (LVM version 1 is not) under GNU/Linux is supported.
Grub (version 1 and version 2) is supported.
Unattended mode is supported. Almost all steps can be done via commands and options. You can also use a lot of boot parameters to customize your own imaging and cloning.
Multicast is supported in Clonezilla SE, which is suitable for massively clone. You can also remotely use it to save or restore a bunch of computers if PXE and Wake-on-LAN are supported in your clients.
The image file can be on local disk, ssh server, samba server, or NFS server.
Based on Partclone (default), Partimage (optional), ntfsclone (optional), or dd to image or clone a partition. However, Clonezilla, containing some other programs, can save and restore not only partitions, but also a whole disk.
By using another free software drbl-winroll, which is also developed by us, the hostname, group, and SID of cloned MS windows machine can be automatically changed.
Minimum System Requirements for Clonezilla live:
X86 or x86-64 processor
196 MB of system memory (RAM)
Boot device, e.g. CD/DVD Drive, USB port, PXE, or hard drive
Limitations:
The destination partition must be equal or larger than the source one.
Differential/incremental backup is not implemented yet.
Online imaging/cloning is not implemented yet. The partition to be imaged or cloned has to be unmounted.
Software RAID/fake RAID/firmware RAID is not supported by default. It's can be done manually only.
Due to the image format limitation, the image can not be explored or mounted. You can _NOT_ recovery single file from the image. However, you still have workaround to make it, read this.
Recovery Clonezilla live with multiple CDs or DVDs is not implemented yet. Now all the files have to be in one CD or DVD if you choose to create the recovery iso file.
License:
Clonezilla itself is licensed under the GNU General Public License (GPL) Version 2. However, to run Clonezilla, a lot of free and open source software, e.g. the Linux kernel, a mininal GNU/Linux OS, are required.
Which Clonezilla Shall I Use ?
Clonezilla Live: Clonezilla live allows you to use CD/DVD or USB flash drive to boot and run clonezilla (Unicast only)
Clonezilla SE: Clonezilla SE is included in DRBL, therefore a DRBL server must first be set up in order to use Clonezilla to do massively clone (unicast, broadcast and multicast are supported)
Oder Infos auch hier:
http://www.chip.de/downloads/Clonezilla-ISO-Image_32145513.html
http://wiki.ubuntu-forum.de/index.php/Clonezillahttp://wiki.ubuntu-forum.de/index.php/Clonezilla
Clonezilla: Automatisches Backup auf ext. USB Festplatte ----->
http://deritwahnsinn.blogspot.com/2011/06/clonezilla-automatisches-backup-auf-ext.html
Code:
Clonezilla: Automatisches Backup auf ext. USB Festplatte
CloneZilla BootCD/ISO anpassen um ein Automatisches Backup
auf eine USB-Festplatte machen zu können.
Downloaden der ISO z.B. clonezilla-live-20110530-natty.iso
[URL]http://clonezilla.org/downloads/alternative/iso-zip-files.php[/URL]
Öffnen der ISO-Datei: clonezilla-live-20110530-natty.iso mit ISOMaster ([URL]http://www.littlesvr.ca/isomaster/[/URL])
1. Erstellen eines Verzeichnises "custom" in der ROOT des ISOs
2. Erstellen des Scripts "ocs-clientname.sh" für das Backup
in diesem Beispiel wird eine ext. USB-Festplatte
mittels uuid gemountet und nach /home/partimag gemountet
Das Script erzeuget ein Verzeichnis clientname_HHMMSSTTMMJJJJ in das das Backup geschrieben wird.
Script für /dev/sda
##!/bin/bash
# Author: Steven Shiau
# License: GPL
# When this script is ready, you can run
# /opt/drbl/sbin/ocs-iso -g en -k NONE -s -m ./custom-ocs
# to create the iso file for CD/DVD. or
# /opt/drbl/sbin/ocs-live-dev -g en -k NONE -s -c -m ./custom-ocs
# to create the zip file for USB flash drive.
# Begin of the scripts:
# Load DRBL setting and functions
if [ ! -f "/opt/drbl/sbin/drbl-conf-functions" ]; then
echo "Unable to find /opt/drbl/sbin/drbl-conf-functions! Program terminated!"
exit 1
fi
. /opt/drbl/sbin/drbl-conf-functions
. /opt/drbl/sbin/ocs-functions
# load the setting for clonezilla live.
[ -e /etc/ocs/ocs-live.conf ] && . /etc/ocs/ocs-live.conf
# Load language files. For English, use "en_US.UTF-8". For Traditional Chinese, use "zh_TW.UTF-8"
ask_and_load_lang_set en_US.UTF-8
# The above is almost necessary, it is recommended to include them in your own custom-ocs.
# From here, you can write your own scripts.
echo "#########################################################################################"
echo "# 1. Configure network"
#dhclient
echo "#########################################################################################"
echo "# 2. Mount the clonezilla image home"
mkdir /home/partimag
mount /dev/disk/by-uuid/9a467114-d745-4b53-b1ab-f70ca1918d0d /home/partimag
echo "#######################################after mounting, now showing mounts###########"
mount
echo "#########################################################################################"
echo "# 3. backing up sda"
/opt/drbl/sbin/ocs-sr -b -q -j2 -z1 -i 0 -p reboot savedisk "clientname_`date +%H%M%S_%d%m%Y`" "sda"
echo "#########################################################################################"
Script für /dev/hda
##!/bin/bash
# Author: Steven Shiau
# License: GPL
# When this script is ready, you can run
# /opt/drbl/sbin/ocs-iso -g en -k NONE -s -m ./custom-ocs
# to create the iso file for CD/DVD. or
# /opt/drbl/sbin/ocs-live-dev -g en -k NONE -s -c -m ./custom-ocs
# to create the zip file for USB flash drive.
# Begin of the scripts:
# Load DRBL setting and functions
if [ ! -f "/opt/drbl/sbin/drbl-conf-functions" ]; then
echo "Unable to find /opt/drbl/sbin/drbl-conf-functions! Program terminated!"
exit 1
fi
. /opt/drbl/sbin/drbl-conf-functions
. /opt/drbl/sbin/ocs-functions
# load the setting for clonezilla live.
[ -e /etc/ocs/ocs-live.conf ] && . /etc/ocs/ocs-live.conf
# Load language files. For English, use "en_US.UTF-8". For Traditional Chinese, use "zh_TW.UTF-8"
ask_and_load_lang_set en_US.UTF-8
# The above is almost necessary, it is recommended to include them in your own custom-ocs.
# From here, you can write your own scripts.
echo "#########################################################################################"
echo "# 1. Configure network"
#dhclient
echo "#########################################################################################"
echo "# 2. Mount the clonezilla image home"
mkdir /home/partimag
mount /dev/disk/by-uuid/9a467114-d745-4b53-b1ab-f70ca1918d0d /home/partimag
echo "#######################################after mounting, now showing mounts###########"
mount
echo "#########################################################################################"
echo "# 3. backing up hda"
/opt/drbl/sbin/ocs-sr -b -q -j2 -z1 -i 0 -p reboot savedisk "clientname_`date +%H%M%S_%d%m%Y`" "hda"
echo "#########################################################################################"
Wichtig ist das das Script: "ocs-clientname.sh" mittels chmod 755 ausführbar gemacht wird.
oder per ISOMaster mit change Permissions rwx-r-x-r-x
Wie findet man die uuid einer Partiton herraus ?
Booten mit der CloneZilla ISO/CD
Enter Commandline
$ sudo su -
# tune2fs -l /dev/sdbX | grep "Filesystem UUID:"
z.B.
# tune2fs -l /dev/sdb1 | grep "Filesystem UUID:"
3. Anpassung / Erstellung der Datei: isolinux/isolinux.cfg
# Since no network setting in the squashfs image, therefore if ip=frommedia, the network is disabled. That's what we want.
label Clonezilla clientname
# MENU HIDE
MENU LABEL Autobackup CLIENTNAME
# MENU PASSWD
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live hostname=natty config quiet noswap nolocales edd=on nomodeset ocs_live_run="/live/image/custom/ocs-clientname.sh" ocs_live_extra_param="" ocs_live_keymap="/usr/share/keymaps/i386/qwertz/de-latin1-nodeadkeys.kmap.gz" ocs_live_batch="yes" ocs_lang="en_US.UTF-8" video=uvesafb:mode_option=800x600-16 ip=frommedia
nosplash
TEXT HELP
* Clonezilla live version: 20110530-natty. (C) 2003-2011, NCHC, Taiwan
* Disclaimer: Clonezilla comes with ABSOLUTELY NO WARRANTY
ENDTEXT
4. die Orginale Datei: /isolinux/isolinux.cfg entfernen
und die selbst erstellte Datei einfügen
5. Speichern als neues ISO
ggf. auf CD-ROM brennen
16.11.2011 Menüentry in deutsch und deutsches Tastaturlyaout
sudo nano /etc/grub.d/40_custom
Code:
menuentry "clonezilla-live-1.2.10-14-amd64.iso zxz" {
set isofile="/boot/iso/clonezilla-live-1.2.10-14-amd64.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live live-config noswap edd=on nomodeset ocs_live_run=\"ocs-live-general\" ocs_live_extra_param=\"\" ocs_live_keymap="/usr/share/keymaps/i386//qwertz/de-latin1-nodeadkeys.kmap.gz" ocs_lang="de_DE.UTF-8" ocs_live_batch=\"no\" noprompt gfxpayload=800x600x16, 800x600 toram=filesystem.squashfs ip=frommedia nosplash findiso=$isofile
initrd (loop)/live/initrd.img
sudo update-grub
nicht vergessen.
Edit: 29-11-2012
http://clonezilla.org/show-live-doc-content.php?topic=clonezilla-live/doc/99_Misc
To preset the keyboard layout, use "keyboard-layouts" from live-config.
e.g. keyboard-layouts=NONE (won't change the default layout, which is US keyboard)
keyboard-layouts=fr (French keyboard)
//NOTE// The ocs_live_keymap used in Clonezilla live 1.x is deprecated. The following description is only for reference.
ocs_live_keymap is for keymap used in Clonezilla live. Man install-keymap for more details.
e.g. ocs_live_keymap="NONE" (won't change the default layout)
ocs_live_keymap="/usr/share/keymaps/i386/azerty/fr-latin9.kmap.gz" (French keyboard)
batch mode or not (yes/no), if no, will run interactively.
e.g. ocs_live_batch="no"
To preset the language, use "locales" from live-config.
e.g. locales=en_US.UTF-8
//NOTE// The "ocs_lang" used in Clonezilla live 1.x is deprecated.
Die jetzt für Clonezilla live (2.0.1-5) Released angepaßte
/etc/grub.d/40_custom
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "clonezilla-live-2.0.1-5-amd64.iso zxz" {
set isofile="/boot/iso/clonezilla-live-2.0.1-5-amd64.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live live-config noswap edd=on nomodeset ocs_live_run=\"ocs-live-general\" ocs_live_extra_param=\"\" keyboard-layouts="de" keyboard-variant="nodeadkeys" locales="de_DE.UTF-8" ocs_live_batch=\"no\" noprompt gfxpayload=800x600x16, 800x600 toram=filesystem.squashfs ip=frommedia nosplash findiso=$isofile
initrd (loop)/live/initrd.img
Suchbegriffe: Clonezilla Datensicherung True Image Backup ext4
Zuletzt bearbeitet: