Dear Steve,
I have posted to this list and the first time the message was held:
'Your mail to 'Clonezilla-live' with the subject
Clonezilla fails to restore a partition - How can I mend this?
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post by non-member to a members-only list'
Therefore, I registed again, accepted the confirmation message and was
sent a confirmation/welcome Email.
Guess what: I posted again and the Email I sent disappeared. I await the
same message as above.
Below is the original message I sent (a cry for help):
Dear all,
I backed up a partition as a file. After I installed the new disc drive
and booted CZ, I instructed it to restore a partition from an image.
Part of the process involved telling which file to use, which it found. In
this case:
/2009-08-20-20-WXP.img
The new disc is blank - It has no partitions on it. This is because I had
thought that I had instructed CZ to back up sda1 (Windows XP) to an image,
with the intention to use CZ to restore of image back onto sda1. Slight
hitch: There is no sda1 on the new disc, and I cannot create this because
I am aware that Windows is rather fussy about it. Because of this I used
these options as mentioned in the FAQ for WXP: -j0 t1
The entire command was:
/opt/drbl/sbin/ocs-sr -q2 -c -j0 -t1 -z0 -i 2000 -p true saveparts
"2009-08-20-20-WXP.img" "sda1"
I do not think that CZ can restore a partition image back to the disc
unless it has a valid partition (I really wish I knew this yesterday:( )
I think I am unable to create n sda1 partition as WindowsXP would expect
it, (fdisk, yes i know, but from reading the FAQ then WXP will dislike
sda1 and refuse to boot). Note that the original disc is now inaccessable
so this is the only usuable backup that I have.
*Summary Question*
How can I create the Windows partition correctly from the information in
the img direction, and which command could I then use to restore of the
image into the partition?
Best wishes,
Simon.
N.B I have concatenated the pertinent text files, and for the sda-mbr I
have only provided the output of the 'file' command.
# cd 2009-08-20-20-WXP.img/
# ls -l
total 13422508
-rw-r--r-- 1 root root 5927 2009-08-21 04:28 Info-dmi.txt
-rw-r--r-- 1 root root 26020 2009-08-21 04:28 Info-lshw.txt
-rw-r--r-- 1 root root 287 2009-08-21 04:28 Info-packages.txt
-rw-r--r-- 1 root root 5 2009-08-21 04:28 parts
-rw------- 1 root root 2097152000 2009-08-21 04:20
sda1.ntfs-ptcl-img.uncomp.aa
-rw------- 1 root root 2097152000 2009-08-21 04:22
sda1.ntfs-ptcl-img.uncomp.ab
-rw------- 1 root root 2097152000 2009-08-21 04:23
sda1.ntfs-ptcl-img.uncomp.ac
-rw------- 1 root root 2097152000 2009-08-21 04:24
sda1.ntfs-ptcl-img.uncomp.ad
-rw------- 1 root root 2097152000 2009-08-21 04:25
sda1.ntfs-ptcl-img.uncomp.ae
-rw------- 1 root root 2097152000 2009-08-21 04:27
sda1.ntfs-ptcl-img.uncomp.af
-rw------- 1 root root 1148233660 2009-08-21 04:27
sda1.ntfs-ptcl-img.uncomp.ag
-rw-r--r-- 1 root root 37 2009-08-21 04:19 sda-chs.sf
-rw-r--r-- 1 root root 512 2009-08-21 04:19 sda-mbr
-rw-r--r-- 1 root root 707 2009-08-21 04:19 sda-pt.parted
-rw-r--r-- 1 root root 412 2009-08-21 04:19 sda-pt.sf
--
#cat sda-pt.sf
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start= 63, size= 26892747, Id= 7, bootable
/dev/sda2 : start=132022170, size= 80839080, Id= f
/dev/sda3 : start= 26892810, size=105129360, Id=83
/dev/sda4 : start=212861250, size= 21559230, Id=bf
/dev/sda5 : start=132022233, size= 626472, Id=83
/dev/sda6 : start=132648768, size= 76035582, Id=83
/dev/sda7 : start=208684413, size= 4176837, Id=83
--
# cat sda-pt.parted
Model: ATA ST9120821AS (scsi)
Disk /dev/sda: 234441648s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 63s 26892809s 26892747s primary ntfs boot
3 26892810s 132022169s 105129360s primary
2 132022170s 212861249s 80839080s extended lba
5 132022233s 132648704s 626472s logical ext3
6 132648768s 208684349s 76035582s logical ext3
7 208684413s 212861249s 4176837s logical ext3
4 212861250s 234420479s 21559230s primary ext3
--
# cat sda-chs.sf
cylinders=14593
heads=255
sectors=63
--
# cat parts
sda1
--
# cat Info-packages.txt
Image was saved by these Clonezilla-related packages:
drbl-1.9.4-47 clonezilla-2.3.3-68 mkswap-uuid-0.1.1-1
drbl-partimage-0.6.7-1drbl drbl-ntfsprogs-2.0.0-4 partclone-0.1.1-15
drbl-chntpw-0.0.20040818-7 drbl-lzop-1.02-0.8drbl pigz-2.1.4-1drbl
pbzip2-1.0.5-1drbl udpcast-20081213-1drbl
--
# file sda-mbr
sda-mbr: x86 boot sector; partition 2: ID=0xf, starthead 254, startsector
132022170, 80839080 sectors; partition 3: ID=0x83, starthead 254,
startsector 26892810, 105129360 sectors; partition 4: ID=0xbf, starthead
254, startsector 212861250, 21559230 sectors, code offset 0x48, OEM-ID "
3.0úü¾", Bytes/sector 191, sectors/cluster 6, reserved sectors 51340, FATs
142, root entries 35280, sectors 36596 (volumes <=32 MB) , Media
descriptor 0xc0, sectors/FAT 55438, hidden sectors 3914966515, sectors
3036383744 (volumes > 32 MB) , physical drive 0x2, reserved 0xcd, dos <
4.0 BootSector (0x16)
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/clonezilla-live