Slashdot Mirror


Ask Slashdot: Create Custom Recovery Partitions With FOSS?

First time accepted submitter KowboyKrash writes "OK, a little background: I use Acronis to create custom recovery partitions for my personal computers that include all my software and drivers. I also work for a growing computer repair shop which has ventured into eBay sales of refurbished computers. We receive the machines with wiped hard drives. Since we get multiples of each model, we load everything on one then make images with Clonezilla. It would be nice to set up recovery partitions as well. Acronis is out of the question, since it would cost for a license for each machine. Do any Slashdotters know of any FOSS options?"

133 comments

  1. dd by Hatta · · Score: 2, Funny

    dd

    --
    Give me Classic Slashdot or give me death!
    1. Re:dd by Joce640k · · Score: 1

      On a related note, is there anything which can replace Acronis, period. Acronis jumped the shark years ago...

      Here's the scenario.

      a) Client buys a USB hard disk.
      b) Client installs some software on their machine and configures it, marking the USB disk as a 'backup disk' in some way.
      c) Every time the client connects the USB disk to their computer a window pops up saying: "Backup your machine? Y/N"
      d) If they click "yes" the software backs up their machine, administering disk space, etc. automatically.

      To me it seems the most obvious need for backup software imaginable but neither Norton nor Acronis seem to be able to get their head around the concept of removable backup disks or not wanting to answer twenty questions every time you want to make a backup. Or a dozen other things that make me shake my head sadly whenever I have to use them. Don't even get me started on what happens when Windows randomly decides to change the drive letter for the USB drive.

      Target users use Windows XP and 7. They're office users who use Office and accounting software. They typically only have about 40Gb of files to back up so they're quite happy with non-incremental backups. I live in Spain so Spanish versions are a big plus (though not essential).

      Any ideas? There must be something out there...

      --
      No sig today...
    2. Re:dd by whoisisis · · Score: 1

      Assuming each machine have the same hard drive size, dd is probably the easiest way to go.
      You could even do it very quickly if you started with a zeroed out drive, install everything and then compress
      it to a drive image. Then just nc <server-ip> <port-number> | tar -zx | dd of=/dev/sda
      from a live CD/USB disk

    3. Re:dd by beelsebob · · Score: 1

      Time Machine – plug USB disk in, incremental backup occurs, done.

    4. Re:dd by Anonymous Coward · · Score: 1

      Ok, so not *exactly* what you are looking for (its not fully automatic) but I have found a similar problem and my best solution so far:

      1) Install Toucan on the removable drive - http://portableapps.com/apps/utilities/toucan

      2) Create a destop icon for Toucan - it will only be capable of running when the drive is plugged in

      3) Create the backup job and save it in Toucan ready for running the next time. All Toucan's data is stored locally, on the removable drive

      4) Tell the customer all he has to do is plug in the USB drive, double click the icon, select the backup job from a drop-down a click 'Run'.

      I still think there is a need for what you describe above but for manual backups on USB disks this is working for me right now. It won't when Windows changes the USB disk letter for no reason though ;-). One last thing, I'm not sure Toucan has a Spanish option.

    5. Re:dd by Anonymous Coward · · Score: 0

      Use the free personal edition of Macrium reflect. I do the same process every sunday.

    6. Re:dd by Anonymous Coward · · Score: 0

      the OP did not ask for a snarky, geek solution. He ask for an end-user solution. Take your snarkyness somewhere else

    7. Re:dd by MikeB0Lton · · Score: 1

      Symantec makes Backup Exec System Recovery for this scenario. Unfortunately it is sold in bulk amounts and is for the enterprise. It needs a basic configuration and then can automatically recognize when a USB hard drive in the set is attached and just back up. It can keep a local copy and also ship a copy to a CIFS share if that is your thing.

    8. Re:dd by Anonymous Coward · · Score: 0

      Clonezilla

    9. Re:dd by Anonymous Coward · · Score: 0

      Then just nc <server-ip> <port-number> | tar -zx | dd of=/dev/sda
      from a live CD/USB disk

      "tar -zx"? You mean "gzip -cd", "bzip2 -cd" or another (de)compressor, not an archiver.

    10. Re:dd by optimism · · Score: 1

      Why is the "dd" suggestion modded as "funny", when it is perhaps the most flexible/practical response to the question?

      Personally I use PING (PartImage Is Not Ghost) on my Windows machines, because it knows to ignore stuff like the multi-gigabyte Windows paging and hibernation files. But to each their own.

      To the OP: If an ebay buyer is smart enough to find and use a recovery partition, they are probably smart enough to NOT want to use someone else's recovery partition. Be sure to provide the factory install discs (and for Windows, the COA with product key) for every machine if you want to sell them to anyone with half a clue.

    11. Re:dd by rwa2 · · Score: 1

      Looks pretty cool... I've used partimage lots for Linux machines, but it certainly is not ideal (needs better support for resizing on the fly, and stuff like that).

      The last time I needed something to clone Windows machines, I DID have pretty good results remastering a knoppix LiveCD that could run Ghost within FreeDOS. It had most of the benefits of PING (such as being able to backup and restore to a network share, which was the main reason I created it). The main limitation was that I still needed to use dd if=/dev/sda of=mbr.dd.img bs=512k count=1 to backup and restore the MBR/partition table, since the FreeDOS of the time didn't allow wholedisk access. But aside from that it was very fast and worked well.

      I used lredir withing FreeDOS to map the network share to a drive letter within FreeDOS. I didn't have much luck trying to get Ghost to read/write directly to a shared partition, e.g. a locally connected USB drive.

      Of course, this doesn't exactly help the OP, unless they have a bunch of Norton Ghost licenses lying around for some reason :-P But I would advocate simply distributing a rescue DVD that boots off a linux-based LiveCD as opposed to a rescue partition.

    12. Re:dd by livingfield · · Score: 1

      The opensource MyWorkSafe is pretty close to what you're asking for. It works like this:
      a) Install MyWorkSafe. Configuration is unnecessary.
      b) Connect a USB drive.
      c) MyWorkSafe asks "Do you want to use this drive for backups?"
      d) If you answer "No", then you'll never be prompted for that drive again. If you answer "Yes", then a backup will run automatically every time you insert that drive.

      MyWorkSafe is intended to be used with USB flash drives, so it actually prioritizes certain types of files, while skipping other types if there is not enough space on the destination.

      Find it at http://myworksafe.palaso.org./

    13. Re:dd by optimism · · Score: 2

      Yeah, my initial drive-imaging experiences were with Ghost, but I gave it up when I got serious about imaging our systems.

      PING is much better in my opinion, and not just because it is free.

      It does have a resizing-on-the-fly capability (during image creation). I don't use it because I've simply standardized on a 25GB partition for Windows system & programs. I rarely use more than 15GB. Data lives on a different partition with file-level backup.

      I boot PING from a USB stick, and save the disk images to an external USB drive. In theory you can put everything on a bootable CD or DVD set, but I've never bothered. Since PING ignores the huge hiberfil.sys and pagefile.sys, and provides several choices for compression, you can easily fit a complete image of Windows XP with office apps, on a single DVD.

    14. Re:dd by andreicristianpetcu · · Score: 1

      +1 I had Issues with Deja Dup. It seemd to have a partial restore of my files. I did not actually understand what happened. + Deja Dup has issues with soft/hard links. Clonezilla is OS agnostic (tested on Ubuntu and Win7) and works like a charm. It is not incremental. It takes a snapshot of the partition. I used only these 2 solutions.

    15. Re:dd by Anonymous Coward · · Score: 0

      On a related note, is there anything which can replace Acronis, period. Acronis jumped the shark years ago...

      Here's the scenario.

      a) Client buys a USB hard disk.
      b) Client installs some software on their machine and configures it, marking the USB disk as a 'backup disk' in some way.
      c) Every time the client connects the USB disk to their computer a window pops up saying: "Backup your machine? Y/N"
      d) If they click "yes" the software backs up their machine, administering disk space, etc. automatically.

      To me it seems the most obvious need for backup software imaginable but neither Norton nor Acronis seem to be able to get their head around the concept of removable backup disks or not wanting to answer twenty questions every time you want to make a backup. Or a dozen other things that make me shake my head sadly whenever I have to use them. Don't even get me started on what happens when Windows randomly decides to change the drive letter for the USB drive.

      Target users use Windows XP and 7. They're office users who use Office and accounting software. They typically only have about 40Gb of files to back up so they're quite happy with non-incremental backups. I live in Spain so Spanish versions are a big plus (though not essential).

      Any ideas? There must be something out there...

      ShadowProtect. www.storagecraft.com

      Acronis is a giant POS and had been for a long time now. Talk about f'ing bloatware.

      FWIW, I don't think I've ever seen Windows 'randomly' change a drive letter. Drive letters are a reference point (symbolic link) and once assigned to the device GUID, generally don't change. This is why you can plug in a usb drive, remove it, and then plug in a new, different usb drive and assign it the same letter. Initially it will come up as whatever, but once changed, that device GUID is attached to the drive letter and shouldn't change.

      I work in a shop that uses drive rotation on backups all the time, and in almost 17 years of supporting Windows OS, I can't think of anytime recently this drive letter changing at random is an issue. It's usually a user initiated problem, or a complication introduced by a lack of understanding how the OS 'looks' for drives.

      Granted, I'm not saying it's not possible - Windows isn't exactly trouble-free - but it shouldn't be something that most people are experiencing at this point in the technology. If they are, they're doing it wrong.

    16. Re:dd by unitron · · Score: 1

      dd

      Better yet, dd_rescue so that you can use the -v option and see what's going on.

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

  2. partimage? by vlm · · Score: 2

    partimage

    http://www.partimage.org/Main_Page

    I haven't used it since probably 2005 or so, but it used to work quite well over the network.

    --
    "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    1. Re:partimage? by SignOfZeta · · Score: 1

      Sounds like a great idea, but it seems like NTFS support is still experimental. Has anyone tried this?

    2. Re:partimage? by davester666 · · Score: 1

      No. Everybody is waiting until it reaches v0.1

      --
      Sleep your way to a whiter smile...date a dentist!
    3. Re:partimage? by jhary-a-conel · · Score: 1

      NTFS support worked well enough for me to use it to clone/restore windows 2003 server. (Master install, sysprep and add drivers, partimage to clone it then to restore on to other systems.) It always worked very well. A great little tool.

    4. Re:partimage? by RoscBottle · · Score: 1

      Yep. No problems at all, but then I don't think the partition had any encrypted streams to cope with. Windows 7.

    5. Re:partimage? by Anonymous Coward · · Score: 0

      Whenever I buy a bunch of identical machines for work, I install Windows on one, setup all the apps they need, then clone the first install over to the rest using partimage, so I've used it on NTFS machines a great deal, never with any problems, going back at least 5 years.

    6. Re:partimage? by Alan+Evans · · Score: 1

      I have not used partimage in a long time either but I had great results when I did. I imaged a couple hundred WindowsXP boxes without problems. The biggest thing I ran into was having to set the sector offset in the bootloader when a partition moved from one place on a box to another. Another that I had a lot of luck with though not as 'pretty' as partimage is ntfsclone which is part of ntfsprogs. -Alan

    7. Re:partimage? by pnutjam · · Score: 1

      I've been using fsarchiver, http://www.fsarchiver.org./ It lists NTFS as experimental, but I've never had a problem. It will restore to smaller or larger disks. You will need to fix the mbr if you change disk size, but for an on HD script that should not be a problem. Interfaces is very scriptable.

  3. Gparted by sakdoctor · · Score: 1

    Gparted on a live CD.

    1. Re:Gparted by tiddlydum · · Score: 1

      Gparted is a partition editor, not an OS recovery tool, as the OP is requesting. OP is asking for a recovery partition tool, which would install a set of OS recovery/resetting tools into a small partition at the start of the drive.

    2. Re:Gparted by Anonymous Coward · · Score: 0

      "OP is asking for a recovery partition tool, which would install a set of OS recovery/resetting tools into a small partition at the start of the drive."

      Correct. Which is a highly bizarre thing to ask, being that for oh, maybe 30 or 40 years now, dd has existed and worked fine.

      Seriously, what's next? A slashdot article to ask how we can list the files in a directory? Or sort lines in a file?

      People need to realize that computers have been around a long time, and if they're on the younger side, solutions to these problems were invented by their GRANDPARENTS.

    3. Re:Gparted by Jaruzel · · Score: 1

      People need to realise that a solely Linux solution is not a one-size-fits-all solution.

      I for one would love a nice GUI that in a few clicks, would image/compress the installed OS, put that image on a small recovery partition and alter the bootmgr to allow a 'recovery' option at boot time (accepting at this point, that the recovery utility _may_ be a tiny Linux distro).

      I don't want to spend hours on every machine that needed this, which is where all your shiny Linux command line tools fall down.

      -Jar.

      --
      Together, We Can Make Slashdot Better. I Do NOT Mod ACs. - Check Me Out
    4. Re:Gparted by Daengbo · · Score: 1

      You script this once and you're done forever. What's so difficult about that?

      Here's some steps for you -- create a recovery partition on a target machine. Install grub, busybox, and a couple other tools. Script a curses interface which either takes a copy of the remaining disk and compresses it or which uses the compresses image for restoration. You're done.

      That was the solution for Windows. If you were doing Linux installs, I'd recommend a simple preseed.

  4. Incomplete answer by Anonymous Coward · · Score: 0

    And grub

  5. testdisk by Anonymous Coward · · Score: 0

    testdisk by christophe grenier

    1. Re:testdisk by unitron · · Score: 1

      testdisk is an excellent program if you need done what it does.

      It's on the PartedMagic live cd, along with other useful stuff.

      I'm not sure if it's the right program for what the OP wants to do, but then again, I'm not entirely sure exactly what it is that he wants to do.

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

  6. Here's an idea by LiroXIV · · Score: 2

    1. Rig a minimal Linux installation on another partition. 2. Make it auto-login and launch a bash script which will: a. Give you a warning message b. Launch Clonezilla automatically, somehow pre-configured to re-image in the right place

    1. Re:Here's an idea by FalleStar · · Score: 3, Informative

      No need to launch CloneZilla, all the bash script would have to do is:

      1. Get confirmation from the user to perform the restore
      2. dd if=/path/to/backup.img of=/dev/sda1(or whichever is the main partition)
      3. Reboot
    2. Re:Here's an idea by kubitus · · Score: 1
      and you may want to use compression too:

      .

      http://www.linuxweblog.com/dd-image

    3. Re:Here's an idea by Anonymous Coward · · Score: 0

      Launch Clonezilla automatically, somehow pre-configured to re-image in the right place

      Now THERE'S the level of technical expertise that one has come to expect from Slashdot these days, especially from those with high UIDs.

    4. Re:Here's an idea by Jaruzel · · Score: 1

      Off you lot go then, knock up a Linux distro that does exactly that, and let the masses have it, otherwise your solution is too archaic for 90% of users.

      -Jar

      --
      Together, We Can Make Slashdot Better. I Do NOT Mod ACs. - Check Me Out
    5. Re:Here's an idea by Daengbo · · Score: 1

      But this is not for the masses. It's for a white-box vendor who presumably (hopefully) knows a little about computers.

    6. Re:Here's an idea by LiroXIV · · Score: 1

      Launch Clonezilla automatically, somehow pre-configured to re-image in the right place

      Now THERE'S the level of technical expertise that one has come to expect from Slashdot these days, especially from those with high UIDs.

      Well I was making a generalization. Clonezilla Live has its own boot parameters too

  7. Double down on clonezilla... by bwcbwc · · Score: 2

    If you are doing windows boxes and you are already paying for new Windows OEM / System Builder licenses, I'm pretty sure it's legal for you to use WinPE or a similar tool to install a recovery partition. If you're using pre-existing Windows licenses on the boxes, it might still be legal.

    But the easiest option may be to ship the clonezilla image you are already using with a bootable clonezilla partition. Basically instead of installing clonezilla to a flash drive or a DVD, put it on the recovery partition. Put some scripting in the clonezilla partition to configure the clonezilla settings so that it is setup to restore the image to the main OS partition as the default action. This would work for Windows or Linux.

    --
    We are the 198 proof..
    1. Re:Double down on clonezilla... by pnutjam · · Score: 1

      Sorry to be a Debbie Downer...

      Per the most recent release of MS's reimageing rights, you must be an OEM, or Volume License holder to perform any cloning or imaging. I read this to say you must own at least ONE volume license. Whether that is the machine you are cloning or not.

  8. Comment removed by account_deleted · · Score: 2, Informative

    Comment removed based on user account deletion

  9. Recovery partition is moot by Anonymous Coward · · Score: 1

    I've never really understood the purpose of a recovery partition as a means of restoring a system. If a disk fails, a common reason for wanting to restore the PC, then that partition becomes useless. It's much better to just include disks so that a user can restore the PC them selves after the new hard drive is in place. Having said that, I have done something similar while making an extra buck in college with ebay sales.

    I would create a small partition (~2 GB) that held two CD images (.iso's). One was the XP install cd (with legal COA on the shell), the other was a disk containing the latest stable drivers for all the hardware, and any pre-installed software that I bundled with the PC, things like OpenOffice, imgburn, ect. that would get them back to the state in which they received the PC. What I then did was create a guide (hard copy) that instructed them how to step by step burn these images to cd's and store them in a safe place as soon as possible. I doubt any of them did, but it's there for them if they want it.

    Either way, included DVD's or CD's are the best method. The average user probably would have a family member who knew what they were doing restore the system anyway, or bring it in to a shop that would do it for them. You have to ask what the return on this time investment is going to be too. Will this feature increase sales? will it make them more likely to come back for a repair? (hopefully they won't need it). Probably no, but that's up for you to decide.

    1. Re:Recovery partition is moot by Anonymous Coward · · Score: 0

      I am given to understand that the recovery partition is there so that the user can make a reformat/repair CD/DVD while the computer still works. At least, that is the explicit function of the recovery partition on my Asus laptop.

    2. Re:Recovery partition is moot by poity · · Score: 2

      Software fuckup is more common than disk failure. That's why recovery partitions are convenient. They also minimize support costs.

      --
      your thin skin doesn't make me a troll
    3. Re:Recovery partition is moot by Joe_Dragon · · Score: 1

      you can build the XP iso with driverpacks http://driverpacks.net/. So most dirvers auto install and they you may still need a few drivers + the full ATI / Nvidia / intel drivers.

      Also you can build XP with http://driverpacks.net/ and still be able to do repair installs. The big thing with drivers packs is adding the SATA / other controller drivers so the installer can see the HDD's.

    4. Re:Recovery partition is moot by silanea · · Score: 1

      [...] the other was a disk containing the latest stable drivers for all the hardware, and any pre-installed software that I bundled with the PC, things like OpenOffice, imgburn, ect. [...]

      Am I the only one who cringes at reading this? If you are dealing with someone who needs a recovery disk in the first place, do you really want them to deploy hopelessly outdated drivers and software on their machines?

      --
      Rudolf Hess edited Mein Kampf. He was the very first grammar nazi.
    5. Re:Recovery partition is moot by Anonymous Coward · · Score: 0

      Discs? Ew, get with the times.
      Memory stick or nothing, they are extremely cheap now.
      If it is PC, you could even go as far as making a compartment for it inside the case so it absolutely cannot get lost unless the idiot user removed it and never placed it back in. There is plenty of space at the bottom of almost any case, sitting there doing nothing but be airflow. (which itself is pretty stupid and wasteful for many reasons, of course tighter cases = more price in most cases)

      Also, recovery partitions are mainly for software refreshes rather than failures in general.
      It is easier to have it on the HDD than it is to have it on a disc and have to wait due to significantly slower speeds.

    6. Re:Recovery partition is moot by Gaygirlie · · Score: 1

      Am I the only one who cringes at reading this? If you are dealing with someone who needs a recovery disk in the first place, do you really want them to deploy hopelessly outdated drivers and software on their machines?

      It's still better than nothing, you know. Once the restore has run it's easy enough to let it download the updates.

    7. Re:Recovery partition is moot by swalve · · Score: 1

      They are the drivers and software that worked when the computer was new, so it would work just fine.

    8. Re:Recovery partition is moot by vtcodger · · Score: 1

      **I've never really understood the purpose of a recovery partition as a means of restoring a system. If a disk fails, a common reason for wanting to restore the PC, then that partition becomes useless. It's much better to just include disks so that a user can restore the PC them selves after the new hard drive is in place.**

      I'm pretty much Windowed out and hardly ever use Windows, so I don't pay a lot of attention to PC distribution issues, but my impression is that low end PCs come with a (stupid) recovery partition INSTEAD of an OS CD. I assumed the reason is cost. But I would note in passing that the cheapest PCs often don't even have a cdrom drive.

      --
      You can't see ANYTHING from a car, You've got to get out of the goddamned contraption and walk...Edward Abbey
    9. Re:Recovery partition is moot by vtcodger · · Score: 1

      **Am I the only one who cringes at reading this?**

      I kind of hope so

      **If you are dealing with someone who needs a recovery disk in the first place, do you really want them to deploy hopelessly outdated drivers and software on their machines?**

      Well, I would. At least the old stuff used to work on that PC. You apparently would like them to magically acquire improved drivers and software that quite possibly won't work on their configuration. How are they going to get that sterling new software BTW? Their PC presumably isn't working all that well or they probably wouldn't be trying to reinstall their OS.

      --
      You can't see ANYTHING from a car, You've got to get out of the goddamned contraption and walk...Edward Abbey
    10. Re:Recovery partition is moot by Ayourk · · Score: 1

      Am I the only one who cringes at reading this? If you are dealing with someone who needs a recovery disk in the first place, do you really want them to deploy hopelessly outdated drivers and software on their machines?

      For older machines, most of the time there is no such thing as newer drivers, so (depending on the age of the hardware) having "outdated" drivers is all there will ever be.

    11. Re:Recovery partition is moot by Anonymous Coward · · Score: 0

      All 2.5GB of it.

    12. Re:Recovery partition is moot by Anonymous Coward · · Score: 0

      and when you can't boot from a stick cause of drivers, then what??

    13. Re:Recovery partition is moot by Anonymous Coward · · Score: 0

      Sorry, but it's still cheaper to burn, print, package and distribute discs then it is memory devices by an order magnitudes per unit.

    14. Re:Recovery partition is moot by Jaruzel · · Score: 1

      Oh yeah... They are in a hotel room at 1am trying to complete some urgent work and their laptop throws a panic, resulting in an emergency OS re-install and you are wanting them to go out and find DVD-Rs? Optical drives are becoming increasingly uncommon on lighter laptops so a recovery partition that rebuilds the boot OS back to day 1 is the least inconvenient option.

      -Jar

      --
      Together, We Can Make Slashdot Better. I Do NOT Mod ACs. - Check Me Out
  10. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  11. Redo Backup & Recovery by Anonymous Coward · · Score: 1

    Redo Backup & Recovery http://redobackup.org/

    I use CloneZilla with a backup and restore script on my netbook. However, I use Redo Backup & Recovery for clients computers, It has a nice GUI and can work over a wireless or wired network connection to store backups to a NAS (a nice feature).

    1. Re:Redo Backup & Recovery by hedwards · · Score: 1

      I'm going to give that a try. I've been looking for something to handle the bare metal aspect of restoration. I do my main backups to crashplan, but that doesn't really provide me with a convenient way of doing a baremetal back up.

      For Linux it's not too hard to go from a base install + backup to one that's where I left it, Windows though is a PITA due to the architecture without jumping through some special hoops.

    2. Re:Redo Backup & Recovery by AYeomans · · Score: 1

      +1 for this. Not at all geeky to use - it's a neat front end to partclone (partclone.org).
      Compresses the filesystems, so it can be really fast to restore, especially if you clean it up (CCleaner) and defrag it first.
      You can also put this on a bootable CD/DVD with the restore image.

      --
      Andrew Yeomans
    3. Re:Redo Backup & Recovery by vtcodger · · Score: 1

      **Windows though is a PITA due to the architecture**

      Windows has an architecture? Who knew? I've always thought the damn thing had pretty much the beauty and elegance of a third world slum.

      --
      You can't see ANYTHING from a car, You've got to get out of the goddamned contraption and walk...Edward Abbey
  12. Re:FOG Project by Anonymous Coward · · Score: 0

    The question was how to build a recovery partition, not how to replicate the machines with a recovery partition already on it. I'd say the mod was spot-on. Off-topic.

  13. PartedMagic by Anonymous Coward · · Score: 1

    http://partedmagic.com/doku.php

    PartedMagic is a wonderful, well-maintained Linux LiveCD that is quite small (175MB file, 320MB RAM requierd). I keep it on a USB stick on my keychain for recovery/diagnostics. It comes with CloneZilla, solid network support for many chipsets (including wireless), a nice desktop environment and plenty of disk recovery tools. It even has a ready-made PXE bootable version.

    If you buy a large enough USB stick (8GB of 16GB), you can fit an image of a brand new Windows install with your favorite applications onto it. Of course, you could always just mount a network drive or an external USB hard drive and store your disk images there. For that matter, you can network boot PartedMagic from PXE or even install it onto the USB external drive.

    1. Re:PartedMagic by Anonymous Coward · · Score: 0

      Just a note, if you specifically want to mimic the "recovery partition" behavior, you can do that with CloneZilla too, you just need to be careful about how you do your restores, since CloneZilla can restore entire disks OR individual partitions. You can set aside a partition on your HDD (maybe 1/10th of the disk), install PartedMagic onto it and put an images directory on it. You can then configure grub (which will be installed with PartedMagic) to boot from Windows first. Any time you want to refresh your Windows install, select the PartedMagic boot option, load up CloneZilla and restore the /partition/. I haven't tested this; CloneZilla may not allow you to image/restore onto the same device from which you're booted.

  14. BartPE by severett · · Score: 1

    I made a BartPE recovery disk with DriveImageXML for the imaging component it worked great.

    I made sure the install image fit onto a DVD.

  15. No, ntfsclone is what you're looking for. by yakovlev · · Score: 2

    I do this on my machines at home. Use ntfsclone and gzip to create compressed image files on a bootable linux partition. You can then create some custom scripts to ask for permission then restore the image automatically.

    1. Re:No, ntfsclone is what you're looking for. by m6ack · · Score: 1

      I do this on my machines at home. Use ntfsclone and gzip to create compressed image files on a bootable linux partition. You can then create some custom scripts to ask for permission then restore the image automatically.

      Assuming that all machines are using NTFS...

    2. Re:No, ntfsclone is what you're looking for. by realityimpaired · · Score: 2

      The GGP suggested dd, which doesn't really care whether it's ntfs or not. dd piped with gzip to compress the image, and you should be able to easily create images of just about any filesystem out there. If you don't care about storage space (or it's a small OS partition with user files on a separate partition), you can also forgo piping in gzip.

    3. Re:No, ntfsclone is what you're looking for. by zougloub · · Score: 3, Informative

      For NTFS partitions, ntfsclone --save-image / --restore-image is really efficient. You probably want to feed its output to lzop instead of gzip, because gzip/bzip2/xz would be a bottleneck and you don't gain that much with it: - compressing is longer - decompressing is longer - space gain is not magical (when performing an initial disk image (whole disk, with dd/cat) of an OEM laptop with a 640GB disk, I had 26GB with xz --extreme instead of 44GB with lzop -3). xz file was too slow to decompress, so I finally deleted it. Note: if the MBR or partition boot is broken, you'll need to boot with a Windoze rescue CD to fix that.

    4. Re:No, ntfsclone is what you're looking for. by Ayourk · · Score: 3, Interesting

      For the MBR being broken, why not just take a dd image of that section of the HDD and present that as an option as part of the repair process? Having backups of the MBR, partition table and FAT are good ideas for recovery options IMHO.

    5. Re:No, ntfsclone is what you're looking for. by CSMoran · · Score: 1

      I agree on backing up the MBR but what good would restoring FAT and not the files do?

      --
      Every end has half a stick.
    6. Re:No, ntfsclone is what you're looking for. by zoloto · · Score: 1

      Or stick it on a read-only compact flash card. Boot with grub into windows (2 second countdown) or interrupt it and boot the recovery partition. Sounds like a winning combo!

    7. Re:No, ntfsclone is what you're looking for. by quantumphaze · · Score: 1

      Check out ms-sys if you want an MS independent tool for fixing the MBR.

      http://ms-sys.sourceforge.net/

      (It supposedly can also be used to make Windows USB installers but I never got it working)

  16. If you're using Windows by magamiako1 · · Score: 2

    Look into the Windows ImageX utility, and make sure to *sysprep* your machines.

  17. Grub4Dos + Clonezilla by Anonymous Coward · · Score: 0

    I have done exactly what the OP needs using Grub4dos and Clonezilla. Grub4dos creates the boot-time menus to select recovery or OS boot and Clonezilla has documentation on its site for creating an automated restore.
    Grub4dos Links: http://sites.google.com/site/grubdos/ , http://reboot.pro/forum/66/ , http://www.rmprepusb.com/documents/rmprepusb-beta-versions (grubinst.exe and grldr are within the Install_RMPrepUSB_Full_2.1.630.zip file)

  18. DD of a GZipped Image by rhadc · · Score: 3, Informative

    dd is your primary tool.

    zero out your drive so that when you compress it, you get a very small image.
    dd if=/dev/zero of=[drive]

    Install and configure your OS onto [drive]

    dd if=/dev/[drive] | gzip -c > zipped_drive_image.bin.gz

    to restore:
    gzcat zipped_drive_image.bin.gz | dd of=[drive]

    I may be a bit rusty, so the commands may need slight work. I've definitely used this method though, and it has worked well.

    1. Re:DD of a GZipped Image by Anonymous Coward · · Score: 0

      I use a Linux boot CD, and dd to read/write the recovery partition.
      Quick and simple, but it assumes that you have a known-good recovery
      partition somewhere to copy.

    2. Re:DD of a GZipped Image by bheading · · Score: 2

      Slightly more optimal if you do the first steps in reverse, ie

      - install the OS first and do a cleanup on it (eg ccleaner on Windows), uninstall any crap that's on it, clear out logs/tmp files etc.
      - within the OS, write a big file full of zeros to fill the drive - ccleaner can do this easily by zeroing any unused space - dd will work if you can mount it from Linux.

      Then use dd to capture the image as you suggested.

    3. Re:DD of a GZipped Image by Gaygirlie · · Score: 1

      to restore:
      gzcat zipped_drive_image.bin.gz | dd of=[drive]

      Not enough. You need to make sure the partition table is correct and that there is a working bootloader on MBR. Easy steps, yes, but forgetting those can make things even worse than they were before attempting restore.

    4. Re:DD of a GZipped Image by Anonymous Coward · · Score: 0

      I've used this for 10 years now on some Windows NT machines running some industrial software. I've created a small linux partition, and added some GRUB entries for creating and restoring partitions' images.
      My costumers already know how it works: when Win NT stops working, they just reboot, choose the "restore last image" option on GRUB boot menu, and 5 minutes later they recovered a 2Gb partition. After 10 years, average has been twice a year...

    5. Re:DD of a GZipped Image by rhadc · · Score: 1

      A follow up to some comments on this approach.

      On zeroing out your drive or partition:
          If you zero out a drive, whatever you use to get bootstrapping started (traditionally MBR), describing the extents of your volumes (partition table), and your filesystems themselves will not write over most of those zeros. So whether you do it to the whole drive (say.. /dev/sda) or the volume (/dev/sda1) should depend on what you're trying to do and what will be getting imaged.

      On the use of DD at the drive or volume level:
      - You can back up whole drives, but you must restore to something at least the size of the original drive. Plus, you will lose any additional space when you restore to a larger drive. You may be able to add additional volumes with your partition tool or resize what you have, but you begin to erode the value of this approach.
      - You can image the volumes/partitions, but you'll have to ensure that the partition table describing the extent of the partition does so the same way, with the same size.
      - The most important thing about either approach is that you have a strong understanding of what is and isn't getting imaged when you use the DD tool.

      The craziest thing I have done with this method:
      (Circa 2003, I think)
      I had 3 PATA drives set up as a Linux RAID 5. Two of the drives relied on the same cable and drive controller.. some of you already know what will go wrong here.. The cable or controller failed, and I had a failed RAID 5 volume that would be risky to rebuild. And it had important files. :) I had to find a way to rebuild it, so I needed to attempt to rebuild from copies.
      The three RAIDed drives were /dev/sdb, /dev/sdc, and /dev/sdd, so they were members of the RAID set as whole drives, not partitions.
      Using a 250G drive, I created 3 partitions /dev/sda1, /dev/sda2, and sda3, and DDed each raid set member into its respective position on the new drive. I then configured linux to see the three partitions as a raid set. Sure enough, Linux asked if I would like to rebuild the raid set. I said yes, and Linux successfully rebuilt the set into a working RAID5 volume based on 3 partitions that existed on the same disk.

      A couple of lessons -
      1 - There is no difference between the block device identified as the drive and those identified as partitions on the drive. They are differentiated based on their use by the OS.
      2 - Don't be dumb like me. Follow best practices with RAIDs, backups, and protecting your data.

      Happy DDing.

    6. Re:DD of a GZipped Image by Anonymous Coward · · Score: 0

      It is probably better to fill up the drive with a zerofile rather than zeroing out the drive before installing the OS, otherwise you'll get remnants of files than were on the drive temporarily. Although the best option is to use ntfsclone for an ntfs partition since it understands the filesystem and can skip the bits that are marked as empty.

  19. Re:FOG Project by mrmeval · · Score: 1

    A 'minor bug' that demands they rip that version off their server and that users don't use it. http://www.fogproject.org/?q=content/minor-bug-031

    --
    I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
  20. The author must be an MS-Windows user by Anonymous Coward · · Score: 0

    MS-Windows is the only system that needs this kind of tools. The others can simply use backup-tools like dump, tar etc.

    1. Re:The author must be an MS-Windows user by Gaygirlie · · Score: 0

      MS-Windows is the only system that needs this kind of tools. The others can simply use backup-tools like dump, tar etc.

      And how do you use those if the system is borked and needs to be restored from a backup, eh? Oh, that's right: you can't.

    2. Re:The author must be an MS-Windows user by marcello_dl · · Score: 1

      The other OSes can be installed on cd dvd and usb and booted from there when your hd goes clicky clicky. A 512 mb sd card can hold a linux os on which you can do work, an xp freshly installed system needs drivers for printing scanning 3d even unencrypted dvd.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    3. Re:The author must be an MS-Windows user by Gaygirlie · · Score: 1

      The other OSes can be installed on cd dvd and usb and booted from there when your hd goes clicky clicky. A 512 mb sd card can hold a linux os on which you can do work, an xp freshly installed system needs drivers for printing scanning 3d even unencrypted dvd.

      You totally missed the point there, it went past you so fast it left skidmarks on your forehead.

      My point was that no matter what OS you use, you're STILL going to need one or another tool to get it back to work if it goes borked up. Linux isn't some magic tool that suddenly just repairs itself if it gets screwed up and is no longer bootable.

    4. Re:The author must be an MS-Windows user by marcello_dl · · Score: 1

      Did the guy you were replying to imply linux repairs itself? He said it's easy to do something to linund ox because everything is treatable with some tools. I said it's also easy to get full featured and completely compatible versions on USB sticks SD cards live cds. I'll up the ante pointing out that the tools are multiplatform (in case you need to check out a powerpc config file) and that recovering a partition when you switched out enough hardware make windows barf out at boot. While linux tries it best to work with whatever it finds when it boots.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
  21. Why Not Include Recovery Media Instead? by fast+turtle · · Score: 1

    It seems that all of the damn MBA's have convinced people that saving a few cents per million units is the way to go. What I'd suggest in regards to customer service is do what the OEM's aren't doing and simply include a physical set of recovery media. This way if they have to replace a failed drive, they've got some way of doing it.

    As someone who's had drives fail on OEM hardware (out of warranty) I've always appreciated having physical media. Another issue is that of Virus/Malware infections. I've actually seen brand new systems with virus/malware on the recovery partitions and you can't clean them w/o a full wipe/repartition and if you're going that far, you may as well have physical media to do the job right. Another thing is to include dban with the main recovery disk setup to offer the option to Puke & Nuke the System. If you do that, then don't forget the Warning/Reminder to Backup before Nuking from Orbit.

    From an end-user standpoint, I'd love to see the option to do a secure wipe before system restore so I can sell/donate an old system and not have to worry that any of My personal data is still on it.

    --
    Mod me up/Mod me down: I wont frown as I've no crown
    1. Re:Why Not Include Recovery Media Instead? by RLaager · · Score: 1

      I wish that manufacturers would internally install an SD card or flash drive with the hardware write-protect switch set. This provides all the advantages of optical recovery media (write-protected and separate from the hard drive) plus the advantage of a recovery partition (it's not separate, so it can't get misplaced).

    2. Re:Why Not Include Recovery Media Instead? by advid.net · · Score: 1

      Most PC motherboards have some unused on-board usb ports (with pins).

      You can use a "pins to usb-B" cable to plug a usb key with a R/RW switch.

      This cable is usually provided, otherwise a DIY will do, pin-out is in the mobo reference doc.
      Then USB keys with a read only switch are not common, I have an old one but I didn't found any lately. You still can use a SD card with an adapter.

  22. Guide by Aggrajag · · Score: 2

    The following thread has a guide on how to create a Windows 7 recovery partition:

    http://forums.mydigitallife.info/threads/21978-Windows-7-OEM-Recovery-Partition-tools-creator-Free

  23. Ship a DVD with it by nurb432 · · Score: 2

    While it looks like most people here didn't even read the requirements before they posted ( typical these days ) i did, and i think for the best 'customer expirence' you are best off sending a DVD along with it and not screw with a partition.

    it gives them a way to come back from a *dead* drive ( the most likely scenario ) and it gives them something to hold in their hands that will if nothing else make them feel like you care.

    Disks are cheap, eat a few pennies in the name of customer service...

    --
    ---- Booth was a patriot ----
    1. Re:Ship a DVD with it by vux984 · · Score: 1

      it gives them a way to come back from a *dead* drive ( the most likely scenario ) and it gives them something to hold in their hands that will if nothing else make them feel like you care.

      The most likely scenario is a nasty virus/malware infection. Many people would rather just re-pave the hard drive than try and clean it and gamble they were successful.

      A physical disk never seems to be around when you need it, and half the time gets scratched or corrupted by the time you need it.

    2. Re:Ship a DVD with it by MoFoQ · · Score: 1

      then put the disc in a case and secure the case with the disc inside the computer.

    3. Re:Ship a DVD with it by nurb432 · · Score: 1

      Ok, even tho i disagree on the 'main cause' for a restore, would you trust restoring a infected drive from another partition on that same PC? I wouldn't.

      --
      ---- Booth was a patriot ----
    4. Re:Ship a DVD with it by Ayourk · · Score: 1

      Like MoFoQ (584566) says, put it in the case and secure it near the HDD so that it can't get lost, but use a flash drive that is equivalent to the recovery partition, that way you can account for the HDD failure and losing recovery media. Having a recovery partition isn't moot. It allows you to restore the system without having to hunt down some sort of recovery media. Doing both ways isn't a total waste as it does offer better value to most users and even some of the advanced users too.

      And if the hardware is new enough to boot from USB, then yes, forego the boot partition and hook up this "internal" flash drive up as the recovery partition as RLaager (200280) previously stated.

      Lately, I've given up on making CDs/DVDs because they are just too bulky. Flash drives are cheap and neatly compact. It isn't hard at all to make a flash drive read-only and bootable these days. Most recovery partitions don't need to be more than 2GB and what does a good quality 2GB flash drive cost these days?

      Granted on hardware that won't boot from USB, I do still create a recovery CD in addition to a recovery partition, but storing the media in the case makes sure you can actually "find" the media when needed.

    5. Re:Ship a DVD with it by ben_kelley · · Score: 1

      Unless you are shipping the original installation media, don't you have the same issue as the OP in creating a bootable recovery DVD as you do with creating a bootable recovery partition?

    6. Re:Ship a DVD with it by sys_mast · · Score: 1

      OK, not sure how serious you where with putting the disk inside the PC. But I can't say how happy I was the day I found the original drivers/software/manuals for some hardware inside a PC case.

      I'd also suggest putting the biz name on the CD, since the guy that finds it won't know where it's from. But you might get some business from it! I know I would consider buying from somebody like that. (or more likely suggesting that the customer continue to purchase from you)

      Side note, must be getting old as that was a 486 and doesn't feel like it was THAT long ago....

      --
      Those who can, do.
    7. Re:Ship a DVD with it by Anonymous Coward · · Score: 0

      Well You encrypt the partition. At any rate I've never seen an infection damage an unmounted hidden recovery partition and I've seen a lot of crazy shit attacking computers. Though realistically I always wondered why no malware did. I guess it shows you how unsophisticated and automated most computer breaches are.

  24. DRBL+Clonezilla Server by Anonymous Coward · · Score: 0

    I have used this in a production environment on at least 4 dozen types of models (netbooks, laptops, and desktop computers). The biggest issue I have found will be finding the correct network drivers for PXE booting and storage of images as they become quite large (30gb to 60gb).

    I was a n00b when I first started this project and the FAQ proved to be very useful.

    DRBL Sourceforge Page

    Cheers,
    Anonymous_Coward

  25. DeployStudio? by guruevi · · Score: 1

    DeployStudio PC works very nice to deploy a machine. You create an image and then just re-deploy it - it resizes NTFS partitions correctly and have had so far no issues restoring any version of Linux or Windows with any number of partitions.

    For a bootable recovery partition, you could put a small Linux (busybox) image with the ntfs tools and dd that automatically runs when you boot it.

    --
    Custom electronics and digital signage for your business: www.evcircuits.com
    1. Re:DeployStudio? by Anonymous Coward · · Score: 0

      Does deploystudio PC require the deploystudio server? I've only dealt with restoring images via deploystudios onto Macs via the network (setting up scripts etc to also do dual partition os x/ windows images etc). If the PC version also requires the server, then that's a poor solution in my mind if this is to be setup so the end user can restore if need be

  26. This would take a bit of time, but by Anonymous Coward · · Score: 0

    These aren't exact instructions, but figured I'd give it a shot.

    First, create what will be your recovery partition. Make it big enough to hold your recovery image.

    Next, install your system like normal, and use dd + gzip to make an image of your partition containing the OS. Just the partition, don't do a whole-disk copy.

    The command would be something like
    dd if=/dev/sda2 | gzip -c > image.bin.gz

    Then, I'd take some kind of mini-linux distribution, like Tiny Core linux, something like that, and I'd install it to the first partition. Copy the disk image there, and set up Tiny Core so, on boot, it launches some script asking if you'd like to restore the system, and if so, does a command like
    gzcat image.bin.gz | dd of=/dev/sda2

    Make sure grub is set to boot the OS partition instead of the recovery partition, maybe make it so you have to hit ESC during GRUB's stuff to get into the recovery partition. Done and done.

    Then, Clonezilla the whole thing for installing onto your batch of computers.

    1. Re:This would take a bit of time, but by Culture20 · · Score: 2

      dd's a poor solution; if it hits a bad block on the drive, the default is the fail. Your best bet is to use a program that recreates the partition, formats it, and copies the data in place like partimage or ghost. Bonus points for not having to copy unused space ( even if you zero the drive first like some suggested, you'll have gigs of wasted space from deleted installation files). Worst case scenario, use ddrescue instead of dd since ddrescue is a little more verbose and has easier options for skipping bad blocks.

    2. Re:This would take a bit of time, but by SJ2000 · · Score: 1

      dd's a poor solution; if it hits a bad block on the drive, the default is the fail

      Which is why alternatives like dd_rescue and ddrescue exist.

    3. Re:This would take a bit of time, but by evilviper · · Score: 1

      dd's a poor solution; if it hits a bad block on the drive, the default is the fail.

      DD IS a poor solution, but not really for any reasons you managed to hit upon. The only difference between partimage/clonezilla and DD is that the former knows enough about the filesystem structure to SKIP any blocks marked as unused, saving space and backup/restore time. If your bad block is one that is allocated, partimage/clonezilla will fail just as badly. They have the advantage of speed (possibly a LOT of speed) and nothing else...

      ( even if you zero the drive first like some suggested, you'll have gigs of wasted space from deleted installation files).

      You don't zero your drives first... when you're ready to create an image, you fill up the filesystem(s) with a large file with a single repeating character, usually nulls (0x00) from /dev/zero but really any other character works just as well. When all free space is full of those large file(s) filled with zeros, you delete the files to recover the space, then immediately create a DD image, and compress the result.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  27. Where's the problem ??? by Anonymous Coward · · Score: 0

    Clonezilla already has the tools to create the partitions also....unless I guess your looking for the tool to make the master recovery partition...
    then http://partedmagic.com/doku.php

    also look at http://ping.windowsdream.com/

    either are excellant

  28. Use partimage by Anonymous Coward · · Score: 0

    I've done this on some computers for my family, they are all windows users. Once I get their install to the point that I want, I install Ubuntu. Then I use "partimage" to backup the windows partition to the Ubuntu partition. I usually make the Ubuntu partition around 10Gigs. partimage will compress the backup, and also only back up allocated portions of the NTFS partition. Partimage isn't the only one out there, there's a few others. Restoring windows is pretty fast, only takes half an hour. I create a custom shortcut on the Ubuntu desktop that automates the procedure, so that I don't have to get involved during the recovery.

  29. PartImage is Not Ghost (PING) by ternarybit · · Score: 1

    I was in a very similar situation as OP and found PING very helpful. It doesn't provide any automated way of creating a recovery partition, but the documentation does explain how to make automated system restore discs. The principle is nearly the same, so adapting it shouldn't be too hard.

    Off the cuff, I imagine it would go like this:

    • Deploy a clonezilla image to a host machine
    • Create a recovery partition with gparted or similar. The recovery partition need only be about 30-40% of the total occupied space of the system partition (thanks gzip!)
    • Install PING to the recovery partition. I'll leave this as an exercise to the reader.
    • Install GRUB to the MBR, creating entries for Windows and PING's kernel
    • Create a system restore image with PING and save it to the recovery partition
    • Tweak the KERNEL line in GRUB with the appropriate automation. The PING documentation is very helpful with this (see above link)
    • Once you have everything set up just right, you can then create a master clonezilla image of the entire hard disk to deploy to identical machines.

    The main downside to this is it relies on GRUB, which may not be desirable to your customers. It's also tedious to set up.

    It's really worth mentioning that creating an automated restore disc is much easier.

  30. I've done it a few ways by forgottenusername · · Score: 2

    1) dd mbr + data on disk

    2) sfdisk partition data, then use xfsdump/xfsrestore to recreate the partition data on disk

    Both of those have the advantage of being easily scriptable, and a disadvantage of being fairly dificult to deal with variable disk sizes without doing quite a bit more work.

    You could also look at partimage which may be more what you had in mind - http://www.partimage.org/Main_Page

  31. fsarchiver by hoggoth · · Score: 1

    I use fsarchiver, and as far as I can tell it is better in every way than ntfsclone, clonezilla, et al.

    --
    - For the complete works of Shakespeare: cat /dev/random (may take some time)
    1. Re:fsarchiver by Anonymous Coward · · Score: 0

      Surprised at the lack of love for fsarchiver. Multi-threaded compression / decompression, NTFS support, file-by-file recovery (so if the archive gets corrupt, only the individual impacted files become corrupt, not the entire archive), extensive CLI, low resource usage ... fsarchiver is the unsung hero of the FOSS world. Wrap a bash script around it, tighten up your Linux boot environment, create a "recover / recover" user, auto-fire it, and you're set. All they have to do is boot in and *bam*, instant hassle-free recovery.

      You'll have no problem wrapping a simple XP or 7 installation down to a gig or two (or less).

      My ONLY gripe about fsarchiver is that the NTFS file structures it rebuilts are horribly fragmented. I understand that nothing other a block-by-block

  32. Re:FOG Project by flydpnkrtn · · Score: 1

    Right. For the database schema update after you upgrade FOG, when you use the web interface you don't get redirected to the 'schema update' page. Minor bug, that would require an admin to run mysql and pipe in the database schema update script. Not really that big of a deal...

    What's your point exactly?

  33. Trinity Rescue Kit by Anonymous Coward · · Score: 0

    The Trinity Rescue Kit, a live CD-based toolkit, has an OS cloner and some MS recovery tools
    http://trinityhome.org/Home/index.php

    Trinity Rescue Kit or TRK is a free live Linux distribution that aims specifically at recovery and repair operations on Windows machines, but is equally usable for Linux recovery issues. Since version 3.4 it has an easy to use scrollable text menu.
    Here 's a sumup of some of the most important features:

    -easily reset windows passwords with the improved winpass tool
    -simple and easy menu interface
    -5 different virusscan products integrated in a single uniform commandline with online update capability
    -full ntfs write support thanks to ntfs-3g
    -winclean, a utility that cleans up all sorts of unnecessary temporary files on your computer.
    -clone computers over the network via multicast.
    -wide range of hardware support (kernel 2.6.35 )
    -contributed backup utility called "pi", to automate local machine backups
    -easy script to find and mount all local filesystems
    -self update capability to include and update all virusscanners + local changes you made to TRK.
    -full proxyserver support.
    -run a samba fileserver (windows like filesharing)
    -run a ssh server
    -recovery and undeletion of files with utilities and procedures
    -recovery of lost partitions
    -evacuation of dying disks
    -full read/write and rpm support
    -UTF-8 international character support (select keyboard language from the scrollable textmenu at startup)
    -2 rootkit detection uitilities
    -most software updated to recent versions
    -literally thousands of changes and bugfixes since version 3.3
    -elaborated documentation, including manpages for all commands (also TRK 's own)

    1. Re:Trinity Rescue Kit by marky_boi · · Score: 1

      LOL.... ""./"" 'd already...............

  34. Maxtor one touch by way2trivial · · Score: 1

    they don't sell new anymore, but that is what they did once setup.

    you hit a button on the harddrive, and it ran a backup process.
    http://www.pcmag.com/article2/0,2817,1230418,00.asp#fbid=t9YT9-CRkJe

    found this from 2003....

    apparently, they didn't last.. (nor maxtor)

    --
    every day http://en.wikipedia.org/wiki/Special:Random
  35. You're doing Windows. Use Microsoft's toolset. by Ritchie70 · · Score: 1

    We actually have something very much like this on the systems we deploy at work.

    The boot menu has a "don't do this unless support tells you to" option.

    If the user selects that option, it boots WinPE off a different partition. That Windows session puts up a message box for confirmation, then uses imagex to explode multiple WIM files out to the normal live partitions.

    The way we load the boxes initially actually just adds one more step to this. Boot WinPE off DVD, partition the hard drive, copy the recovery partition's contents from DVD to hard drive, mark the "don't do this" boot menu as the default, and reboot. It then picks up with the WinPE off the hard drive recovery partition, which in turn loads the normal partitions. It works pretty well.

    --
    The preferred solution is to not have a problem.
  36. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  37. I do this all the time with Slax by fwarren · · Score: 1

    I have slax set up with partimage. Here are the steps I take
    1. Create a 5 gig partition for the backup image
    2. Create a folder on the hard drive named slax and copy all the files from the slax CD into this folder.
    3. Create a recovery script that goes in C:\slax\rootcopy\usr\bin
    4. Create a link to it using a .desktop file like C:\slax\rootcopy\root\Desktop\recovery.desktop
    5. Rename C:\NTLDR to C:\NTLDRXP
    6. Rename the GRUB4DOS bootlader to C:\NTLDR
    7. Have C:\Menu.lst have 2 options. 1 to boot the default os after 5 seconds and another option to load slax.
    8. Boot to slax. If you like zero out the pagefile get get better compression dd if=/dev/zero of=/mnt/hda1/pagefile.sys bs=1M count=1524 then umount hda1 and use partimage to create a backup on hda2.

    This way slax is loaded off the hard drive and into RAM and automatically mounts both /dev/hda1 and /dev/hda2. The recovery script unmounts hda1 and uses the image on hd2 to restore hda1.

    Since an XP install easily will fit on a 4GB DVD you can instead make a recovery DVD with slax where the recovery image is on the DVD instead of the hard drive.

    Or you can make a recovery CD that just boots a copy of slax and expects to have a recovery image file on hda2.

    In my case I work at a company with 7 locations and a server at each location. I have the slax setup on each XP workstation and the latest recovery image stored on the server. We don't use roaming profiles due to Outlook with Exchange. But if someone is having a problem with a system I convert their profile to a romaning profile, it backs up to the server, I then reboot the computer to slax (by modifying menu.lst) mount the networkshare, reimage the hard drive, reboot, rejoin the domain and log in with the roaming profile. At that point I convert the profile back to nonromaing. And set up the local printer.

    I would be more than willing to provide in depth details, scripts and instructions on how to remaster slax ans necessary.
     

    --
    vi + /etc over regedit any day of the week.
  38. EaseUS Todo Backup by Anonymous Coward · · Score: 0

    I was using Norton ghost, but then I stumbled onto EaseUS Todo Backup. It's much faster and more reliable than Norton, and best of all - FREE. Only problem I've had is with incremental backups. It can image the drive while Windows is running or when you've booted into the recovery console.

    Recovery console runs both on Linux and WinPE.

    I don't know exactly what you're looking for, but if you want to create a different boot partition which you can boot into using e.g. windows bootloader (or USB/DVD) and then do a system restore from there, then this is your product.

    PS. they also have a bunch of other related free products.

  39. Microsoft Deployment Toolkit by Anonymous Coward · · Score: 0

    Microsoft Deployment Toolkit is what we use where I work. It uses the ImageX component but allows you to have a nice clean interface to build out your images. You can deploy using the PXE, ISO, or other options and there are ways of building out a full zero-touch install of windows and other applications. We use it to install Windows, run all updates, and install applications so we do not have to babysit an install process. You can find it below:

    http://technet.microsoft.com/en-us/solutionaccelerators/dd407791

    It's main component is the Windows Automation Toolkit which contains WinPE and ImageX, but the deployment toolkit just makes it easier to control.

    Best part is that it is FREE for anyone to use.

  40. Don't back up partitions, back up files by GameboyRMH · · Score: 1

    Partition backups are unwieldy, inefficient and inconvenient. They basically assume that you'll be restoring to the same hard drive model. Back up files instead. I use rsync on Linux and vshadow+robocopy on Windows.

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
  41. PING by Anonymous Coward · · Score: 0

    PING is a simple Linux system with an interface to PartImage. See: URL:http://ping.windowsdream.com/>

    I use version 2.01.19 regularly to backup drive partitions formatted in NTFS or ext2-4. It writes the compressed recovery files to NTFS, ext# or a network drive.

    It has often saved my bacon.

  42. Tar by Anonymous Coward · · Score: 0

    Ive had a lot of success simply tar-ing entire file systems, including recovery partitions. My only problems so far have been with windows 7-based systems as the new boot process uses GUIDs, which are of course different for each harddrive (including same vendor/model). If anyone knows how to generate this GUID from linux and then hack the registry to make it boot, please elaborate :) Tar-ing a "generic" windows 7 system and using that instead works quite well. You can use any distro (slitaz, puppy linux) and modify init.d scripts to automagically untar your image(s) to the destination computer.

  43. Clonezilla by Anonymous Coward · · Score: 0

    If you dig a bit deeper in Clonezilla's options, you will find that it can be done easily.

  44. Not considering everything here? by Anonymous Coward · · Score: 0

    So, here's what I see missing from this equation:

    1) How much crapware are you loading onto machines that you need an entire partition dedicated to bringing the machine back up to 'spec'? Most small computer shops don't have the licenses to load stuff like Office, etc, onto pre-sale machines, so either you're planning to load a lot of Open Source stuff, or you've overthought this by miles. The reason Dell/Acer/ and other shit-machine shops use a 'recovery partition' is to screw the user into having to use their OEM licensed crap in a way they control. This is not the model you want to emulate.

    2) What's the use of a 'recovery partition'? With Win7 and most modern OS loads, *most* hardware has available common Windows drivers in the OS. Stuff that requires additional drivers (RAID controllers, etc) are generally going to need those drivers presented to an OS load/pre-build - not after the fact. This makes the Recovery parition, essentially, useless. If nothing else, when trying to restore an OS or reload the disk, you now have one useless partition to work around.I'm not sure what you think you're gaining here.

    3) Are you using OEM copies of Windows? How do you plan to avoid the OEM license issue of loading onto a new machine? Are you reloading the OS? If so, what's the point of a Recovery Partition?

    When you're a small shop, you have small resources available to you. There are lots of solutions out there that will allow you to load custom software onto machines as dictated, etc. If you're just loading the OS and all builds are pretty much the same, a *partition* for this is essentially stupid. Small shops *especially* need to avoid licensing fiascos of what software they are imaging onto machines and pre-loading them as well, as you can't afford lawsuits.

    Make a custom build of the PC's you're loading onto every machine, create a folder on the disk for the necessary non-included drivers, and then seal that bastard up as an image and deploy it to your new builds. If you're preloading software in varying configurations, there are easy easy ways to setup install scripts from a repository, etc.

    But, from what your question is, it's hard to tell why you would even need something like this. I worked in retail build shop for years and built thousands of machines for them (not Best Buy or some shit, but a real PC shop).

    And FWIW, the build monkeys out there who work in 'IT' and 'deploy' machines have no goddamn clue what the ramifications are compared to what you are working with in a local Comp Shop. It's a vastly different process when working in a shop with VL keys they can shit out all day, or not having to worry about big differences in machine builds, or OEM licenses deactivating, etc, than in a retail shop. If Joe Network Douche has an issue, just reimage his machine! Try doing that with a PO'd retail customer and see where that gets you.

    My advice: unless you NEED a recovery 'partition', this is a waste of your time. Why not just load the stupid drivers onto the hard disk? Partitioning a drive doesn't save you disk space, having an extra partition causes you more work, and there is instrinsically little to no value to this if you know how to build your OS the right way.

  45. Ben doing it with SystemRescueCD, both HDD and DVD by manicalic · · Score: 1

    * prepare image (partimage - my choice, fsarchiver, ntfsclone, dd or whatever works for you), put on disk with the rest of the iles (sample: /image/diskc.000).
    * put file named "autorun" in root dir
    * if partition: the "rename NTLDR/BOOTMGR, put GRLDR in it's place" installation of GRUB4DOS is the simplest and survives various "repair boot sector" procedures
    * if partition: hide the recovery partition, make GRUB4DOS only show additional menu if Esc key pressed (hiddenmenu command)

    < sample autorun file >
    #!/bin/sh
    echo "**   Are you really sure that you want to restore the system drive C:,**"
    echo "**   all installed programs and all data to freshly installed state?**"
    echo ""
    echo "**    This will delete ALL user data (documents, pictures etc.)**"
    echo "**    so you should try to save the most important stuff on a pendrive**"
    echo "**    or portable hard disk first. If Windows does not boot, try this:**"
    echo "**    - press Alt+Ctrl+Del here**"
    echo "**    - as your computer is rebooting, keep tapping F8 (once a second)**"
    echo "**     until you see a menu with "Safe Mode" option on top. Activate it.**"
    echo ""
    echo "**    If you want to continue, write: YES (has to be capitals)**"
    echo "**        then hit the Enter key**"
    echo ""
    echo "**    If you write anything else, the computer will start in a rescue**"
    echo "**    mode (ie. System Rescue CD).**"
    echo ""
    echo ""
    echo "**    THIS IS YOUR LAST WARNING BEFORE OVERWRITING THE DRIVE C:**"
    echo ""

    read wpisal
    if [ "$wpisal" = "YES" ];
        then
         echo "Here we go"
         partimage -f2 -b restore /dev/sda1 /mnt/cdrom/image/diskc.000
         sync
         shutdown -r now
        else
         echo "You typed: $wpisal, not YES; starting Linux"
         echo "press any key to continue or Alt+Ctrl+Del to reboot"
         read -n 1 -s
    fi
    -- < sample autorun file > --

    * if DVD: make image of recovery partition (with image of system partition) rather than system partition,
    * if DVD: adjust default kernel loading timeout in isolinux,
    * if DVD: an option to re-write mbr makes sense in case the HDD was replaced

    System Rescue CD always mounts it's media on /mnt/cdrom (unless you choose to load to RAM)

    The disclaimer is going to be different in case of DVD recovery, obviously.

  46. clone2fs is the linux equivalent by yakovlev · · Score: 1

    dd is suboptimal for this because it doesn't zero out unused sectors. For linux filesystems, clone2fs is the equivalent command. I don't know if something similar is available on OS X.