edit: now, unclear on this part
before=2048 sectors=bootsector.totalsec+1
and starting and ending chs should be the same?
Posted 31 January 2015 - 10:55 PM
before=2048 sectors=bootsector.totalsec+1
Posted 31 January 2015 - 11:13 PM
OK found the advanced menu, dont know how I overlooked that.
edit: now, unclear on this part
and starting and ending chs should be the same?
Posted 31 January 2015 - 11:25 PM
Posted 31 January 2015 - 11:27 PM
Posted 31 January 2015 - 11:31 PM
The total sectors is in the next tab : enter 2048 if asked an offset.
Dont bother the disk id.
Posted 31 January 2015 - 11:37 PM
Posted 31 January 2015 - 11:39 PM
The total sectors is in the next tab : enter 2048 if asked an offset.
Dont bother the disk id.
Posted 31 January 2015 - 11:41 PM
smalltotalsector or largetotalsectors? I dont see any boxes with only "total sectors"
Posted 31 January 2015 - 11:44 PM
totalsec box is blank? the cloned USB HDD is ntfs.Totalsec (if ntfs)
Posted 31 January 2015 - 11:46 PM
Posted 31 January 2015 - 11:50 PM
You had a partition image to start with right?
Screenshot the boot sector screen here please.
Posted 31 January 2015 - 11:52 PM
Posted 31 January 2015 - 11:58 PM
Posted 01 February 2015 - 12:02 AM
You need to do a partition backup (not disk)
You need to append a header to it (2048 sectors=1 MB)
You need to edit the mbr and the bs.
Then you end up with a disk image containing your partition.
Posted 01 February 2015 - 12:08 AM
This is not a boot sector.
BTW, when I inserted a usb flash drive to store this screenshot, the active clondisk window changed the "Logical drive" box back to C:/
just mentioned it in case. was not expecting this to happen so I will reopen the img.
Posted 01 February 2015 - 12:15 AM
Posted 01 February 2015 - 12:17 AM
hmmm..
when I made header.img, it was only 1mb and I didnt do anything to it before I copy /b with the partition image.
for clairification; to get the boot sector value that I need in order to add (+1), do I get that from the combined image or the original partition image that clonedisk made?
Posted 01 February 2015 - 12:18 AM
OK, thanks for the effort to help today. I may can figure it out from here. I will report success if I can.Now going to bed
Posted 01 February 2015 - 05:07 AM
Posted 01 February 2015 - 10:27 AM
well I redid everything and it seemed to work out but when I tried to boot through grub4dos I get error5 "partition table invalid or corrupt"
here is bootsector and mbr screencaps
You missed the hiddencsec part in the boot sector (step 5 in my procedure).
Lets fix that first : bootsector.hiddensec = mbr.sectors before. (double click on the hiddensec field to edit it).
And ensure that the boot sector is at offset 2048, not 63.
Also, did you apply a boot loader (in mbr tab)? This will also fix the mbr signature (AA55).
If after doint these 2 actions abobe, it still does not work, we will reconsider the C.H.S.
bCHS=eCHS=1023/254/63 is the a convention of saying "dont look at CHS" : maybe grub4dos does not like that.
If not we will try bCHS=1023/0/1 and eCHS=1023/254/63 which also means "dont look at CHS".
Or else we will use a correct bCHS=0/32/33 (to reflect sectors before = 2048).
I did use these steps and booted my disk image fine in QEMU but did not test G4D.
If Wonko is nearby, he is best to guide us there around G4D + CHS.
I bet he will probably not like my approach "dont look at CHS"
But again, fix the bs.hiddensec and mbr boot loader first.
PS:
In latest version, in the MBR form, there is a new button that will take you directly to the BootSector (using the sectors before MBR field).
Download latest version (dated Feb 02), as I did some minor changes to ease this procedure.
Posted 01 February 2015 - 01:53 PM
a quick simple picture explaining what you are willing to achieve i.e :
-backup a partition (amongst several partitions on a disk) to an image
-append a header to that image
-edit this header to turn it into a MBR
-edit the BS to make sure it is consistent with the MBR
Posted 01 February 2015 - 07:11 PM
Oh, I seemed to have thought that step was optional for some reason..You missed the hiddencsec part in the boot sector (step 5 in my procedure).
Lets fix that first : bootsector.hiddensec = mbr.sectors before. (double click on the hiddensec field to edit it).
And ensure that the boot sector is at offset 2048, not 63.
Posted 01 February 2015 - 07:28 PM
hi erwin.I,
Oh, I seemed to have thought that step was optional for some reason..
now, I open the .img and at the popup prompt for offset I enter 2048 (it has 63 default showing) then when I dbl click the hidden box I get a popup "read file error: the handle is invalid"
FWIW I also skipped step 4 thinking that it is optional because I do not have a W8.1 system. Im guessing I should go back to that part too.
thanks
edit: I just noticed that I only have option button for NT6 and not G4D or ANY to change boot code as in your screenshot. is this to be expected?
About your edit : you are looking at the wrong screen!
Bootsector screen has only one NT6 button : you dont need to re inject it as you already have one.
MasterBoot Record screen has 3 buttons : use the NT6 one (I assume you run windows).
I suggest :
-you start all over from step1,
-do not skip any steps (as a this what a procedure is meant for),
-and make sure you dont get confused between MBR and BS (this is what I put screenshots in my procedures).
Follow the procedure here.
Use latest CloneDisk here.
Regards,
Erwan
Posted 01 February 2015 - 07:41 PM
Posted 01 February 2015 - 08:00 PM
OK, I dload clonedisk again driectly from your link above then unzip and when I open the extracted folder I see two clonedisk. one is clonedisk_.exe and the other clondisk.exe
which one to use?
ignore clonedisk_.exe : should not be there.
0 members, 1 guests, 0 anonymous users