How to backup/restore first sectors HDD?

User discussion and information resource forum for BootIt Bare Metal.

How to backup/restore first sectors HDD?

Postby paul_6 » Wed May 25, 2016 5:50 am

hi,
Bing could do that (>>EMBRBK0.BIN etc..)
Has it disappeared in Bibm?
Thks
Paul
reg owner of all your products
paul_6
 
Posts: 24
Joined: Tue Aug 07, 2012 12:06 pm

Re: How to backup/restore first sectors HDD?

Postby TeraByte Support(PP) » Wed May 25, 2016 8:39 am

You can use the TBOSDT "copy sectors" command (specify the disk, starting LBA, number of sectors, and the filename).
Paul Purviance
TeraByte Support
TeraByte Support(PP)
 
Posts: 1106
Joined: Thu Aug 11, 2011 5:51 pm

Re: How to backup/restore first sectors HDD?

Postby paul_6 » Wed May 25, 2016 9:37 am

Anybody to give some practical examples of scripts doing that ? I am not an IT specialist....
paul_6
 
Posts: 24
Joined: Tue Aug 07, 2012 12:06 pm

Re: How to backup/restore first sectors HDD?

Postby Brian K » Wed May 25, 2016 9:59 am

copy sectors 0 0 2048 HD0.bin
Brian K
 
Posts: 1175
Joined: Thu Aug 11, 2011 6:11 pm

Re: How to backup/restore first sectors HDD?

Postby paul_6 » Wed May 25, 2016 10:01 am

short and good! thks. Where will be located the file HD0.bin?
paul_6
 
Posts: 24
Joined: Tue Aug 07, 2012 12:06 pm

Re: How to backup/restore first sectors HDD?

Postby Brian K » Wed May 25, 2016 10:59 am

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
Brian K
 
Posts: 1175
Joined: Thu Aug 11, 2011 6:11 pm

Re: How to backup/restore first sectors HDD?

Postby paul_6 » Wed May 25, 2016 11:04 am

Thanks...
ôôô not that easy..
do you confirm for BIBM >> 0:temp\HD0.bin and not 0:\temp\HD0.bin
paul_6
 
Posts: 24
Joined: Tue Aug 07, 2012 12:06 pm

Re: How to backup/restore first sectors HDD?

Postby Brian K » Wed May 25, 2016 11:11 am

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

copy sectors 0 0 2048 0:temp\HD0.bin
Brian K
 
Posts: 1175
Joined: Thu Aug 11, 2011 6:11 pm

Re: How to backup/restore first sectors HDD?

Postby TeraByte Support(PP) » Wed May 25, 2016 11:23 am

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 Purviance
TeraByte Support
TeraByte Support(PP)
 
Posts: 1106
Joined: Thu Aug 11, 2011 5:51 pm

Re: How to backup/restore first sectors HDD?

Postby paul_6 » Wed May 25, 2016 11:32 am

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 ..)
paul_6
 
Posts: 24
Joined: Tue Aug 07, 2012 12:06 pm

Next

Return to BootIt Bare Metal