LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2017, 10:32 AM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Distribution: Mint-19.3 with Cinnamon
Posts: 1,684
Blog Entries: 3

Rep: Reputation: 105Reputation: 105
seeking help running 'CloneZilla'


I know how to run CloneZilla from a bootable USB or DVD. No worries. How do I install and run CloneZilla as a desktop utility?
I could get the bits onto /usr/local but I could never make things run.

It is critical to use a bootable media edition of CloneZilla when working with a workstation primary drive and file systems. A running system leaves too many footprints -- that are constantly changing -- to try and make a copy while those file systems are in active use.

However, I have other "data drives" that I wish to work with. CloneZilla offers the right set of tools to move things among drives and file systems. I simply want to launch CloneZilla much as I would launch 'gparted' or 'nautilus.'

Thanks in advance,
~~~ 0;-Dan
 
Old 01-30-2017, 11:03 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
clonezilla is in the Ubuntu (and therefore Mint) repos.

apt install clonezilla

or install through the Software Manager or Synaptic.

Note that the installed version of clonezilla is run from the command line.
 
1 members found this post helpful.
Old 01-30-2017, 03:06 PM   #3
SaintDanBert
Senior Member
 
Registered: Jan 2009
Distribution: Mint-19.3 with Cinnamon
Posts: 1,684

Original Poster
Blog Entries: 3

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by hydrurga View Post
clonezilla is in the Ubuntu (and therefore Mint) repos.
apt install clonezilla
or install through the Software Manager or Synaptic.
Note that the installed version of clonezilla is run from the command line.
Thanks, I get this far. NOTE -- You can also get it from Software Manager.

The shell script gets planted at /usr/sbin/clonezilla and will launch just fine. However, it doesn't want to see or read or write any of my available file systems.

I want to:
  • select one of my file systems to clone
    • select any one of my available file systems as the source
    • select any one of my other file systems as the destination
    • write the source fs contents to the destination as some sort of data file.
  • repeat for my group of source file systems

From the command line, CloneZilla (1) cannot read what I cannot select, and (2) cannot write to what I cannot select.

The file, /usr/sbin/clonezilla is a shell script. I'm trying to make sense of it now.
It would not surprise me if there are built-in assumptions from the bootable media implementation.

Thanks in advance for any help and helpers,
~~~ 0;-/ Dan
 
Old 01-30-2017, 03:18 PM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,570

Rep: Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349
Could it be as simple as you need to run it as root?
 
1 members found this post helpful.
Old 01-30-2017, 04:07 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Differences between gksudo/kdesudo, sudo, and su
"mint"? I heard mint.
 
1 members found this post helpful.
Old 01-31-2017, 05:05 AM   #6
jsbjsb001
Registered User
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,440

Rep: Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782
Quote:
Originally Posted by SaintDanBert View Post
Thanks, I get this far. NOTE -- You can also get it from Software Manager.

The shell script gets planted at /usr/sbin/clonezilla and will launch just fine. However, it doesn't want to see or read or write any of my available file systems.

I want to:
  • select one of my file systems to clone
    • select any one of my available file systems as the source
    • select any one of my other file systems as the destination
    • write the source fs contents to the destination as some sort of data file.
  • repeat for my group of source file systems

From the command line, CloneZilla (1) cannot read what I cannot select, and (2) cannot write to what I cannot select.

The file, /usr/sbin/clonezilla is a shell script. I'm trying to make sense of it now.
It would not surprise me if there are built-in assumptions from the bootable media implementation.

Thanks in advance for any help and helpers,
~~~ 0;-/ Dan
You need to make sure the file system you would like to 'clone' is NOT in use when trying to 'clone' it. This is the benefit of running clonezilla off a USB or CD/DVD. And I would suggest installing it onto a USB stick and running it from there instead.
 
1 members found this post helpful.
Old 02-02-2017, 12:46 PM   #7
SaintDanBert
Senior Member
 
Registered: Jan 2009
Distribution: Mint-19.3 with Cinnamon
Posts: 1,684

Original Poster
Blog Entries: 3

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by 273 View Post
Could it be as simple as you need to run it as root?
When I launch /usr/sbin/clonezilla it checks for 'root' user and forces your to try again if you are not running that way.

~~~ 0;-Dan
 
Old 02-02-2017, 12:49 PM   #8
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,570

Rep: Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349
Quote:
Originally Posted by SaintDanBert View Post
When I launch /usr/sbin/clonezilla it checks for 'root' user and forces your to try again if you are not running that way.

~~~ 0;-Dan
indeed, that was my point. Some tools require root and behave oddly when they don't get it.
 
Old 02-02-2017, 05:19 PM   #9
SaintDanBert
Senior Member
 
Registered: Jan 2009
Distribution: Mint-19.3 with Cinnamon
Posts: 1,684

Original Poster
Blog Entries: 3

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by jsbjsb001 View Post
You need to make sure the file system you would like to 'clone' is NOT in use when trying to 'clone' it.
...
Much like the requirement to run as the 'root' priviledged user, it would seem apropriate for CloneZilla to test for and announce if a source file system is mounted or which ever form of busy it wants to avoid.

Do you know if it simply wants an unmounted source partition, or does it prefer other not-busy details?

Thanks in advance,
~~~ 0;-Dan
 
Old 02-02-2017, 06:43 PM   #10
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,422

Rep: Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027
Quote:
Originally Posted by SaintDanBert View Post
Do you know if it simply wants an unmounted source partition, or does it prefer other not-busy details?
If a device has a mounted filesystem, clonezilla won't even offer it as a candidate for the image source.
 
1 members found this post helpful.
Old 02-03-2017, 03:37 AM   #11
jsbjsb001
Registered User
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,440

Rep: Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782
Quote:
Originally Posted by rknichols View Post
If a device has a mounted filesystem, clonezilla won't even offer it as a candidate for the image source.
Yep that's right, which is why I suggested you install it onto a USB and boot your PC off of it instead. As therefore the only file system that would be in use, would be the one on the USB.
 
Old 02-11-2017, 04:12 PM   #12
SaintDanBert
Senior Member
 
Registered: Jan 2009
Distribution: Mint-19.3 with Cinnamon
Posts: 1,684

Original Poster
Blog Entries: 3

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by jsbjsb001 View Post
Yep that's right, which is why I suggested you install it onto a USB and boot your PC off of it instead. As therefore the only file system that would be in use, would be the one on the USB.
I have two separate external, USB connected, enclosures. Both have two(2) drives installed. Some drives are a single partition/file-system. Others have multiple parititions/file-systems. I would expect that the CLI edition of CloneZilla would let me manipulate the contents of the external drives. Also, I would like to read from workstation internal partitions/file-systems. Sadly, it does not see the external drives at all so I cannot use them as a destination. It sees the workstation partitions/file-systems but won't read them either.

Any ideas?

Thanks in advance,
~~~ 0;-Dan
 
Old 02-11-2017, 04:21 PM   #13
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by SaintDanBert View Post
I simply want to launch CloneZilla much as I would launch 'gparted' or 'nautilus.'
Clonezilla has a GUI?

Erm, something at http://clonezilla.org/related-live-c.../more_info.php
Personally, I don't think you know what you want.

Last edited by Habitual; 02-11-2017 at 04:23 PM.
 
Old 02-13-2017, 12:29 AM   #14
jsbjsb001
Registered User
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,440

Rep: Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782
Quote:
Originally Posted by SaintDanBert View Post
I have two separate external, USB connected, enclosures. Both have two(2) drives installed. Some drives are a single partition/file-system. Others have multiple parititions/file-systems. I would expect that the CLI edition of CloneZilla would let me manipulate the contents of the external drives. Also, I would like to read from workstation internal partitions/file-systems. Sadly, it does not see the external drives at all so I cannot use them as a destination. It sees the workstation partitions/file-systems but won't read them either.

Any ideas?

Thanks in advance,
~~~ 0;-Dan
The only thing I can think of would be clonezilla is not being run with superuser/root permission?? I would suggest you get a normal USB stick (thumb drive) and install it onto there, then boot your PC from the normal USB stick (thumb drive).

I have not had any problems running it this way, I also suggest you install clonezilla onto it, within a virtual machine. As this way there is no risk to your real system (if you get the destination drive wrong, and be CAREFUL).

See the following, if you need help installing it onto a USB stick; http://clonezilla.org/liveusb.php


Quote:
Clonezilla has a GUI?
Clonezilla has a text based GUI (see: https://en.wikipedia.org/wiki/Text-based_user_interface) which guides you though setting up your 'clone' image.


Best of luck!!
 
Old 02-22-2017, 03:37 PM   #15
SaintDanBert
Senior Member
 
Registered: Jan 2009
Distribution: Mint-19.3 with Cinnamon
Posts: 1,684

Original Poster
Blog Entries: 3

Rep: Reputation: 105Reputation: 105
Quote:
Originally Posted by jsbjsb001 View Post
...
I also suggest you install clonezilla onto it, within a virtual machine. As this way there is no risk to your real system (if you get the destination drive wrong, and be CAREFUL).
...
I'd love to use this effort to motivate my learning about virtual machines. I've never had a pressing need to run multiple Linux instances -- until now -- and running win-dose on Linux has always seemed to be a real chore to setup. (grin) I'd welcome the help and advice or pointers to a good-enough howto...

Thanks in advance,
~~~ 0;-Dan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Clonezilla Server Edition on a Virtual Machine kaplan71 Linux - Software 1 04-09-2015 02:59 PM
Running clonezilla from command line on live CD Mark_667 Linux - Software 5 02-08-2014 05:58 PM
[SOLVED] PXE Server running with right IP / Clonezilla Live gets wrong IP Said23 Linux - Server 1 11-21-2011 04:52 AM
[SOLVED] seeking combined clonezilla+systemrescuecd SaintDanBert Linux - Desktop 2 01-12-2011 05:14 PM
[SOLVED] segmentation fault while running Clonezilla laginagesh Linux - Software 4 09-09-2009 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration