Installing Clonezilla

Forum rules
- We do not condone any illegal activity what so ever.
- Any religious, political or pornographic references will not be tolerated.
- No soliciting/spamming will be tolerated.
- Breaking the forum rules may result in permanent ban.

We reserve the right to change any rules at any time for any reason.

Installing Clonezilla

Postby .ronin » Wed Nov 18, 2009 5:05 pm

The following is a tutorial on adding Clonzilla to Katana:

1) Download Clonezilla ZIP from http://clonezilla.org/download/sourceforge/stable/iso-zip-files.php.

2) Extract the ZIP into a local directory on your system.

3) On your Katana Drive, create the file clonezilla.cfg in the /boot/menu directory. (This is the menu for Clonezilla.) Open clonezilla.cfg in a text editor and copy and past the following into it:

Code: Select all
PROMPT 0
#TIMEOUT 90
DEFAULT /boot/vesamenu.c32
MENU BACKGROUND /boot/wallpaper.png

MENU WIDTH 30
MENU MARGIN 0
MENU ROWS 12
MENU HELPMSGROW 22
MENU TIMEOUTROW 26
MENU TABMSGROW 27
MENU CMDLINEROW 27
MENU HSHIFT 24
MENU VSHIFT 0

   menu color screen   37;40      #00000000 #00000000 none
   menu color border   30;44      #00000000 #00000000 none
   menu color title   1;36;44    #aaaaaaaa #00000000 none
   #menu color unsel   37;44      #ff60CA00 #00000000 none
   menu color unsel   37;44      #aaaaaaaa #00000000 none
   menu color hotkey   1;37;44    #ff60CA00 #00000000 none
   #menu color sel      7;37;40    #ffffffff #00000000 none
   menu color sel      7;37;40    #ffffffff #00000000 none
   menu color hotsel   1;7;37;40  #ff808080 #ff60CA00 none
   menu color scrollbar   30;44      #00000000 #00000000 none

   menu color tabmsg   31;40      #aaaaaaaa #00000000 none
   menu color cmdmark   1;36;40    #ffff0000 #00000000 none
   menu color cmdline   37;40      #aaaaaaaa #00000000 none
   menu color pwdborder   30;47      #ffff0000 #00000000 std
   menu color pwdheader   31;47      #ffff0000 #00000000 std
   menu color pwdentry   30;47      #ffff0000 #00000000 std
   menu color timeout_msg   37;40      #aaaaaaaa #00000000 none
   menu color timeout   1;37;40    #ffaaaaff #00000000 none
   menu color help      37;40      #aaaaaa00 #00000000 none
   menu color msg07   37;40      #90ffffff #00000000 std

MENU TITLE Clonezilla


LABEL Clonezilla live
MENU LABEL Clonezilla live (Default settings, VGA 1024x768)
KERNEL /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs    nolocales noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=791 ip=frommedia
TEXT HELP
                        Clonezilla live version: 1.2.2-31. (C) 2003-2009, NCHC, Taiwan
                        Disclaimer: Clonezilla comes with ABSOLUTE NO WARRANTY
ENDTEXT

LABEL Clonezilla live 800x600
MENU LABEL Clonezilla live (Default settings, VGA 800x600)
KERNEL /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs    nolocales noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=788 ip=frommedia
TEXT HELP
                        VGA mode 800x600. OK for most of VGA cards.
ENDTEXT

LABEL Clonezilla live 640x480
MENU LABEL Clonezilla live (Default settings, VGA 640x480)
KERNEL /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs    nolocales noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=785 ip=frommedia
TEXT HELP
                        VGA mode 640x480. OK for most of VGA cards.
ENDTEXT

LABEL Clonezilla live (To RAM)
MENU LABEL Clonezilla live (To RAM. Boot media can be removed later)
KERNEL /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs    nolocales noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" vga=791 toram=filesystem.squashfs ip=frommedia
TEXT HELP
                        All the programs will be copied to RAM, so you can
                        remove boot media (CD or USB flash drive) later
ENDTEXT

LABEL Clonezilla live without framebuffer
MENU LABEL Clonezilla live (Safe graphic settings, vga=normal)
KERNEL /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs    nolocales noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" ip=frommedia vga=normal
TEXT HELP
                        Disable console frame buffer support
ENDTEXT

LABEL Clonezilla live failsafe mode
MENU LABEL Clonezilla live (Failsafe mode)
KERNEL /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs    nolocales noprompt ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_lang="" acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp ip=frommedia vga=normal
TEXT HELP
                        acpi=off irqpoll noapic noapm nodma nomce nolapic
                        nosmp vga=normal
ENDTEXT


LABEL back
MENU LABEL ..
KERNEL /boot/vesamenu.c32
APPEND /boot/menus/main.cfg
TEXT HELP
                        Back to Main Menu
ENDTEXT

4) Copy the /live directory in the root of the extracted Clonezilla ZIP directory to the root of the Katana Drive (This is the folder which contains the Clonezilla Operating System)

5) Finally, on the Katana Drive; open /boot/menus/main.cfg in a text editor and add the following to the end of the file. This will add Clonezilla to the main boot menu.

Code: Select all
LABEL Clonezilla
MENU LABEL Clonezilla
KERNEL /boot/vesamenu.c32
APPEND /boot/menus/clonezilla.cfg

TEXT HELP
                      More about currently selected:

                      Backup and recovery tool.
ENDTEXT

You should now be able to boot Clonezilla from Katana.
Slay your enemies, Protect your home!
User avatar
.ronin
 
Posts: 94
Joined: Fri Oct 30, 2009 1:47 pm

Return to Katana Howto

Who is online

Users browsing this forum: No registered users and 5 guests