Go Back  PPRuNe Forums > Misc. Forums > Computer/Internet Issues & Troubleshooting
Reload this Page >

Sector by sector HD backup from Windows

Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Sector by sector HD backup from Windows

Thread Tools
 
Search this Thread
 
Old 27th Jul 2012, 10:52
  #1 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
Sector by sector HD backup from Windows

I have a couple of machines which run FreeBSD.

Both have a little 4GB WinXP partition, which was installed for admin and to make sure everything works.

One can boot into either OS.

I need to be able to make an "image" backup of the whole HD (though really I am after a backup of the boot stuff and the FreeBSD stuff; the winXP bit I can rebuild if I have to) to a network drive (ethernet), from either OS (though I would prefer it from within Windows because then I am 100% sure there are no open files in BSD which are inaccessible and are missing from the backup).

I can achieve this now using Trueimage, from Windows, which is a great tool which I have used all over the place, but TI doesn't restore the unix MBR (even if you explicitly select the MBR for restoration) so while the restored data "seems all there" it just boots into Windows.....

TI has other problems like this; for example if you use it to backup a Thinkpad laptop which has a special 4GB IBM utilities partition, there is no way to restore that partition. If you have to replace the HD, you lose that feature (no big deal really).

So... is there a windozeXP based imaging prog which just does the whole damn lot, hopefully compressing empty sectors that are full of 0xFFs etc (the HD is a 256GB SSD which is mostly empty space and I would prefer to not end up with a 256GB image ) and which can restore it easily, again from within Windoze?

There is a catch The server has motherboard is a brand new Gigabyte one whose ethernet controller is not recognised by most software. Even the latest Trueimage 2012 does not recognise it. WinXP doesn't either - unless you install the Gigabyte drivers that come on the CD. This means that to restore using Trueimage I have to first copy the archive to a separate partition on the local HD, which is stupid, even if TI did the MBR correctly.

This is why I am after an imaging prog which restores the image while running inside a running copy of Windows.

However this may mean that it cannot overwrite the Windows partition, which is fine...

Or one which supports the "Atheros GbE LAN chip" which this motherboard has...

Last edited by peterh337; 27th Jul 2012 at 11:01.
peterh337 is offline  
Old 27th Jul 2012, 11:45
  #2 (permalink)  
 
Join Date: Jan 2012
Location: .
Posts: 2,173
Likes: 0
Received 0 Likes on 0 Posts
Gigabyte motherboards usually come with Xpress Recovery 2 built into the firmware
See GIGABYTE Xpress Recovery2
That may do what you need


As regards copying utility partitions, often you simply can't. In many cases they are hidden by use of the SET MAX ADDRESS disk drive utility which restricts use of the hard drive to a certain area. Only way to gain access is to boot with a CD with fake partition table, or to overwrite the SET MAX ADDRESS command

Host protected area - Wikipedia, the free encyclopedia

I'm also aware of at least two patents about hiding recovery partitions in the same way

Back to the original question - have you tried Norton Ghost?

Last edited by Milo Minderbinder; 27th Jul 2012 at 12:08.
Milo Minderbinder is offline  
Old 27th Jul 2012, 12:49
  #3 (permalink)  
Hippopotomonstrosesquipidelian title
 
Join Date: Oct 2006
Location: is everything
Posts: 1,826
Likes: 0
Received 0 Likes on 0 Posts
EaseUS may do it. If not, check the brand of your drives and see if there is a manufacturer's cloning utility available. I've cloned drives containing a variety of operating systems in the past. I can't remember whether I did a simple clone, or backup MBR, clone, restore MBR. I think just clone though.
Bushfiva is offline  
Old 27th Jul 2012, 13:39
  #4 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
The Gigabyte recovery utility appears to store the archive only on the HD, not on a network drive.

No I haven't tried Ghost. I wonder if there is a spec somewhere on which ethernet chips it supports, and whether it will do a sector by sector clone? No easy way to test it really, nondestructively

One way forward, IF one can find a way using Trueimage, would be to install a rather more common ethernet adaptor... I suspect TI does actually work if one uses the FreeBSD boot CD afterwards to fix up the MBR. We will find out on Monday...

BTW I have finally done a disk "clone" using Trueimage, with both SSDs on the same SATA controller, which ought to "just work", but it still boots only to Windows. What the hell does Trueimage call "cloning"?

Re the Thinkpad business, Trueimage can see the recovery partition allright and seems to archive it OK, but it cannot restore it.

Last edited by peterh337; 27th Jul 2012 at 13:40.
peterh337 is offline  
Old 27th Jul 2012, 13:51
  #5 (permalink)  
 
Join Date: Jan 2012
Location: .
Posts: 2,173
Likes: 0
Received 0 Likes on 0 Posts
With Trueimage
are you selecting the whole drive to back up, or the individual partitions? Trueimage can be a bit feisty at times
There are multiple versions of Trueimage as well - one of the biz versions may be more suited to what you need

And its NOT a sector-by-sector clone you need, as that would give you 1:1 reproduction with no compression and would include all the empty space.
Milo Minderbinder is offline  
Old 27th Jul 2012, 13:58
  #6 (permalink)  
 
Join Date: Jan 2012
Location: .
Posts: 2,173
Likes: 0
Received 0 Likes on 0 Posts
and just a thought - have you thought of looking at Clonezilla - About
That at least could handle BSD and Linux partitions, though you'd have to do the backup offline from a Linux boot disk
Milo Minderbinder is offline  
Old 27th Jul 2012, 14:13
  #7 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
Yes, I was doing a whole "drive" backup.

But even the "disk clone" function failed to do any better, which is really odd. (It has always worked on windoze machines, no matter how partitioned).

I have come across Clonezilla. That may be a better way. I can't find a list of supported hardware though, and the only contact is via yet another damned forum where one has to register. FreeBSD itself supports that ethernet adaptor OK.

Edit:

Searching the Clonezilla forum for "Atheros" I see lots of people having problems but nobody offering a solution, apart from this

If you are familiar with compiling a kernel module, then you can compile the module, and follow http://drbl.org/faq/fine-print.php?p...m-squashfs.faq to put the module in the filesystem.squashfs. Then follow http://drbl.org/faq/fine-print.php?p...o_from_zip.faq to generate the iso file.

which is strictly for unix experts

TBH I would be happy if I could back up the SSD to a cheap USB-attached HD, but the Gigabyte utility, which really ought to support that in the BIOS, doesn't.

Last edited by peterh337; 27th Jul 2012 at 14:45.
peterh337 is offline  
Old 27th Jul 2012, 15:03
  #8 (permalink)  
Spoon PPRuNerist & Mad Inistrator
 
Join Date: Sep 2003
Location: Twickenham, home of rugby
Posts: 7,407
Received 276 Likes on 176 Posts
Ghost does allow you to add support for your own specific network cards when you create a bootable USB or CD - basically add the driver files during the image creation.

You can clone an entire disk or individual partitions, and store them as files on an accessible network device (or local device).

You may find that MBR repair needs to be done after deploying partitions - I found this to be the case with Win7, although I am using an older version of Ghost, and this may be rectified in more recent editions.

SD
Saab Dastard is offline  
Old 27th Jul 2012, 15:31
  #9 (permalink)  
 
Join Date: Jan 2012
Location: .
Posts: 2,173
Likes: 0
Received 0 Likes on 0 Posts
With Clonezilla the drivers will depend on which Linux/BSD distribution you run it from. You can download one of the minimalist distributions from their download page, or use a "live" distribution with Clonezilla included
For instance past versions of Knoppix included it - I don't know about current releases
Milo Minderbinder is offline  
Old 27th Jul 2012, 15:33
  #10 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
Spending way too much time on this... many people have been up this path before, it appears.

Trueimage (Acronis) offer a solution, but it's yet more hassle.

I will install a common-as-muck ethernet card... but even finding the hardware compatibility list for Trueimage is a challenge
peterh337 is offline  
Old 27th Jul 2012, 15:36
  #11 (permalink)  
 
Join Date: Jan 2012
Location: .
Posts: 2,173
Likes: 0
Received 0 Likes on 0 Posts
anything with a VIA or Realtek 100mb/s chip will work without needing drivers
Anything 1Gb/s will probably not work
Milo Minderbinder is offline  
Old 27th Jul 2012, 16:13
  #12 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
Do you mean will work with the Trueimage bootable media?

For backing up, "everything" works if you have O/S support because TI just uses the O/S.

It is the restore when one is using the drivers embedded in the bootable media CD only. I bet a lot of people got fingers burnt on this, because the time you discover this is when .................

It looks like all backup products have this problem, to some degree. Both Trueimage and Ghost offer a (complicated) means of building a custom boot CD, to deal with it.

I wonder if
this NIC this NIC
would work...

Last edited by peterh337; 27th Jul 2012 at 16:14.
peterh337 is offline  
Old 27th Jul 2012, 18:30
  #13 (permalink)  
 
Join Date: Jan 2012
Location: .
Posts: 2,173
Likes: 0
Received 0 Likes on 0 Posts
Unlikely

I'd gamble against most gigabit LAN cards working
Milo Minderbinder is offline  
Old 29th Jul 2012, 08:37
  #14 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
That rules out everything made in the last 5-6 years.

Some gigabit cards definitely work e.g. the one in my Thinkpad.
peterh337 is offline  
Old 29th Jul 2012, 10:32
  #15 (permalink)  
 
Join Date: Jan 2012
Location: .
Posts: 2,173
Likes: 0
Received 0 Likes on 0 Posts
The thing is, most of those recovery disks rely on a version of WindowsPE - which in turn only has the built-in generic drivers - and there are few Gigabit LAN cards included in that
Milo Minderbinder is offline  
Old 30th Jul 2012, 04:11
  #16 (permalink)  
 
Join Date: Dec 1998
Location: Escapee from Ultima Thule
Posts: 4,273
Received 2 Likes on 2 Posts
Why don't you boot from a Linux live DVD? There are any number of them that can image a whole disk, or just particular partitions and save to a network drive. Booting from a DVD will ensure there isn't anything running on the HD.
Tinstaafl is offline  
Old 30th Jul 2012, 09:35
  #17 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
Can it image the whole HD to a network drive (without having to load Samba etc) and then restore the HD from the network drive.

The network drive uses SMB (a Buffallo 1TB drive).

Last edited by peterh337; 30th Jul 2012 at 09:36.
peterh337 is offline  
Old 30th Jul 2012, 12:10
  #18 (permalink)  
Thread Starter
 
Join Date: Dec 2011
Posts: 2,460
Likes: 0
Received 0 Likes on 0 Posts
Our next approach is to buy a USB drive (£65 from Amazon, 500GB ) and hopefully Trueimage will be able to restore from that.......

But then so will the FreeBSD utility called DD, which we know works and can restore from anything one is able to mount. That is maybe a better approach. Switch the OS to single user mode to run the backup, and to restore you boot using a FreeBSD boot CD and run DD on that.

That sidesteps the ethernet adaptor issues, and the USB drive can be kept in a firesafe
peterh337 is offline  
Old 30th Jul 2012, 23:19
  #19 (permalink)  
 
Join Date: Dec 1998
Location: Escapee from Ultima Thule
Posts: 4,273
Received 2 Likes on 2 Posts
Buy a laptop drive and, separately, a USB powered caddy via eBay. Much cheaper. I re-use my old laptop drives similarly. Boot from DVD as before and start imaging the source drive.
Tinstaafl is offline  
Old 31st Jul 2012, 00:19
  #20 (permalink)  
 
Join Date: Jan 2012
Location: .
Posts: 2,173
Likes: 0
Received 0 Likes on 0 Posts
You're using FreeBSD

On checking it would appear that one of the FreeBSD packages is Freisbee - a tool from the University of Utah for imaging BSD drives

Remember that the imaging program you use is going to have to cope with UFS file systems, so you're probably better off with a Unix / Linux tool like this, or Clonezilla
Milo Minderbinder is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.