Re: [Clonezilla-live] Restoring drive image partition from full drive image
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
From: Steven S. <st...@nc...> - 2009-06-03 05:39:21
|
Hi Steve, Steve Poe wrote: > Steven, > > When we create an image, we use -t1 and -j3 (dd) options. We're on > Lenovo laptops running XP. In this case, you should see an error in red: "No source partition table file was assigned!" when you restoring the image. Didn't you see that ? To use "-k1", there must exist such a sda-pt.sf file so it can be a reference to create proportional partition table. Maybe something went wrong when you saved an image ? Normally no matter which advanced options you choose, a sda-pt.sf should be created. Please try to save it again. BTW, "-j3" is no more for a long time... Which version of Clonezilla live are you using now ? Steven. > > This is what I see: > > [cloneadmin@dthqclone 2009-05-13-T60P-XP]$ ls -alFh > total 13G > drwxr-xr-x 2 cloneadmin cloneadmin 4.0K May 13 18:07 ./ > drwxrwxr-x 6 cloneadmin cloneadmin 4.0K Jun 1 10:42 ../ > -rwxr--r-- 1 cloneadmin cloneadmin 4 May 13 18:07 disk* > -rwxr--r-- 1 cloneadmin cloneadmin 14K May 13 18:07 Info-dmi.txt* > -rwxr--r-- 1 cloneadmin cloneadmin 18K May 13 18:07 Info-lshw.txt* > -rwxr--r-- 1 cloneadmin cloneadmin 263 May 13 18:07 Info-packages.txt* > -rwxr--r-- 1 cloneadmin cloneadmin 10 May 13 18:07 parts* > -rw------- 1 cloneadmin cloneadmin 2.0G May 13 17:46 sda1.ntfs-img.aa > -rw------- 1 cloneadmin cloneadmin 2.0G May 13 17:50 sda1.ntfs-img.ab > -rw------- 1 cloneadmin cloneadmin 2.0G May 13 17:53 sda1.ntfs-img.ac > -rw------- 1 cloneadmin cloneadmin 2.0G May 13 17:57 sda1.ntfs-img.ad > -rw------- 1 cloneadmin cloneadmin 2.0G May 13 18:01 sda1.ntfs-img.ae > -rw------- 1 cloneadmin cloneadmin 2.0G May 13 18:04 sda1.ntfs-img.af > -rw------- 1 cloneadmin cloneadmin 80M May 13 18:05 sda1.ntfs-img.ag > -rw------- 1 cloneadmin cloneadmin 813M May 13 18:06 sda2.ntfs-img.aa > -rwxr--r-- 1 cloneadmin cloneadmin 37 May 13 17:42 sda-chs.sf* > -rwxr--r-- 1 cloneadmin cloneadmin 31K May 13 17:42 > sda-hidden-data-after-mbr* > -rwxr--r-- 1 cloneadmin cloneadmin 512 May 13 17:42 sda-mbr* > -rwxr--r-- 1 cloneadmin cloneadmin 340 May 13 17:42 sda-pt.parted* > [cloneadmin@dthqclone 2009-05-13-T60P-XP]$ > > > > > -----Original Message----- > From: Steven Shiau [mailto:st...@nc...] > Sent: Tuesday, June 02, 2009 6:45 AM > To: Steve Poe > Cc: clo...@li... > Subject: Re: [Clonezilla-live] Restoring drive image partition from full > drive image > > Hi Steve, > > Steve Poe wrote: >> Some additional info I needed to send you: >> >> There isn't a .sf file. In the image only a sda-pt.parted There is an >> sda-chs-sf. >> > No sda-pt.sf ? Then that's the problem... How come there is no sda-pt.sf > > ? Did you see any error message when saving an image ? > > What are the results when you run: > ls -alFh /home/partimag/$YOUR_IMAGE_NAME > > Steven. >> Sfdisk -d /dev/sda reports: >> >> /dev/sda1 : start= 63 size=72817857 id=7, bootable >> /dev/sda2 : start= 72817920, size= 122547600, id=7 >> >> Steve >> >> This test is on a Lenovo T60P. >> >> -----Original Message----- >> From: Steven Shiau [mailto:st...@nc...] >> Sent: Friday, May 29, 2009 8:17 PM >> To: Steve Poe >> Subject: Re: [Clonezilla-live] Restoring drive image partition from > full >> drive image >> >> So you mean "-k1" fails there ? >> Maybe you show the content of partition table in the saved image to > me, >> by running something like: >> cat /home/partimag/$YOUR_IMAGE_NAME/hda-pt.sf >> and the created partition table by: >> sfdisk -d /dev/hda >> >> BTW, could you please tell me the exactly every step you have done ? > It >> will be easier for me to follow. >> >> Steven. >> >> Steve Poe wrote: >> >>> I tried "-k1" by itself. >>> >>> -----Original Message----- >>> From: Steven Shiau [mailto:st...@nc...] >>> Sent: Friday, May 29, 2009 8:04 AM >>> To: Steve Poe >>> Subject: Re: [Clonezilla-live] Restoring drive image partition from >>> >> full >> >>> drive image >>> >>> >>> Steve Poe wrote: >>> >>> >>>> I tried this but the full image still loaded according to 120GB > drive >>>> configuration. The resizing partition did not adjust the partitions >>>> according to the 160GB drive the image was loaded on. >>>> >>>> >>>> >>>> >>> "-r" option is to resize the "filesystem" size to fit the "partition" > >>> size. It's nothing to do with the partition table on the hard drive. >>> This is a little complicated... >>> "-k1" is different, it means clonezilla will create the partition >>> >> table >> >>> proportionally. >>> Which one did you use ? >>> >>> Steven. >>> >>> >>>> Thanks. >>>> >>>> Steve >>>> >>>> -----Original Message----- >>>> From: Steven Shiau [mailto:st...@nc...] >>>> Sent: Tuesday, May 26, 2009 6:39 PM >>>> To: Steve Poe >>>> Cc: clo...@li... >>>> Subject: Re: [Clonezilla-live] Restoring drive image partition from >>>> >>>> >>> full >>> >>> >>>> drive image >>>> >>>> Hi Steve, >>>> By default, when restoring partitions, if not partition table exists >>>> >>>> >>> on >>> >>> >>>> the target disk, clonezilla won't do that. If you choose "-k1" > option >>>> >>>> >>> in >>> >>> >>>> the expert mode, Clonezilla will try to create a proportional >>>> >>>> >>> partition >>> >>> >>>> table for you. The problem is, all the steps are done at the same >>>> >>>> >>> time. >>> >>> >>>> Therefore you might have problem... >>>> We will try to improve this in the future release. >>>> >>>> Thanks for raising this. >>>> >>>> Steven. >>>> >>>> Steve Poe wrote: >>>> >>>> >>>> >>>>> I am trying to restore a primary partition (Windows) onto a blank >>>>> >>>>> >>>>> >>>> drive >>>> >>>> >>>> >>>>> from a full image created with (3 partitions). I only want to >>>>> >> restore >> >>>>> >>>>> >>> >>> >>>>> the main Windows partition and the boot record. When I attempt to >>>>> restore the sda1, Clonezilla generates an error no unmounted >>>>> >>>>> >>>>> >>>> partitions >>>> >>>> >>>> >>>>> are found. If I manually create the partition, then I can load it. >>>>> >>>>> What I want Clonezilla to do is read the partition size from the >>>>> >>>>> >>>>> >>>> image, >>>> >>>> >>>> >>>>> create it, add the MBR, but not care that I do not want to restore >>>>> >>>>> >>>>> >>>> sda2 >>>> >>>> >>>> >>>>> or sda3. >>>>> >>>>> How would I do this? >>>>> >>>>> Thanks >>>>> >>>>> Steve >>>>> >>>>> ****************************************************************** >>>>> DemandTec Email Notice >>>>> >>>>> This email and any attachments may contain confidential and/or >>>>> >>>>> >>>>> >>>> proprietary >>>> >>>> >>>> >>>>> information and is intended solely for the use of the addressee. If >>>>> >>>>> >>>>> >>>> you are >>>> >>>> >>>> >>>>> not the intended recipient we request that you notify us via email >>>>> >> or >> >>>>> >>>>> >>>>> >>>> telephone >>>> >>>> >>>> >>>>> and delete all copies of the message from your systems. >>>>> >> Additionally, >> >>>>> >>>>> >>>>> >>>> although >>>> >>>> >>>> >>>>> DemandTec has taken reasonable precautions to ensure the security > of >>>>> >>>>> >>>>> >>>> this email >>>> >>>> >>>> >>>>> and any attachments, we encourage you to take similar precautions >>>>> >> and >> >>>>> >>>>> >>>>> >>>> accept no >>>> >>>> >>>> >>>>> liability for any loss or damage resulting from its use. >>>>> >>>>> DemandTec, 1 Circle Star Way, Suite 200, San Carlos, CA 94070, >>>>> >>>>> >>>>> >>>> 650-226-4600 >>>> >>>> >>>> >>>>> >>>>> >>>>> > ------------------------------------------------------------------------ >> >>> >>> >>>> >>>> >>>> >>>>> >>>>> >>>>> > ------------------------------------------------------------------------ >> >>> >>> >>>> ------ >>>> >>>> >>>> >>>>> Register Now for Creativity and Technology (CaT), June 3rd, NYC. > CaT >>>>> >> >>>>> is a gathering of tech-side developers & brand creativity >>>>> >>>>> >>>>> >>>> professionals. Meet >>>> >>>> >>>> >>>>> the minds behind Google Creative Lab, Visual Complexity, > Processing, >>>>> >>>>> >>> & >>> >>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>>> iPhoneDevCamp as they present alongside digital heavyweights like >>>>> >>>>> >>>>> >>>> Barbarian >>>> >>>> >>>> >>>>> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > >>>>> >>>>> >>>>> >>>>> >>>>> > ------------------------------------------------------------------------ >> >>> >>> >>>> >>>> >>>> >>>>> _______________________________________________ >>>>> 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 |