How to backup/restore first sectors HDD?

User discussion and information resource forum for BootIt Bare Metal and BootIt UEFI
paul_6
Posts: 59
Joined: Tue Aug 07, 2012 7:06 pm

How to backup/restore first sectors HDD?

Post by paul_6 »

hi,
Bing could do that (>>EMBRBK0.BIN etc..)
Has it disappeared in Bibm?
Thks
Paul
reg owner of all your products
TeraByte Support(PP)
Posts: 1643
Joined: Fri Aug 12, 2011 12:51 am

Re: How to backup/restore first sectors HDD?

Post by TeraByte Support(PP) »

You can use the TBOSDT "copy sectors" command (specify the disk, starting LBA, number of sectors, and the filename).
paul_6
Posts: 59
Joined: Tue Aug 07, 2012 7:06 pm

Re: How to backup/restore first sectors HDD?

Post by paul_6 »

Anybody to give some practical examples of scripts doing that ? I am not an IT specialist....
Brian K
Posts: 2213
Joined: Fri Aug 12, 2011 1:11 am
Location: NSW, Australia

Re: How to backup/restore first sectors HDD?

Post by Brian K »

copy sectors 0 0 2048 HD0.bin
paul_6
Posts: 59
Joined: Tue Aug 07, 2012 7:06 pm

Re: How to backup/restore first sectors HDD?

Post by paul_6 »

short and good! thks. Where will be located the file HD0.bin?
Brian K
Posts: 2213
Joined: Fri Aug 12, 2011 1:11 am
Location: NSW, Australia

Re: How to backup/restore first sectors HDD?

Post by Brian K »

In Windows...

copy sectors 0 0 2048 E:\temp\HD0.bin

In BIBM you would mount a drive...

copy sectors 0 0 2048 0:temp\HD0.bin
paul_6
Posts: 59
Joined: Tue Aug 07, 2012 7:06 pm

Re: How to backup/restore first sectors HDD?

Post by paul_6 »

Thanks...
ôôô not that easy..
do you confirm for BIBM >> 0:temp\HD0.bin and not 0:\temp\HD0.bin
Brian K
Posts: 2213
Joined: Fri Aug 12, 2011 1:11 am
Location: NSW, Australia

Re: How to backup/restore first sectors HDD?

Post by Brian K »

Both work but I think the following is more correct...

copy sectors 0 0 2048 0:temp\HD0.bin
TeraByte Support(PP)
Posts: 1643
Joined: Fri Aug 12, 2011 12:51 am

Re: How to backup/restore first sectors HDD?

Post by TeraByte Support(PP) »

Make sure you're only copying out (or writing in) the actual needed number of sectors. 2048 may be more than wanted on some drives (could get into partition data, for example).
paul_6
Posts: 59
Joined: Tue Aug 07, 2012 7:06 pm

Re: How to backup/restore first sectors HDD?

Post by paul_6 »

Thanks both of you!
Inside Windows I've run :tbosdtw.exe, then : copy sectors 0 0 2048 E:\temp\HD0.bin..
and -surprise- it worked!
Where do I find the equivalent command for BIBM? (sorry, i am afraid the question is stupid ..)
Post Reply