![]() ![]() Using a logfile requires more disk space, but it’s your insurance against interruptions and crashes. The logfile can be named whatever you want. The partition you’re copying to should be half again as large as the source partition so you have a safe margin to operate in. That tells it to run three times, and to copy whatever it can from /dev/sda1 to /dev/sdb1. Make sure your source disk is not mounted before running ddrescue you can check this with the mount command.ĭdrescue has a lot of command options, but this simple invocation does the job just fine: % ddrescue -r3 /dev/sda1 /dev/sdb1 rescue-logfile Time is crucial on a dying hard disk, and ddrescue is the fastest of the three. It copies good blocks first, and when it hits bad blocks it skips over them and keeps going. It works at the block level, so it doesn’t matter what filesystem you’re saving- it works on all of them. It operates in a similar fashion to dd-rescue and dd-rhelp, which are also good rescue commands. GNU ddrescue, by Antonio Diaz, is a superior data-rescuing utility. We’re going to save /etc/ and /home: % mkdir /mnt/sicklyĭo not mount anything in mnt or bad things will happen always create a new mountpoint. In this example the sick hard disk is /dev/sda, and the external drive is /dev/sdb. When the extra drive is ready, create a directory to mount it in, then mount it and copy your files. The external drive must have a filesystem on it, which you can create from SystemRescueCD with GParted. These are nice for rescue operations because some models will take both 2.5″ and 3.5″ drives, and both SATA and PATA drives, so you can use whatever hard disk you grab first. ![]() You can get a USB-to-PATA/SATA adapter, with a power connector. There are external enclosures for single SATA/PATA drives. You can get a standalone USB/Firewire drive. If you don’t want to open the case and hassle with connecting an internal drive, you have several good external drive options. If your hard drive is in its death throes, the fastest and most reliable method of rescuing your data is to connect a second hard drive and copy everything to it. It’s nice and lightweight, so it should work even on frail old PCs and laptops. It’s good for running GParted, Leafpad, Firefox and Dillo, and for running multiple X terminals. SystemRescueCD comes with WindowMaker for folks who prefer a graphical environment to the command line, but it’s pretty limited. Yes, you can really fix these systems- you’re not limited to the tired old reformat-reinstall dance that those big shot innovative vendors rely on. ![]() With a SystemRescueCD or USB stick you can perform heroic rescues on any Linux, Unix, Mac OS X, Windows, and probably a number of lesser-known platforms as well. Testdisk, for recovering data from lost partitions and damaged drivesĪnd a lot more stuff you can read about at SystemRescueCD.several VPN (virtual private network) servers and clients.tightvnc, cross-platform remote desktop. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |