Re: Clonezilla.
On 3 Jul 2021 at 15:35, Dave Stevens wrote: Date sent: Sat, 3 Jul 2021 15:35:02 -0700 From: Dave Stevens To: users@lists.fedoraproject.org Subject:Re: Clonezilla. Send reply to: Community support for Fedora users > On Sat, 3 Jul 2021 16:04:41 -0600 > Chris Murphy wrote: > > > I'm not sure what to recommend without knowing the use case. > > Me too. I recently wanted to clone a bootable 32GB usb stick and what > worked easily for me once I found it was > > 1) dd if=/dev/sdb1 of=MyUSBClone.iso > > 2) etcher with the iso as input and the new stick (also 32GB) as output > Can't speak for Clonezilla, but have been maintaining the G4L diskimage project on sourceforge since 2004. It's primary operation uses dd to make and restore images, but also does compression. Not sure how long you process took, but usually using bs=1M can make a difference. Also, the image file created will be the size of the original. Long ago had done a clean install of Fedora Core 3 on an 80 GB drive. Did an image with compression, and it created a 12G image. Then cleared the unused space, and redid image and it was just 2.5G. G4L is basicly a dialog front-end to create the dd commands to do images. An example: (dd bs=1M if=/mnt/local$localpath$localimagename 2>/dev/null |lzop -d -c - |jetcat-mod -f 5000 -p $writesize 2>$progout |dd bs=1M of=$localrest 2>/dev/null) & Produces a progress bar screen to show relative progress. Also, has options that allow putting images onto ftp or other servers.. Good Luck on things. > Tada! > > Didn't take long, simple and worked beautifully > > Dave > ___ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org > Do not reply to spam on the list, report it: > https://pagure.io/fedora-infrastructure ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Clonezilla.
On Sat, 3 Jul 2021 16:04:41 -0600 Chris Murphy wrote: > I'm not sure what to recommend without knowing the use case. Me too. I recently wanted to clone a bootable 32GB usb stick and what worked easily for me once I found it was 1) dd if=/dev/sdb1 of=MyUSBClone.iso 2) etcher with the iso as input and the new stick (also 32GB) as output Tada! Didn't take long, simple and worked beautifully Dave ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Clonezilla.
On Sat, Jul 3, 2021 at 10:18 AM Ger van Dijck wrote: > > Hi Fedora , > > > Thanks to George N. Withe 111 , Bob Marcom, Erik P. Olsen and Klaus > Peter Schrage. > > I did install rpmshere-release with dnf : Runs fine. > > > I did install clonezilla-2.3.1-1.noarch.rpm with dnf and got following > message :Nothing provides drbl-partimage >=0.6.7 needed by clonezilla > -2.3.1-1 noarch. > > Nothing provides mkswap-uuid needed by > clonezilla-2.3.1-1.noarch. > > So , What now ? Hmm, I'm not finding clonezilla in Fedora repositories, or in RPM Fusion. And at https://clonezilla.org/downloads.php I'm not finding it packaged for rhel/centos/fedora. And 2.7.2 is current at clonezilla.org, so I'm not sure about the provenance of clonezilla-2.3.1-1.noarch.rpm but I suspect it's a stale package given the version. I'm not sure what to recommend without knowing the use case. For generic use case, sync or backup, I'd use something either rsync or borg based. I tend to consider block based backups (dd, ddrescue, dd_rescue) pretty much for scraping, i.e. for emergencies and recovery operations where you must have an identical copy. That's usually not what you want for a backup. Btrfs is compatible with the above options but adds some unique capabilities of its own: * snapshot send+receive Makes an essentially identical copy of a snapshot. There are advantages (immediately accessible just by mounting the file system; full checksumming; simpler incrementals management) if you use Btrfs for the destination file system, but it is possible to use 'btrfs send -f' to create a file on any file system. But that file must be "received" on a Btrfs file system to navigate it. * seed+sprout Setting the "seed" flag on a Btrfs file system makes it read-only. Mount it, and 'btrfs device add' a 2nd device, followed by 'btrfs device remove' the 1st device, and it will kick off replication at a block group level. The copy is identical in every meaningful way, but the new destination device can be any size. Of course, it needs to be at least as large as the data usage on the seed. [1] -- Chris Murphy [1] Sorta :) Once the 2nd device is added, you are allowed to delete things you don't want replicated. They are retained on the read-only seed, but are not replicated when you remove the seed. This might all seem a bit confusing but it's all a direct function of copy-on-write. The "delete" is just writing an updated portion of the file system tree that lacks references for the files/dirs you've deleted, and this updated portion of the tree is only written to the 2nd device (all writes get directed to this 2nd device because the 1st device, the "seed" is read only). There's more but if I don't stop here even I will get confused. The feature is quite nuanced and powerful, including even stacked seed devices. Considering devices could be loop mounted files, it's perhaps an underrated feature so far. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Clonezilla.
Hi Fedora , Thanks to George N. Withe 111 , Bob Marcom, Erik P. Olsen and Klaus Peter Schrage. I did install rpmshere-release with dnf : Runs fine. I did install clonezilla-2.3.1-1.noarch.rpm with dnf and got following message :Nothing provides drbl-partimage >=0.6.7 needed by clonezilla -2.3.1-1 noarch. Nothing provides mkswap-uuid needed by clonezilla-2.3.1-1.noarch. So , What now ? Kind regards, Ger van Dijck. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Install Clonezilla on Fedora 34.
On Mon, 28 Jun 2021 at 11:47, Bob Marcan wrote: > On Mon, 28 Jun 2021 16:35:12 +0200 > Ger van Dijck wrote: > > ... > > How to install Clonezilla: > > === > > > > 1 . rpmfusion-(non)(free)-release-34.noarch.rpm is inslalled. > > 2 . https://github.com/rpmsphere/noarch/tree/master/r gives no such > file or directory. > You should be looking in https://github.com/rpmsphere/noarch/blob/master/c/ where you should see clonezilla-3.35.2-1.noarch.rpm. -- George N. White III ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Install Clonezilla on Fedora 34.
Am 28.06.2021 um 16:35 schrieb Ger van Dijck: On Wed, 23 Jun 2021 at 13:36, Ger van Dijck mailto:ger.vandi...@edpnet.be>> wrote: Hi all, I tried to install Clonezilla on Fedora 34 . But no luck : I need help. That doesn't tell us what you tried or how it failed. Are you trying to install this package: https://fedora.pkgs.org/34/rpm-sphere-noarch/clonezilla-3.35.2-1.noarch.rpm.html <https://fedora.pkgs.org/34/rpm-sphere-noarch/clonezilla-3.35.2-1.noarch.rpm.html> Hi George , A bit late but : How to install Clonezilla: === 1 . rpmfusion-(non)(free)-release-34.noarch.rpm is inslalled. 2 . https://github.com/rpmsphere/noarch/tree/master/r gives no such file or directory. 3 . rpm -Uvh rpmsphere-release*rpm gives file not found by glob:rpmsphere-release*rpm. 4 . dnf install clonezilla therefore gives no result. Be so kind to inform me, Ger van Dijck. George N. White III You probably had a look at https://clonezilla.org/ to learn that there are three variants of clonezilla: - A live version (which I have been using for years), best installed on an USB drive - two server editions for mass deployment of saved images (unimportant for me). So what version are you trying to install? To use the live version , simply download the iso and install it on an USB stick. No need for a Fedora rpm in this case. KP ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Install Clonezilla on Fedora 34.
On 2021-06-28 at 16:47:24 Bob Marcan wrote: > On Mon, 28 Jun 2021 16:35:12 +0200 > Ger van Dijck wrote: > > ... > > How to install Clonezilla: > > === > > > > 1 . rpmfusion-(non)(free)-release-34.noarch.rpm is inslalled. > > 2 . https://github.com/rpmsphere/noarch/tree/master/r gives no such file or > > directory. > > > > 3 . rpm -Uvh rpmsphere-release*rpm gives file not found by > > glob:rpmsphere-release*rpm. > > > > 4 . dnf install clonezilla therefore gives no result. > > > > > > Be so kind to inform me, > > > > > > Ger van Dijck. > > George N. White III > > I don't use clonezilla but it looks like you can download an rpm package from https://fedora.pkgs.org/33/rpm-sphere-noarch/clonezilla-3.35.2-1.noarch.rpm.html and then install it with dnf. -- Erik P. Olsen - Copenhagen, Denmark Fedora 34/64 bit xfce Claws-Mail POP3 Gramps 5.1.3 Bacula 11.0.5 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Install Clonezilla on Fedora 34.
On Mon, 28 Jun 2021 16:35:12 +0200 Ger van Dijck wrote: ... > How to install Clonezilla: > === > > 1 . rpmfusion-(non)(free)-release-34.noarch.rpm is inslalled. > 2 . https://github.com/rpmsphere/noarch/tree/master/r gives no such file or > directory. > > 3 . rpm -Uvh rpmsphere-release*rpm gives file not found by > glob:rpmsphere-release*rpm. > > 4 . dnf install clonezilla therefore gives no result. > > > Be so kind to inform me, > > > Ger van Dijck. > George N. White III > https://rpmsphere.github.io/ ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Install Clonezilla on Fedora 34.
On Wed, 23 Jun 2021 at 13:36, Ger van Dijck <mailto:ger.vandi...@edpnet.be>> wrote: Hi all, I tried to install Clonezilla on Fedora 34 . But no luck : I need help. That doesn't tell us what you tried or how it failed. Are you trying to install this package: https://fedora.pkgs.org/34/rpm-sphere-noarch/clonezilla-3.35.2-1.noarch.rpm.html <https://fedora.pkgs.org/34/rpm-sphere-noarch/clonezilla-3.35.2-1.noarch.rpm.html> Hi George , A bit late but : How to install Clonezilla: === 1 . rpmfusion-(non)(free)-release-34.noarch.rpm is inslalled. 2 . https://github.com/rpmsphere/noarch/tree/master/r gives no such file or directory. 3 . rpm -Uvh rpmsphere-release*rpm gives file not found by glob:rpmsphere-release*rpm. 4 . dnf install clonezilla therefore gives no result. Be so kind to inform me, Ger van Dijck. George N. White III ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: Install Clonezilla on Fedora 34.
On Wed, 23 Jun 2021 at 13:36, Ger van Dijck wrote: > Hi all, > > > I tried to install Clonezilla on Fedora 34 . > > > But no luck : I need help. > > That doesn't tell us what you tried or how it failed. Are you trying to install this package: https://fedora.pkgs.org/34/rpm-sphere-noarch/clonezilla-3.35.2-1.noarch.rpm.html -- George N. White III ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Install Clonezilla on Fedora 34.
Hi all, I tried to install Clonezilla on Fedora 34 . But no luck : I need help. Regards , Ger van Dijck. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Re: swapping the disk, with the operating system, using a clone made with CLONEZILLA
Hi, [?] I opened the computer with the new disk and -this time- miraculously it started perfectly. It remains me, now, only the problem of the restore grub. Amazing ... it need to have to have courage Thanks for your interest Angelo On Thu, Jan 22, 2015 at 11:55 AM, Chris Murphy li...@colorremedies.com wrote: On Thu, Jan 22, 2015 at 1:14 AM, Angelo Moreschini mrangelo.fed...@gmail.com wrote: However trying to restore on a different (new and virgin) Hard Disk, the operation fails. That's not specific enough. There are probably hundreds or even thousands of reasons for failure. Exactly how does it fail? When I I restore on a virgin HD the computer (after the grub message to choose the OS), loads fedora only in recovery mode OK when you say the restore operation fails, that suggests the restore operation did not complete. Now you're suggesting the restore completed, but the computer boots in recovery mode. Please take a photo of the screen when the computer is in this recovery mode. It sounds like it's not arriving at basic.target, and there are a bunch of reasons for that, but usually with software restore this is because /etc/fstab UUID doesn't match the actual volume UUID. But that's really basic, I'd think Clonezilla would know that if it's doing file copy cloning. And it wouldn't be necessary with block level cloning. So in any case we need more info. It is possible to restore the clone on any (different) HD or it is possible restore it only on the one HD from where the image was toke? The answer from Rick is that yes you can restore a clone to a different drive. But I can't tell exactly what you're doing step by step. So it might be useful to describe exactly how you created the clone, and then how you're doing the restore, literally a recipe so that someone who has never used clonezilla before could reproduce your results. if the restore can be done to any HD, ...how I can manage the change of symbol attributed to HD? Since I don't know exactly why it's failing, I can't tell you what or how to fix it yet. It could be many things. -- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: swapping the disk, with the operating system, using a clone made with CLONEZILLA
thanks for your answers I explain better . recently I started with Linux and, as a beginner, I made many mistakes that forced me to reinstall many times, both fedora that all the SW already installed. That is the way I decided to “invest some time” with clonezilla in order to prevent the possibility that these problems occurs again. Actually I made a clone with the image of the HD where is installed fedora and now I am doing some tests in order to know very well how much this clone is reliable and which are the possibilities that I can use it for recovering my system ... I took the image of the all HD (I used a new HD witjh 1 TB capacity). I know (for trying it) that with the clone I can perform good recovery when I use it on the same disk from which the image was taken. However trying to restore on a different (new and virgin) Hard Disk, the operation fails. When I I restore on a virgin HD the computer (after the grub message to choose the OS), loads fedora only in recovery mode Having no experience, I can not be sure that the recovery from a clone can be made on a new virgin HD .. and this is the reason why I posted this question . I can say that when I connected (on the computer) the virgin HD with the same cables that was connected the old HD it was detected with different values: /dev/sda if the original /dev/sdc if the HD is the new (the virgin one) Could this be, perhaps, be the cause of the problem ... Now I have two questions: - It is possible to restore the clone on any (different) HD or it is possible restore it only on the one HD from where the image was toke? - if the restore can be done to any HD, ...how I can manage the change of symbol attributed to HD? On Wed, Jan 21, 2015 at 11:35 PM, Chris Murphy li...@colorremedies.com wrote: On Wed, Jan 21, 2015 at 2:15 PM, Rick Stevens ri...@alldigital.com wrote: We do need more info other than the clone operation failed. I have cloned a large number of machines using Clonezilla using virgin drives (CentOS, Fedora, Ubuntu, Winblows). Many had the target drives larger than the original. I will say that they all used fdisk-style partition tables, though (no GPT tables). Yeah and it's a minor problem for the backup GPT to be in the wrong location, that alone wouldn't cause boot to fail unless the primary GPT were hosed somehow. The primary header points to the LBA of the backup header, which would still be valid if you had used something like dd or ddrescue. The problem is that if the primary header is hosed (missing, totally corrupt or checksum fails), a tool will assume the backup is at the end of the drive but won't find it there. Unless that tool is the kernel. Funny enough, the kernel itself right now doesn't fallback to the backup GPT if the primary one is corrupt. Instead boot fails. Not cool! [1] [1] mishandled corruption of primary GPT table, failure to boot https://bugzilla.kernel.org/show_bug.cgi?id=63591 -- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: swapping the disk, with the operating system, using a clone made with CLONEZILLA
On Thu, Jan 22, 2015 at 1:14 AM, Angelo Moreschini mrangelo.fed...@gmail.com wrote: However trying to restore on a different (new and virgin) Hard Disk, the operation fails. That's not specific enough. There are probably hundreds or even thousands of reasons for failure. Exactly how does it fail? When I I restore on a virgin HD the computer (after the grub message to choose the OS), loads fedora only in recovery mode OK when you say the restore operation fails, that suggests the restore operation did not complete. Now you're suggesting the restore completed, but the computer boots in recovery mode. Please take a photo of the screen when the computer is in this recovery mode. It sounds like it's not arriving at basic.target, and there are a bunch of reasons for that, but usually with software restore this is because /etc/fstab UUID doesn't match the actual volume UUID. But that's really basic, I'd think Clonezilla would know that if it's doing file copy cloning. And it wouldn't be necessary with block level cloning. So in any case we need more info. It is possible to restore the clone on any (different) HD or it is possible restore it only on the one HD from where the image was toke? The answer from Rick is that yes you can restore a clone to a different drive. But I can't tell exactly what you're doing step by step. So it might be useful to describe exactly how you created the clone, and then how you're doing the restore, literally a recipe so that someone who has never used clonezilla before could reproduce your results. if the restore can be done to any HD, ...how I can manage the change of symbol attributed to HD? Since I don't know exactly why it's failing, I can't tell you what or how to fix it yet. It could be many things. -- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: swapping the disk, with the operating system, using a clone made with CLONEZILLA
On 01/21/2015 12:22 PM, Chris Murphy wrote: On Tue, Jan 20, 2015 at 11:40 PM, Angelo Moreschini mrangelo.fed...@gmail.com wrote: Hi, I already used successfully clonezilla to backup my OS (fedora). I did this (only for exercise til now) restoring the OS on the original disk from which I had take the clone. Now I wanted to use my clone to restore fedora on a virgin HD. (for security reasons, I did not want restore the clone on the disk with the OS which I use currently). In this case, however, the operation failed. The clone operation failed? With what error message? That is why, I ask if restoring of a clone (made with clonezilla) can be carried out, in general, on any (virgin) HD. http://clonezilla.org/ Limitations: The destination partition must be equal or larger than the source one. Online imaging/cloning is not implemented yet. The partition to be imaged or cloned has to be unmounted. Maybe one of those is related. I can't tell whether you cloned the entire drive, or just a partition. I also don't know how clonezilla works, if it does file copies or if it's a sector copy to something like a sparsefile. If a whole drive clone is basically a dd or ddrescue sort of thing, then it ought to just work even if you go to a larger sized drive. The one small problem is if the drive has a GPT partition scheme, the backup GPT needs relocation if the new drive has a different number of sectors (even by 1 sector). Another possible issue is if the original (source) is not 4096 byte aligned but the new drive has 4096 physical sectors, then special handling is necessary or you'll get bad performance. I don't know if clonezilla knows this. It might know special handling is needed, but can't do it, so it fails. We do need more info other than the clone operation failed. I have cloned a large number of machines using Clonezilla using virgin drives (CentOS, Fedora, Ubuntu, Winblows). Many had the target drives larger than the original. I will say that they all used fdisk-style partition tables, though (no GPT tables). -- - Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com - - AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 - -- - Microsoft Windows: Proof that P.T. Barnum was right - -- -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: swapping the disk, with the operating system, using a clone made with CLONEZILLA
On Tue, Jan 20, 2015 at 11:40 PM, Angelo Moreschini mrangelo.fed...@gmail.com wrote: Hi, I already used successfully clonezilla to backup my OS (fedora). I did this (only for exercise til now) restoring the OS on the original disk from which I had take the clone. Now I wanted to use my clone to restore fedora on a virgin HD. (for security reasons, I did not want restore the clone on the disk with the OS which I use currently). In this case, however, the operation failed. The clone operation failed? With what error message? That is why, I ask if restoring of a clone (made with clonezilla) can be carried out, in general, on any (virgin) HD. http://clonezilla.org/ Limitations: The destination partition must be equal or larger than the source one. Online imaging/cloning is not implemented yet. The partition to be imaged or cloned has to be unmounted. Maybe one of those is related. I can't tell whether you cloned the entire drive, or just a partition. I also don't know how clonezilla works, if it does file copies or if it's a sector copy to something like a sparsefile. If a whole drive clone is basically a dd or ddrescue sort of thing, then it ought to just work even if you go to a larger sized drive. The one small problem is if the drive has a GPT partition scheme, the backup GPT needs relocation if the new drive has a different number of sectors (even by 1 sector). Another possible issue is if the original (source) is not 4096 byte aligned but the new drive has 4096 physical sectors, then special handling is necessary or you'll get bad performance. I don't know if clonezilla knows this. It might know special handling is needed, but can't do it, so it fails. -- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: swapping the disk, with the operating system, using a clone made with CLONEZILLA
On Wed, Jan 21, 2015 at 2:15 PM, Rick Stevens ri...@alldigital.com wrote: We do need more info other than the clone operation failed. I have cloned a large number of machines using Clonezilla using virgin drives (CentOS, Fedora, Ubuntu, Winblows). Many had the target drives larger than the original. I will say that they all used fdisk-style partition tables, though (no GPT tables). Yeah and it's a minor problem for the backup GPT to be in the wrong location, that alone wouldn't cause boot to fail unless the primary GPT were hosed somehow. The primary header points to the LBA of the backup header, which would still be valid if you had used something like dd or ddrescue. The problem is that if the primary header is hosed (missing, totally corrupt or checksum fails), a tool will assume the backup is at the end of the drive but won't find it there. Unless that tool is the kernel. Funny enough, the kernel itself right now doesn't fallback to the backup GPT if the primary one is corrupt. Instead boot fails. Not cool! [1] [1] mishandled corruption of primary GPT table, failure to boot https://bugzilla.kernel.org/show_bug.cgi?id=63591 -- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
swapping the disk, with the operating system, using a clone made with CLONEZILLA
Hi, I already used successfully clonezilla to backup my OS (fedora). I did this (only for exercise til now) *restoring the OS on the original disk from which I had **take** the clone*. Now I wanted to use my clone to restore fedora on a virgin HD. (for security reasons, I did not want restore the clone on the disk with the OS which I use currently). In this case, however, the operation failed. That is why, I ask if *restor**ing** of a clone (made with clonezilla) can be carried out, in general, on a**ny* *(**v**i**rg**i**n**) HD**.* I would like to get an answer to this question. Thank You Regards Angelo -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
GRUB setup (after using clonezilla)
Hi, I tried Clonezilla. I made an image-backup of the disk where Fedora is installed, and after I restored, on the same disk, the image that I backuped . Actually, when I boot the disk where there is the restored image,at the begin I get the prompt of the GRUB . I know that I didn't use Clonezilla in correct mode (probabilly I could backup the disck with better option to include the GRUB installation) . But in this moment I woud like to make setup of GRUB (from the command line) for booting Fedora. Can I have some suggestions how to do it? From the prompt of GRUB I wrote this command line: and I got this output: --- GRUB ls -l device proc: filesystem type procfs sector size 512 total size 0KiB device hd0: no know filesystem detected sector size 512 B total size ... partition hd0, msdos2: no know filesystem detected partion start at .. tot size partition hd0, msdos1: filesystem type ext* last mod ..partion start at .. tot sz device hd1: no know filesystem detected sector size 512 B total size ... partition hd1, msdos1: filesystem type ext* label try_clonezilla last mod. ...partion start at .. tot sz Thenk you regards Angelo -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: GRUB setup (after using clonezilla)
On Mon, Dec 1, 2014 at 9:31 AM, Angelo Moreschini mrangelo.fed...@gmail.com wrote: Hi, I tried Clonezilla. I made an image-backup of the disk where Fedora is installed, and after I restored, on the same disk, the image that I backuped . Actually, when I boot the disk where there is the restored image,at the begin I get the prompt of the GRUB . I know that I didn't use Clonezilla in correct mode (probabilly I could backup the disck with better option to include the GRUB installation) . But in this moment I woud like to make setup of GRUB (from the command line) for booting Fedora. Can I have some suggestions how to do it? From the prompt of GRUB I wrote this command line: and I got this output: --- GRUB ls -l device proc: filesystem type procfs sector size 512 total size 0KiB device hd0: no know filesystem detected sector size 512 B total size ... partition hd0, msdos2: no know filesystem detected partion start at .. tot size partition hd0, msdos1: filesystem type ext* last mod ..partion start at .. tot sz device hd1: no know filesystem detected sector size 512 B total size ... partition hd1, msdos1: filesystem type ext* label try_clonezilla last mod. ...partion start at .. tot sz I'm not following this really. GRUB2 doesn't do setup from command line, and its command line doesn't accept 'ls -l' as a command. -- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: GRUB setup (after using clonezilla)
On Mon, Dec 1, 2014 at 2:20 PM, Chris Murphy li...@colorremedies.com wrote: On Mon, Dec 1, 2014 at 9:31 AM, Angelo Moreschini mrangelo.fed...@gmail.com wrote: Hi, I tried Clonezilla. I made an image-backup of the disk where Fedora is installed, and after I restored, on the same disk, the image that I backuped . Actually, when I boot the disk where there is the restored image,at the begin I get the prompt of the GRUB . I know that I didn't use Clonezilla in correct mode (probabilly I could backup the disck with better option to include the GRUB installation) . But in this moment I woud like to make setup of GRUB (from the command line) for booting Fedora. Can I have some suggestions how to do it? From the prompt of GRUB I wrote this command line: and I got this output: --- GRUB ls -l device proc: filesystem type procfs sector size 512 total size 0KiB device hd0: no know filesystem detected sector size 512 B total size ... partition hd0, msdos2: no know filesystem detected partion start at .. tot size partition hd0, msdos1: filesystem type ext* last mod ..partion start at .. tot sz device hd1: no know filesystem detected sector size 512 B total size ... partition hd1, msdos1: filesystem type ext* label try_clonezilla last mod. ...partion start at .. tot sz I'm not following this really. GRUB2 doesn't do setup from command line, and its command line doesn't accept 'ls -l' as a command. Interesting. UEFI systems with GRUB consider ls -l considers -l an invalid filename so I get an error. But on BIOS systems, this command does work. Anyway, if you find Fedora netinstall or DVD media, and add boot parameter 'rescue' (without the quotes) then you'll get a rescue interface. Accept all the defaults for each page, and then at the end when you get the prompt do # chroot /mnt/sysimage # grub2-install /dev/sdX ## where X is the letter designation for your drive # grub2-mkconfig -o /boot/grub2/grub.cfg This installs GRUBs parts, and will also create a new grub.cfg. The old grub.cfg would probably work so it's possible you could skip creating a new one. -- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: GRUB setup (after using clonezilla)
Hi Chris I can not tell you from where comes the grub prompt, because it came, to me, by chance. But if I type help, then comes a long list of commands, including 'l' ... However, I can not nor to print this list and even I cannot read it, because I can not stop the scroll of the screen. I tried what you suggested: at the boot prompt I typed rescue, but I got: coluld not find kernel image.. --- boot rescue coluld not find kernel image.. -- can you explain me ? thank you On Tue, Dec 2, 2014 at 12:08 AM, Chris Murphy li...@colorremedies.com wrote: On Mon, Dec 1, 2014 at 2:20 PM, Chris Murphy li...@colorremedies.com wrote: On Mon, Dec 1, 2014 at 9:31 AM, Angelo Moreschini mrangelo.fed...@gmail.com wrote: Hi, I tried Clonezilla. I made an image-backup of the disk where Fedora is installed, and after I restored, on the same disk, the image that I backuped . Actually, when I boot the disk where there is the restored image,at the begin I get the prompt of the GRUB . I know that I didn't use Clonezilla in correct mode (probabilly I could backup the disck with better option to include the GRUB installation) . But in this moment I woud like to make setup of GRUB (from the command line) for booting Fedora. Can I have some suggestions how to do it? From the prompt of GRUB I wrote this command line: and I got this output: --- GRUB ls -l device proc: filesystem type procfs sector size 512 total size 0KiB device hd0: no know filesystem detected sector size 512 B total size ... partition hd0, msdos2: no know filesystem detected partion start at .. tot size partition hd0, msdos1: filesystem type ext* last mod ..partion start at .. tot sz device hd1: no know filesystem detected sector size 512 B total size ... partition hd1, msdos1: filesystem type ext* label try_clonezilla last mod. ...partion start at .. tot sz I'm not following this really. GRUB2 doesn't do setup from command line, and its command line doesn't accept 'ls -l' as a command. Interesting. UEFI systems with GRUB consider ls -l considers -l an invalid filename so I get an error. But on BIOS systems, this command does work. Anyway, if you find Fedora netinstall or DVD media, and add boot parameter 'rescue' (without the quotes) then you'll get a rescue interface. Accept all the defaults for each page, and then at the end when you get the prompt do # chroot /mnt/sysimage # grub2-install /dev/sdX ## where X is the letter designation for your drive # grub2-mkconfig -o /boot/grub2/grub.cfg This installs GRUBs parts, and will also create a new grub.cfg. The old grub.cfg would probably work so it's possible you could skip creating a new one. -- Chris Murphy -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Maybe O/T: Cloned dual boot HDD using Clonezilla now XP won't boot
Hi folks. I've just had to clone the HDD on my DELL Vostro 1510 laptop. I've replaced the old 300GB Toshiba drive with a new 1TB Tosh using a doner PC running Clonezilla. Having the manually fdisk the new drive to select the new partition sizes was interesting but otherwise a great product. Everything seems to have copied across okay, with the GRUB loader and my Fedora 19 system both working fine. However, despite the NTFS partition appearing to have copied successfully when I select WinXP to boot, the screen goes black in text mode with the cursor flashing in the top left corner. There is no HDD activity and nothing happens. Can anyone point me to a possible answer. Is it something I need to do to GRUB or is it XP that has the problem? I think it may be the former as XP doesn't even seem to start. -- Gary Stainburn Group I.T. Manager Ringways Garages http://www.ringways.co.uk -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Maybe O/T: Cloned dual boot HDD using Clonezilla now XP won't boot
I can mount the partition in Fedora and everything looks fine. fdisk shows the same partition table as on the old drive - apart from the increase in size of sda1 and sda6. However, if I boot from the WinXP CD and try to recover the system it says no hard drives detected. As the HDD appears in the BIOS and obviously works to let me boot Fedora I'm guessing it just means that it can't see the NTFS partition. This does maybe mean now that GRUB is fine (as Fedora boots) and the problem is with the NTFS partition. Anyone got any suggestions? Command (m for help): p Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk label type: dos Disk identifier: 0x926c926c Device Boot Start End Blocks Id System /dev/sda12048 524290047 2621440007 HPFS/NTFS/exFAT /dev/sda2 524290048 525723647 716800 83 Linux /dev/sda3 525723648 534112255 4194304 82 Linux swap / Solaris /dev/sda4 534112256 1953525167 7097064565 Extended /dev/sda5 534114304 743829503 104857600 83 Linux /dev/sda6 743831552 1953525167 604846808 83 Linux Command (m for help): [root@gary ~]# mount|grep sda /dev/sda5 on / type ext4 (rw,relatime,seclabel,data=ordered) /dev/sda2 on /boot type ext4 (rw,relatime,seclabel,data=ordered) /dev/sda1 on /windows type fuseblk (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096) /dev/sda6 on /home type ext4 (rw,relatime,seclabel,data=ordered) [root@gary ~]# -- Gary Stainburn Group I.T. Manager Ringways Garages http://www.ringways.co.uk -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Maybe O/T: Cloned dual boot HDD using Clonezilla now XP won't boot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/20/14 05:26, Gary Stainburn wrote: Can anyone point me to a possible answer. Is it something I need to do to GRUB or is it XP that has the problem? I think it may be the former as XP doesn't even seem to start. I'll take a stab at it. How big is the WinXP partition? IIRC, XP didn't really like big boot partitions. If WinXP can't find the HDD, it may be the drive geometry is beyond what XP can handle. (Like a said, just a stab. I've never been good with knives.) - -- Mark Haney Network/Systems Administrator Practichem W: (919) 714-8428 Fedora release 20 (Heisenbug) 3.13.6-200.fc20.x86_64 -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTKvXqAAoJEM/YzwEAv6e7iAIH/RUSHiGf1I3T1LDRa2GGM7mk 5Km0d/RzdfCD1d3XJft5nJtSZVK6wOzbVWlboGU2tv/HxdoQhv99Tyeu+LVIkE+K /Jedtp4QHzTuLb171vIi6huPFgCX7OW1FeG/awAhPpqOFdF72OOr982LKAs0jacw o4U1jJQC69dvZL5Qg68GQNzPUeIyfGvOYKe2wYPzq6/oQsGTVg67J7Sh70N5NVgn 8dnsCkjGCUJRpkGUsH+Wbr9wRm6+dPkuCs9hRxq472XD7kLXkC2sbiWNVFpQhkBW J7Avl5JRq5TrOTbTahObbJmROQYufMReqEGVreXaBuioDI72dWhmxXXnfjLERKs= =zNhO -END PGP SIGNATURE- -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Maybe O/T: Cloned dual boot HDD using Clonezilla now XP won't boot
On 03/20/2014 07:06 AM, Mark Haney issued this missive: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/20/14 05:26, Gary Stainburn wrote: Can anyone point me to a possible answer. Is it something I need to do to GRUB or is it XP that has the problem? I think it may be the former as XP doesn't even seem to start. I'll take a stab at it. How big is the WinXP partition? IIRC, XP didn't really like big boot partitions. If WinXP can't find the HDD, it may be the drive geometry is beyond what XP can handle. (Like a said, just a stab. I've never been good with knives.) I missed this bit, but are you using a GPT (parted) or MBR partition table? The MBR mechanism has a 2TB/disk limit (using 512-byte sectors). If you bump the sector size to larger (e.g. 4KB), then it becomes 16TB. Problem is that WinXP doesn't understand GPT, so if you're using GPT you can't use XP. Later versions of Winblows (Vista, 7, 8, etc.) do understand GPT. Also remember that after April 8, XP support ends. I think you can buy a Win 8 OEM DVD for about $125 and I think you can update your existing XP to that without losing data. If not, then use Linux to back up your XP data and install fresh, but get the devil off Winblows XP. -- - Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com - - AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 - -- - Life: That which happens while you search for the remote control. - -- -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Maybe O/T: Cloned dual boot HDD using Clonezilla now XP won't boot
On 03/20/2014 06:41 AM, Gary Stainburn wrote: I can mount the partition in Fedora and everything looks fine. fdisk shows the same partition table as on the old drive - apart from the increase in size of sda1 and sda6. However, if I boot from the WinXP CD and try to recover the system it says no hard drives detected. As the HDD appears in the BIOS and obviously works to let me boot Fedora I'm guessing it just means that it can't see the NTFS partition. This does maybe mean now that GRUB is fine (as Fedora boots) and the problem is with the NTFS partition. Anyone got any suggestions? You must activate the Windows system (partition?) in order to boot any Windows. I just went thru it with Windows 8, having copied it from a defective hard drive. (By itself on the old drive, it worked, but other things didn't.) The activate command in GParted did not do the job. One of the following two programs--I think the second--had the proper command that worked. If I remember, you can't run them from the unbootable system! Anyway, the programs are free and downloadable from the internet. EaseUs Todo Backup DriveImage XML Now I can boot into Windows without any trouble, from the GRUB menu. (Using legacy grub with PCLOS.) BTW: someone on one of these lists pointed out that as long as anti-malware programs exist and can be used for XP, there is not a real good reason that you would have to ditch it. I tried to update an old Dell laptop to Windows 7 and found it was just too slow to live with. Depending on what you do with your machine, you might want to just live with a Linux distro and forget XP. I find that there are only a very few programs that I need Windows for, like AutoCAD and WordPerfect, and a programming update for Garmin GPS. The first two will not run in WINE, don't know about Garmin. --doug -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org