![]() With that dump you are sure, that you did not miss any important metadata (like ACLs) which tar won't capture. For this SystemRescue implements the loopback.cfg convention as documented here. Do that with other partitions on the failing drive, too. So even if the normal operating system becomes unusable, as long as GRUB and the appropriate hard drive partition are in working order, you’ll be able to boot SystemRescue. Where you had to adopt /dev/sda1 to the right device. However, you should (also) consider to make a dd dump of the failing drive's partitions: cd good_partition netcat -l -p 1234 > dd if=/dev/sda1 | netcat good_host.ip 1234 GNU ddrescue is the premium tool for copying dying hard drives, and any block device such as CDs, DVDs, USB sticks, Compact Flash, SD cards anything that is recognized by your Linux system as /dev/ foo. ![]() The longer it takes to copy your data, the more you risk losing. (especially the file representing your RAM in ( /proc/kcore) will add an unnecessary amount of data). 50653 When you rescue your data from a dying hard drive, time is of the essence. I included some -exclude parameters, as /proc and /sys are virtual filesystems and hence useless on the new host. The bad host sends the data to this port, also using tar and netcat. Of course, you have GNU Parted (partition editor), Partimage or FSArchiver (drive image clone) for backing up partitions to an image file, File system tools. 1 you should edit your title to 'What is your recommended disk cloning tool' Berek Bryan at 19:45 The Symantec Ghost Suite still rocks though, you don't need a ghostcast server running to use the CLI tools - they're the same great Ghost tools we've come to love - promise. Which opens a listening port 1234 on the good machine netcat -l -p 1234 and pipes the incoming data to tar to extract (preserving mtime and permissions). cd good_partition netcat -l -p 1234 | tar xvpmf tar -cv -f-exclude=/proc -exclude=/sys / | netcat good_host.ip 1234 This is usually much faster as it doesn't encrypt the data. While it's not likely that you still need to work on PCs with only 256MB of RAM, I have been able to boot up PCs with serious memory problems using these network boot techniques.If both computers are on the same (safe) LAN, I recommend a different approach using netcat. Attach the second drive to USB port using a USB to SATA adapter. This method has the advantage of using even less memory on the problem-plagued PC to boot. Boot from SystemRescueCd and type startx to get into X windows. In the latest version (1.40) of SystemRescueCD, you can also use NFS (Network File System) or NBD (network block device) to boot troubled systems remotely. This is great for network administrators with multiple PCs scattered across a campus. I've always that, thanks to this distribution's support for PXE network booting, I could boot a troubled PC over the LAN into the distribution. For an interface, you can use either a shell-based console or the lightweight Xfce graphical desktop. This Linux distribution also comes with many other handy programs such as Midnight Commander, one of my favorite file managers, and a variety of editors and network tools. It's a really handy trick and I've often used it to save files to USB drives. It works by saving file-system to a compressed archive file and then safely restoring it to a new device. With FSArchiver, I'm able to clone file systems from one device to another, even if the partition I'm moving it to is smaller than the original or if it uses an entirely different file system. In particular, I've found FSArchiver (Filesystem Archiver for Linux) to be very handy for moving data from a nearly dead disk to a new drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |