LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-30-2017, 03:58 PM   #16
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630

I think syg00 had it correctly as a uefi problem. Stupid uefi.
 
Old 03-30-2017, 10:52 PM   #17
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by ArtKautz View Post
This laptop is set up as a dual boot, Windows 10 and Linux Mint 18.1 with the
Cinnamon desktop. I am trying to clone this to a backup SSD, and nothing seems to get the job done. (Before going dual boot, this ran on Linux Mint and I cloned it all the time - no problem at all. That's how I do backups, clone it. If the internal SSD fails, just order a new on and install the backup in the meantime.)

I have tried to clone the internal SSD to an external SSD, and Grub apparently never gets copied. Or if it does, it doesn't work....
I tried to find your definition of "doesn't work" in this thread, but if it's here, it escapes me. What exactly (in detail) are you doing that leads to your conclusion 'doesn't work'?

I suspect rknichols has defined the problem here. One cannot do a full disk clone and expect to boot anything until something's been done to eliminate the replicated UUIDs and volume labels. Neither bootloaders nor device drivers nor motherboard firmware can cope with such duplications as are created by true cloning. Once the clone's been made, dupes must either be removed before rebooting, or rebooting must be done with one or the other device removed at least until any given boot is complete, lest risk of or actual corruption occur, if any boot at all is even possible.

I've been multi-booting and cloning much too long to remember, if not since last century, at least nearly so. My average OS installation per machine is well in excess of 10. When boot fails here, it's because I forgot something, not a failure of my cloning program to do what it was designed to do.
 
Old 03-31-2017, 12:53 PM   #18
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by mrmazda View Post
... Once the clone's been made, dupes must either be removed before rebooting, ...
This is obviously true. My understanding, at least, is that this would not likely be an issue since the OP wanted to simply have a "hot backup" of sorts on the cloned physical disk to replace the original one if required because of failure. Hence, at no time would the 2 disks be present in the same system, therefore no UUID conflict.

If my understanding is incorrect, please forgive me and clarify.

Cheers,
 
Old 03-31-2017, 01:12 PM   #19
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,784

Rep: Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214Reputation: 2214
Quote:
Originally Posted by Rickkkk View Post
This is obviously true. My understanding, at least, is that this would not likely be an issue since the OP wanted to simply have a "hot backup" of sorts on the cloned physical disk to replace the original one if required because of failure. Hence, at no time would the 2 disks be present in the same system, therefore no UUID conflict.

If my understanding is incorrect, please forgive me and clarify.
That was the intent, yes, but I see no mention of the internal drive being disconnected during the failed attempts to boot from that backup drive. Even without the duplicate IDs, it is uncertain whether a Windows installation copied from an internal drive would boot successfully from a drive on a USB connection. Linux should have no problem with that, but Windows ...???

Replacing the internal drive with the backup drive was on the "todo" list of things to try.
 
1 members found this post helpful.
Old 03-31-2017, 01:20 PM   #20
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by Rickkkk View Post
This is obviously true. My understanding, at least, is that this would not likely be an issue since the OP wanted to simply have a "hot backup" of sorts on the cloned physical disk to replace the original one if required because of failure. Hence, at no time would the 2 disks be present in the same system, therefore no UUID conflict.
"I tried booting from the Inatek case the backup drive is in" doesn't read as though only one disk was present in the system at boot time. It would be on a different bus than the internal disk is in, but with identical UUIDs and volume labels as the internal, unless he changed them before trying to boot it.
 
Old 03-31-2017, 01:28 PM   #21
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by mrmazda View Post
"I tried booting from the Inatek case the backup drive is in" doesn't read as though only one disk was present in the system at boot time. It would be on a different bus than the internal disk is in, but with identical UUIDs and volume labels as the internal, unless he changed them before trying to boot it.
.. true enough. Missed that detail. Your previous post, as well as rknichols above comment, are spot on.

Cheers, folks :-)
 
Old 03-31-2017, 05:27 PM   #22
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
If you didn't, boot from a live usb and run dd from there. I've cloned a number of w10/linux dual boot machines with dd without problems, but I always use the intermediate step of having dd create the clone as a file, then use dd to restore that image file to another disk. This has the advantage of creating a backup, and with a dd image you can mount partitions from the clone image without having to restore to a physical hard disk.

Also, I've always cloned MBR to MBR or UEFI to UEFI.
 
Old 03-31-2017, 05:27 PM   #23
ArtKautz
Member
 
Registered: Sep 2015
Location: Westminster, CO
Distribution: Mint 18.1 - Cinnamon
Posts: 116

Original Poster
Rep: Reputation: Disabled
Update: The dd clone worked. The laptop just doesn't like to do the dual boot thing from an external drive connected via a USB port. Once I pulled the internal drive and replaced it with the on to which the internal one had been cloned, the used-to-be external worked. I haven't tried a Clonezilla clone yet, and it's sort of a pain to replace drives.
 
Old 03-31-2017, 05:49 PM   #24
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by ArtKautz View Post
The laptop just doesn't like to do the dual boot thing from an external drive connected via a USB port.
To know if that is a true statement you will need to try booting the external without any internal drive installed. The more certain explanation is as we've noted in previous messages, UUID and volume label duplication are outside of bootloader, driver, BIOS and kernel capability to cope with.
 
Old 03-31-2017, 06:13 PM   #25
ArtKautz
Member
 
Registered: Sep 2015
Location: Westminster, CO
Distribution: Mint 18.1 - Cinnamon
Posts: 116

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
To know if that is a true statement you will need to try booting the external without any internal drive installed. The more certain explanation is as we've noted in previous messages, UUID and volume label duplication are outside of bootloader, driver, BIOS and kernel capability to cope with.
I'm not really into advanced masochism, if it clones to an external drive and it works, the only time I am going to swap drives is if the internal one fails. I also copy my Home director out to another HDD (WD Passport) and retain various versions of that on that drive.
 
Old 03-16-2020, 05:47 AM   #26
gerragrip
LQ Newbie
 
Registered: Mar 2020
Posts: 2

Rep: Reputation: Disabled
Bitter disappointment

Quote:
Originally Posted by jefro View Post
Did the easeus software also backup a linux partition or two and grub on an uefi? I know Acronis can, heard a lot about easeus as being OK.

Dumb uefi.
easeus cloned the whole dual boot laptop internal drive to a USB connected drive of identical storage capacity, but failed when I tried to recover the cloned disk back to the laptop drive, complaining that the destination drive had to be of equal or a larger size?????

I will try the same using clonezilla live, should the need arise, hopefully it won't .......but I saw a reply form syg00 saying that some table information is copied into NVRAM, so am wondering if all of this is in vain anyway.
 
Old 03-17-2020, 06:10 PM   #27
ArtKautz
Member
 
Registered: Sep 2015
Location: Westminster, CO
Distribution: Mint 18.1 - Cinnamon
Posts: 116

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gerragrip View Post
easeus cloned the whole dual boot laptop internal drive to a USB connected drive of identical storage capacity, but failed when I tried to recover the cloned disk back to the laptop drive, complaining that the destination drive had to be of equal or a larger size?????

I will try the same using clonezilla live, should the need arise, hopefully it won't .......but I saw a reply form syg00 saying that some table information is copied into NVRAM, so am wondering if all of this is in vain anyway.
I know you can cone TO a larger drive, but you won't be able to clone it back to a smaller one. Been there, tried that. You can clone the drive to a file, and then clone it back to the same size or larger drive. What I have not tried is putting a partition on a larger drive and then cloning to that partition. Dunno if that works. Like I said earlier, my drives are SSDs and the same size so I can clone back and forth with no problem and have done so several times - usually when I f^&% up the drive in the laptop and need to fix it. I am not above the odd science experiment!
 
Old 03-17-2020, 08:59 PM   #28
gerragrip
LQ Newbie
 
Registered: Mar 2020
Posts: 2

Rep: Reputation: Disabled
Stranger than strange

Quote:
Originally Posted by ArtKautz View Post
I know you can cone TO a larger drive, but you won't be able to clone it back to a smaller one. Been there, tried that. You can clone the drive to a file, and then clone it back to the same size or larger drive. What I have not tried is putting a partition on a larger drive and then cloning to that partition. Dunno if that works. Like I said earlier, my drives are SSDs and the same size so I can clone back and forth with no problem and have done so several times - usually when I f^&% up the drive in the laptop and need to fix it. I am not above the odd science experiment!
Something very strange is going on here. As I said Easeus allowed me(from a size point of view at least) to clone my WD 1TB drive to my USB external Seagate drive but refused to clone it back saying the WD drive was too small. Now Clonezilla is refusing to recover saying saying the opposite with respect to sizes. ?????

https://www.linuxquestions.org/quest...1&d=1584496061

According to Clonezilla it now seems that either Seagate is coming up short when on 1TB drives by 1 cylinder with respect to WD, or the other way around as Clonezilla and Easeus seem to differ on the culprit.

Now, about the duplicate UUIDs and volume labels mentioned my mrmazda, how would I manipulate those to get an error-free cloned solution?
 
Old 03-17-2020, 09:23 PM   #29
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,877
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by gerragrip View Post
Now, about the duplicate UUIDs and volume labels mentioned my mrmazda, how would I manipulate those to get an error-free cloned solution?
I don't use Clonezilla, so don't know if it might be able to handle these. I use blkid, partprobe and tune2fs or e2label to manage UUIDs and LABELs on EXTx filesystems. It may be necessary to reboot after the cloning operation with only one drive connected in order to change these successfully, depending on the details of the particular cloning process(es) performed.
 
  


Reply



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
[SOLVED] Clone dual-boot system discs pconstantatos Linux - Newbie 5 01-02-2017 01:25 AM
how to fix boot for a ubuntu clone via clonezilla elimqiu Linux - Laptop and Netbook 1 12-12-2015 08:37 PM
Clonezilla error with basic clone Zero187 Linux - Software 2 06-26-2015 08:30 PM
Clonezilla Disk Clone Problem ajkannan83 Linux - General 2 05-23-2014 06:25 PM

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

All times are GMT -5. The time now is 05:59 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