LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-01-2018, 08:47 AM   #1
Jezda
LQ Newbie
 
Registered: May 2018
Posts: 28

Rep: Reputation: Disabled
Ghost Centos


Hi,
how can i make clone of my centos system? I'd try with ghost, but it not work. I create live CD with Centos 6.5. Is there a toll to create bootable hdd?
Thanks in advance
 
Old 06-01-2018, 08:54 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
Hi, Jezda. For what purpose do you want to make a clone of your system? (the answer to this may affect the responses you receive here).

In what way did Ghost not work?
 
Old 06-01-2018, 10:03 AM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,756

Rep: Reputation: 270Reputation: 270Reputation: 270
The go to tool for cloning in linux is Clonezilla:

https://clonezilla.org/
 
Old 06-01-2018, 03:52 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,022

Rep: Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145Reputation: 3145
Ghost could create a clone of almost any OS assuming some things are true.

Most folks seem able to use Clonezilla or even the older redobackup.

Red Hat therefor Centos has tools built in or available to clone like the very basic tar command. See package manager for more ideas.

https://simplylinuxfaq.blogspot.com/...p-Command.html

https://access.redhat.com/labsinfo/rbra

https://www.eandbsoftware.org/how-to...tdebianubuntu/
 
Old 06-03-2018, 09:25 AM   #5
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
He said "I'd" which implies to me that he didn't even try before saying it wouldn't work.
The old Ghost, before they started trying to get clever, has always worked fine for me, though I never used it from within the OS I was trying to clone.
I use a different product nowadays, but only because it has faster media handling, and still as a stand-alone product from different media.

Last edited by dave@burn-it.co.uk; 06-03-2018 at 09:27 AM.
 
Old 06-03-2018, 03:14 PM   #6
Jezda
LQ Newbie
 
Registered: May 2018
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Hi, Jezda. For what purpose do you want to make a clone of your system? (the answer to this may affect the responses you receive here).

In what way did Ghost not work?
I'd try to clone system, but it is not possible, because cloned hdd is not bootable.
 
Old 06-03-2018, 03:22 PM   #7
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
Quote:
Originally Posted by Jezda View Post
I'd try to clone system, but it is not possible, because cloned hdd is not bootable.
Ok. If it's of any help, I transferred an entire 500GiB disk, with multiple partitions, to a 1TiB disk using a Macrium Reflect boot DVD (Reflect is Windows software, but in my case I used a Windows Virtual Machine to create it), booting up off the DVD to carry out the cloning operation. It went without a hitch.

https://knowledgebase.macrium.com/di...Cloning+a+disk
 
Old 06-03-2018, 03:25 PM   #8
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
did you actually set the boot flag on the new disk??
 
Old 06-03-2018, 04:00 PM   #9
Jezda
LQ Newbie
 
Registered: May 2018
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dave@burn-it.co.uk View Post
did you actually set the boot flag on the new disk??
No, I didnt. I just try to copy entire disk-to disk. I did it succecfull, but, hdd is not bootable.
 
Old 06-03-2018, 04:04 PM   #10
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
cloning

Quote:
Originally Posted by Jezda View Post
I'd try to clone system, but it is not possible, because cloned hdd is not bootable.
Was the source drive bootable? If so, then did you clone drives, and not just a partition? If you indeed made a clone of a bootable drive, but it won't boot, it's not a clone.
 
Old 06-04-2018, 03:09 AM   #11
Jezda
LQ Newbie
 
Registered: May 2018
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
Was the source drive bootable? If so, then did you clone drives, and not just a partition? If you indeed made a clone of a bootable drive, but it won't boot, it's not a clone.
Source drive is bootable. I cloned drive-to-drive, not partition to drive or partition to partition. It is works as windows volume, but it is not work with ext2 or similar partition format.
 
Old 06-04-2018, 03:15 AM   #12
Jezda
LQ Newbie
 
Registered: May 2018
Posts: 28

Original Poster
Rep: Reputation: Disabled
This is ss of this case. When I trz to mount volume, this is feedback:

"Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so"
Attached Thumbnails
Click image for larger version

Name:	Volume NotBootable.png
Views:	8
Size:	86.8 KB
ID:	27809  
 
Old 06-04-2018, 06:40 AM   #13
Jezda
LQ Newbie
 
Registered: May 2018
Posts: 28

Original Poster
Rep: Reputation: Disabled
Those are images of both volumes:
Attached Thumbnails
Click image for larger version

Name:	Volume Bootable.png
Views:	9
Size:	70.5 KB
ID:	27816   Click image for larger version

Name:	VolumeNonBootableGParted.png
Views:	8
Size:	74.7 KB
ID:	27817  
 
Old 06-04-2018, 07:09 AM   #14
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,744

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by hydrurga View Post
Ok. If it's of any help, I transferred an entire 500GiB disk, with multiple partitions, to a 1TiB disk using a Macrium Reflect boot DVD (Reflect is Windows software, but in my case I used a Windows Virtual Machine to create it), booting up off the DVD to carry out the cloning operation. It went without a hitch.

https://knowledgebase.macrium.com/di...Cloning+a+disk
Did you use Windows software to clone a Linux disk?
 
Old 06-04-2018, 07:25 AM   #15
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
Quote:
Originally Posted by JeremyBoden View Post
Did you use Windows software to clone a Linux disk?
What is a "Linux disk"?

My disk has an MBR and about 15 partitions, some of them ext4, some of them NTFS, one of them encrypted. Some of them are boot partitions, some operating system partitions (including both Linux and Windows), others data.

It worked beautifully, as does my use of Macrium Reflect for imaging and restoring individual ext4 partitions.

Last edited by hydrurga; 06-04-2018 at 07:28 AM.
 
  


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
LXer: Install Ghost with Nginx on CentOS 7 LXer Syndicated Linux News 0 02-07-2016 05:29 AM
Ghost jokar.mohsen Linux - Software 1 06-22-2010 04:33 AM
Ghost software : Linux Ghost server NL-Stitch Linux - Newbie 18 02-02-2007 10:55 PM
ghost lilohatea Debian 2 05-03-2006 10:26 AM
Ghost? kj6loh Linux - Software 3 04-26-2005 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 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
Open Source Consulting | Domain Registration