Install Clonezilla on Ubuntu without the server side

Help
2014-01-15
2014-01-30
  • power1power1

    power1power1 - 2014-01-15

    Hello,

    I need to install and run Clonezilla on Ubuntu. I don't need the server side of it. Can you please provide step-by-step instructions on how to do it? To be clear, I want to boot to Ubuntu first and then run Clonezilla (server not needed) and I don't want to create a multi-boot setup with Ubuntu and Clonezilla Live, either.

    I found this old web page which didn't work with the newest version of Clonezilla: (http://ubuntuforums.org/showthread.php?t=1216081)

    Thanks!

     
    Last edit: power1power1 2014-01-15
  • power1power1

    power1power1 - 2014-01-18
    • from Clonezilla ISO, grab the file ".\live\filesystem.squashfs"
    • put the file "filesystem.squashfs" in Home
    • open a new terminal window using Ctrl+Alt+T
      sudo su
      mkdir /media/sqfile
      mount -t squashfs ./filesystem.squashfs /media/sqfile -o loop
      sudo cp -R /media/sqfile/usr/share/drbl /usr/share/drbl
      sudo cp -R /media/sqfile/etc/drbl /etc/drbl
      gedit /root/.bashrc
    • add the next line to the end, save and close
      PATH=$PATH:/media/sqfile/usr/share/drbl:/media/sqfile/etc/drbl:/media/sqfile/usr/sbin:/media/sqfile/usr/bin
    • back in terminal window
      sudo su
      clonezilla
    • when done
      umount /media/sqfile
     
  • power1power1

    power1power1 - 2014-01-19

    Hi Steven, thanks for the reply; however, the discussions in those pages are very extensive. Can you say if by following the commands mentioned in the second post, a reliable Clonezilla installation will be created? By that, I mean all the required files get copied, the added path is complete, etc.

    I tested that by installing Ubuntu Desktop 13.10 on a USB memory using Pen Drive Linux's Universal USB Installer 1.9.5.2. I also set the Persistent file size to say 1024 MB. I used Clonezilla Live alternative ISO 20140114.

    I only wish there was an installation binary of Clonezilla available, as well.

     
    Last edit: power1power1 2014-01-19
  • Steven Shiau

    Steven Shiau - 2014-01-29

    Here you are:
    1. gpg --keyserver subkeys.pgp.net --recv-key D7E8DF3A
    2. gpg -a --export D7E8DF3A | apt-key add -
    3. Add the following line in your /etc/apt/sources.list
    deb http://drbl.sourceforge.net/drbl-core drbl stable
    4. apt-get update
    5. apt-get install drbl
    6. drblsrv -i
    Following the interactive mode, just press "Enter" to accept all the default selections.

    Once it's done, you have all the Clonezilla required packages on your system.
    Let me know if you encounter any problem.

    Steven.

     
  • power1power1

    power1power1 - 2014-01-29

    That is great, Steven! However, I got stuck at some of the steps. So, I added a few more, if that is OK with you. Here is the whole thing:

    • connect to the internet
    • open a new terminal window using Ctrl+Alt+T
      sudo su
    • if the result of next line was "Timeout", then run it again
      sudo gpg --keyserver subkeys.pgp.net --recv-key D7E8DF3A
      sudo gpg -a --export D7E8DF3A | apt-key add -
      sudo gedit /etc/apt/sources.list
    • for Ubuntu Desktop 13.10 use "saucy" in the line after next
    • add the next two lines to the end, save and close
      deb http://archive.ubuntu.com/ubuntu saucy main restricted universe multiverse
      deb http://drbl.sourceforge.net/drbl-core drbl stable
      sudo apt-get update
    • if the result of next line was "Abort", then run it again
      sudo apt-get install drbl
    • press Enter
      sudo drblsrv -i
    • press Enter four times
      clonezilla
     
    Last edit: power1power1 2014-01-30
  • power1power1

    power1power1 - 2014-01-29

    Hi again, When I run:

    root@ubuntu:/home/ubuntu# mount --bind /dev/sda1 /home/partimag

    I get this error:

    mount: mount point /home/partimag does not exist

    How I can fix this? Thanks!

     
    Last edit: power1power1 2014-01-29
  • Steven Shiau

    Steven Shiau - 2014-01-30

    "mount: mount point /home/partimag does not exist" -> It means you do not have the dir /home/partimag. Therefore just run the following command as root:
    mkdir -p /home/partimag

    Steven.

     
  • power1power1

    power1power1 - 2014-01-30

    Very good, thanks. It works now. Somehow I was under impression that that folder will be created by the installation process.

     
  • Steven Shiau

    Steven Shiau - 2014-01-30

    Cool!
    If you run "drblpush -i", yes, it will.
    However, since you just only finished "drblsrv -i", which basically install and prepare all the required packages only.

    Steven.

     
  • power1power1

    power1power1 - 2014-01-30

    I see! Thanks.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks