Thread: [Clonezilla-live] Success in my first attempt with CloneZilla
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
|
From: John O. <jo...@gm...> - 2009-11-21 23:04:54
|
Steven, I found all the favorable comment about CloneZilla on the web while looking for a way to clone a new Ubuntu Koala grub2/ext4 install. The current version of CloneZilla with the Koala kernel did indeed work. One error message appeared in the section about reinstalling grub2: chroot: cannot run command '/grub2-sh-RSkJuV': Exec format error However, the newly cloned drive did boot up (after I reset the harddrive boot order in BIOS). Is this error something that I need to fix? Many thanks for a GREAT LiveCD! John |
|
From: Steven S. <st...@nc...> - 2009-11-25 01:04:10
|
Hi John, John Ouzts wrote: > Steven, > > I found all the favorable comment about CloneZilla on the web while > looking for a way to clone a new Ubuntu Koala grub2/ext4 install. The > current version of CloneZilla with the Koala kernel did indeed work. One > error message appeared in the section about reinstalling grub2: Thanks for the bug report. > > chroot: cannot run command '/grub2-sh-RSkJuV': Exec format error This temp file is actually a script file to run the command update-grub2 in the restored OS in the chroot environment. Now idea why it fails... Is this problem reproducible? Regards, Steven. > > However, the newly cloned drive did boot up (after I reset the harddrive > boot order in BIOS). Is this error something that I need to fix? > > Many thanks for a GREAT LiveCD! > > John > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |
|
From: Mr. T. En M. (Z. Enming) <spa...@gm...> - 2009-11-25 02:57:49
|
On Sun, Nov 22, 2009 at 7:04 AM, John Ouzts <jo...@gm...> wrote: > Steven, > > I found all the favorable comment about CloneZilla on the web while looking > for a way to clone a new Ubuntu Koala grub2/ext4 install. The current > version of CloneZilla with the Koala kernel did indeed work. One error > message appeared in the section about reinstalling grub2: > chroot: cannot run command '/grub2-sh-RSkJuV': Exec format error > However, the newly cloned drive did boot up (after I reset the harddrive > boot order in BIOS). Is this error something that I need to fix? > Many thanks for a GREAT LiveCD! > John > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live > > Exec format error is usually caused by difference in the OS architectures, i.e. 32-bit vs 64-bit. -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com My Secondary Blog: http://enmingteo.wordpress.com My Youtube videos: http://www.youtube.com/user/enmingteo Email: spa...@gm... Mobile Phone (Starhub Prepaid): +65-8369-2618 Street: Bedok Reservoir Road Country: Singapore |
|
From: Steven S. <st...@nc...> - 2009-11-25 03:00:46
|
The problem is, it's a shell script, and it's created by Clonezill runtime... I still can not figure it out... Steven. Mr. Teo En Ming (Zhang Enming) wrote: > On Sun, Nov 22, 2009 at 7:04 AM, John Ouzts <jo...@gm...> wrote: >> Steven, >> >> I found all the favorable comment about CloneZilla on the web while looking >> for a way to clone a new Ubuntu Koala grub2/ext4 install. The current >> version of CloneZilla with the Koala kernel did indeed work. One error >> message appeared in the section about reinstalling grub2: >> chroot: cannot run command '/grub2-sh-RSkJuV': Exec format error >> However, the newly cloned drive did boot up (after I reset the harddrive >> boot order in BIOS). Is this error something that I need to fix? >> Many thanks for a GREAT LiveCD! >> John >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Clonezilla-live mailing list >> Clo...@li... >> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >> >> > > Exec format error is usually caused by difference in the OS > architectures, i.e. 32-bit vs 64-bit. > -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |
|
From: John O. <jo...@gm...> - 2009-11-25 13:13:48
|
Steven, It is reproducible. I got the exact same error message (except as grub2-sh-yOloXz) in cloning the operating system drive in my second mythtv backend box. Both machines use the same 64 bit Koala install on ASUS M2A-VM HDMI mobos with Seagate drives. What seems unusual to me is that both machines had had separate boot partitions at one time, which had been combined into one ext4 primary partition during the Koala install, when I used automatic partitioning in both cases. The harddrive size increased in both machines during the Clonezilla disk cloning, from Seagate 400GB drives up to 500 in the first case and 750 in the second. In both cases, the swap space appears as the sole item in the extended partition with ~100GB/~350GB of unallocated space thereafter. I used GPartEd to shift the extended partition (and swap) to the end of the drive and expand the primary partition to ~690+GBs on the second machine. I have not altered the 500GB primary cloned drive yet. Please let me know if I can provide you with any more information. I have been looking for grub2 howtos on the web. The sheer volume of conflicting material is off-putting. More power to you in providing such a helpful product. John On Tue, Nov 24, 2009 at 8:03 PM, Steven Shiau <st...@nc...> wrote: > Hi John, > > > > John Ouzts wrote: > >> Steven, >> >> I found all the favorable comment about CloneZilla on the web while >> looking for a way to clone a new Ubuntu Koala grub2/ext4 install. The >> current version of CloneZilla with the Koala kernel did indeed work. One >> error message appeared in the section about reinstalling grub2: >> > Thanks for the bug report. > > >> chroot: cannot run command '/grub2-sh-RSkJuV': Exec format error >> > > This temp file is actually a script file to run the command update-grub2 in > the restored OS in the chroot environment. Now idea why it fails... Is this > problem reproducible? > > Regards, > Steven. > >> >> However, the newly cloned drive did boot up (after I reset the harddrive >> boot order in BIOS). Is this error something that I need to fix? >> >> Many thanks for a GREAT LiveCD! >> >> John >> >> >> >> ------------------------------------------------------------------------ >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day trial. Simplify your report design, integration and deployment - and >> focus on what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Clonezilla-live mailing list >> Clo...@li... >> https://lists.sourceforge.net/lists/listinfo/clonezilla-live >> > > -- > Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> > National Center for High-performance Computing, Taiwan. > http://www.nchc.org.tw > Public Key Server PGP Key ID: 1024D/9762755A > Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A > |
|
From: Steven S. <st...@nc...> - 2009-11-25 15:18:08
|
Hi John, If you can, please try these (Of course, backup important data first): 1. Boot clonezilla live on the machine you you can reproduce the problem 2. Enter command line prompt 3. sudo -i 4. . /opt/drbl/sbin/ocs-functions 5. set -x 6. run_grub2_from_restored_os "$grub_partition" "$found_root_partition" "/dev/$grub_hd" Please replace $grub_partition with your grub partition, e.g. /dev/sda1 Replace "$found_root_partition" with your root (/) partition, if you do not separate the /boot from /, this value should be the same with "grub_partition". Replace "/dev/$grub_hd" with your grub disk, e.g. /dev/sda in this case. The complete command is like: run_grub2_from_restored_os /dev/sda1 /dev/sda1 /dev/sda Please show me the output on the screen. If you are familiar with command "screen", you can enter screen in the step (3) so it's easier for you to copy and paste the results. Thanks in advance. Steven. John Ouzts wrote: > Steven, > > It is reproducible. I got the exact same error message (except as > grub2-sh-yOloXz) in cloning the operating system drive in my second > mythtv backend box. Both machines use the same 64 bit Koala install on > ASUS M2A-VM HDMI mobos with Seagate drives. What seems unusual to me > is that both machines had had separate boot partitions at one time, > which had been combined into one ext4 primary partition during the > Koala install, when I used automatic partitioning in both cases. > > The harddrive size increased in both machines during the Clonezilla > disk cloning, from Seagate 400GB drives up to 500 in the first case > and 750 in the second. In both cases, the swap space appears as the > sole item in the extended partition with ~100GB/~350GB of unallocated > space thereafter. I used GPartEd to shift the extended partition (and > swap) to the end of the drive and expand the primary partition to > ~690+GBs on the second machine. I have not altered the 500GB primary > cloned drive yet. > > Please let me know if I can provide you with any more information. I > have been looking for grub2 howtos on the web. The sheer volume of > conflicting material is off-putting. More power to you in providing > such a helpful product. > > John > > > > > > On Tue, Nov 24, 2009 at 8:03 PM, Steven Shiau <st...@nc... > <mailto:st...@nc...>> wrote: > > Hi John, > > > > John Ouzts wrote: > > Steven, > > I found all the favorable comment about CloneZilla on the web > while looking for a way to clone a new Ubuntu Koala grub2/ext4 > install. The current version of CloneZilla with the Koala > kernel did indeed work. One error message appeared in the > section about reinstalling grub2: > > Thanks for the bug report. > > > chroot: cannot run command '/grub2-sh-RSkJuV': Exec format error > > > This temp file is actually a script file to run the command > update-grub2 in the restored OS in the chroot environment. Now > idea why it fails... Is this problem reproducible? > > Regards, > Steven. > > > However, the newly cloned drive did boot up (after I reset the > harddrive boot order in BIOS). Is this error something that I > need to fix? > > Many thanks for a GREAT LiveCD! > > John > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day trial. Simplify your report design, > integration and deployment - and focus on what you do best, > core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > <mailto:Clo...@li...> > https://lists.sourceforge.net/lists/listinfo/clonezilla-live > > > -- > Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> > National Center for High-performance Computing, Taiwan. > http://www.nchc.org.tw > Public Key Server PGP Key ID: 1024D/9762755A > Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A > > -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |
|
From: Steven S. <st...@nc...> - 2009-12-30 09:47:04
|
Hi John, The "chroot: cannot run command '/grub2-sh-RSkJuV': Exec format error" issue should have been fixed in Clonezilla live 1.2.3-23 or 20091230-karmic. Could you please give it a try and let us know the results? Thanks. Steven. On 2009/11/22 上午 07:04, John Ouzts wrote: > Steven, > > I found all the favorable comment about CloneZilla on the web while > looking for a way to clone a new Ubuntu Koala grub2/ext4 install. The > current version of CloneZilla with the Koala kernel did indeed work. One > error message appeared in the section about reinstalling grub2: > > chroot: cannot run command '/grub2-sh-RSkJuV': Exec format error > > However, the newly cloned drive did boot up (after I reset the harddrive > boot order in BIOS). Is this error something that I need to fix? > > Many thanks for a GREAT LiveCD! > > John > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > > _______________________________________________ > Clonezilla-live mailing list > Clo...@li... > https://lists.sourceforge.net/lists/listinfo/clonezilla-live > > --===============39269408305456 -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A |