LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ghost Centos (https://www.linuxquestions.org/questions/linux-newbie-8/ghost-centos-4175630962/)

Jezda 06-01-2018 08:47 AM

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

hydrurga 06-01-2018 08:54 AM

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?

kilgoretrout 06-01-2018 10:03 AM

The go to tool for cloning in linux is Clonezilla:

https://clonezilla.org/

jefro 06-01-2018 03:52 PM

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/

dave@burn-it.co.uk 06-03-2018 09:25 AM

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.

Jezda 06-03-2018 03:14 PM

Quote:

Originally Posted by hydrurga (Post 5862160)
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.

hydrurga 06-03-2018 03:22 PM

Quote:

Originally Posted by Jezda (Post 5863073)
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

dave@burn-it.co.uk 06-03-2018 03:25 PM

did you actually set the boot flag on the new disk??

Jezda 06-03-2018 04:00 PM

Quote:

Originally Posted by dave@burn-it.co.uk (Post 5863085)
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.

AwesomeMachine 06-03-2018 04:04 PM

cloning
 
Quote:

Originally Posted by Jezda (Post 5863073)
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.

Jezda 06-04-2018 03:09 AM

Quote:

Originally Posted by AwesomeMachine (Post 5863106)
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.

Jezda 06-04-2018 03:15 AM

1 Attachment(s)
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"

Jezda 06-04-2018 06:40 AM

2 Attachment(s)
Those are images of both volumes:

JeremyBoden 06-04-2018 07:09 AM

Quote:

Originally Posted by hydrurga (Post 5863080)
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?

hydrurga 06-04-2018 07:25 AM

Quote:

Originally Posted by JeremyBoden (Post 5863350)
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.


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