It is quite easy to clone identical hard drives using the dd command on GNU/Linux. Make sure that you put the source drive and destination drive in the system so that they don’t affect the boot. If you have a SCSI system, this is most likely done by making the SCSI IDs higher. With IDE, […]
Cloning Hard Drives with GNU/Linux
Mirroring a Website Using rsync
If you would like to mirror a website, or any part of a filesystem over the Internet, you can use rsync over ssh. Here is an example: [opt]# rsync -e ssh -avz root@website.com:/opt/webroot /opt/ root@website.com’s password: receiving file list … done webroot/logs/web1.access webroot/logs/web2.access webroot/logs/web3.access webroot/logs/web4.access wrote 156644 bytes read 345589 bytes 3475.66 bytes/sec total size […]
Using Dump to Migrate Hard Disks
One method to move filesystems around, particularly if you are moving your root filesystem, is to use dump. Dump is a lower level backup program than tar, but this also makes dump quicker, because it doesn’t have all of the overhead. Another advantage is that depth of directories, symlinks, etc. aren’t a big deal. In […]
Bull-Headed Booting
One handy tool for booting linux systems and mounting the root partition is Loadlin. Now, Loadlin is *really* old, but there have been many times it has saved our sorry arses. You can get loadlin here. Loadlin needs some kind of *DOS on the floppy to boot from. MS-DOS 6.22 works fine; however, if you […]
Nightly Mirroring via Rsync
In this article we showed how to use rsync to mirror a website. Well, rsync can also be used to provide a lukewarm recovery system. On this workstation, the root filesystem is on /dev/hda3, and we will mirror it to /dev/sda3, which we have mounted on /mnt. If you don’t have rsync, grab rsync from […]
Creating an NT boot disk
NT gets a BSOD when you sneeze at the drivers/config. We have to do some upgrades on some NT boxes, but, first, we need to make sure we can recover from a system that can’t boot. This site started out with NT (cough… ntadmintools.com), but it has been a long time. Many Linux and Windows […]
Using the Windows 2000 Recovery Console to Fix NT
In this article, we created a boot disk that could recover from a rename of ntldr. Well, what if you needed access to other files on the NTFS file system to recover. It would be nice if you could use something like the Windows 2000 Recovery Console to fix the filesystem. Well, guess what? You […]
Using Last Known Good Configuration To Restore an NT System
In this article we used the Windows 2000 recovery console to fix the filesystem on an NT server. Let’s use the recovery console to make a BSOD. We’ll just disable a required boot service: Let’s reboot: Nice!! That is what we wanted. Now, we could boot again and fix with the recovery console: That works […]
Creating an NT Emergency Repair Disk
Rdisk is used to recover your system from boot problems, registry problems, or OS corruption. Run rdisk by start->run->rdisk. You can specify /s if you wish to restore your security permissions. Rdisk is a little misleading. You might assume that simply pushing the Create Repair Disk button would work, but it doesn’t. Make sure you […]
Recovering an NT System With an Emergency Repair Disk
To use the Emergency Repair Disk we created in this article, you need to boot with the three NT setup disks that can be created by running winnt32: If you don’t have an NT box, you can use the NT distribution cd from MS-DOS or a Windows 95/98 command prompt and run winnt /ox. Boot […]
Using Tar to Upgrade Your Hard Drive
This is a story about a whale. No!! This is a story about making my computer happy. A few days ago, I started having weird problems on my main workstation, srv-1. My system would lock up completely. Only by pushing the reset button could I wake her from her slumber. I reseated all of the […]
The Archive Bit And Incremental Backups on Windows Filesystems
The archive bit is used to determine what files have been backed up up previously on a Windows filesystem. The bit is set if a file is modified. A backup program can then clear the bit when it does a full backup. This allows the backup program to do an incremental or differential backup that […]
Creating a Recovery Partition
If you have the ability to stick a second drive in your workstation or server, it can make a great recovery tool. True, there are a lot of CD recovery distributions out there, but the approach we use here will actually fit on a 100 Meg Zip disk. Further, it is portable to virtually any […]
Software RAID on Windows 2003 – Part1
There are 5 parts to this article: Part1 – Part2 – Part3 – Part4 – Part5 This series of articles will show how to set up software RAID on a Windows Server 2003 system. Before you do anything with your disks, make sure you have a good backup. Please read our terms of use. We […]
Software RAID on Windows 2003 – Part2
There are 5 parts to this article: Part1 – Part2 – Part3 – Part4 – Part5 We are warned that filesystems on the disks to be converted need to be dismounted: The system will need to reboot: Confirm reboot: At this point, add a drive. After the system reboot, go back in to computer management/disk […]
Software RAID on Windows 2003 – Part3
There are 5 parts to this article: Part1 – Part2 – Part3 – Part4 – Part5 At the Initialize and Convert Disk Wizard dialog, check the disk you want to convert, and click next: Click finish to complete the Initialize and Convert Disk Wizard: There is now one healthy dynamic disk, and one unallocated disk, […]
Software RAID on Windows 2003 – Part4
There are 5 parts to this article: Part1 – Part2 – Part3 – Part4 – Part5 An error may pop up that says “Logical Disk Manager could not update the boot file for any boot partitions on the target disk. Verify your arcpath listings in file boot.ini or through the bootcfg.exe utility.” Well, we are […]
Software RAID on Windows 2003 – Part5
There are 5 parts to this article: Part1 – Part2 – Part3 – Part4 – Part5 Select the Disk to remove: Confirm: We now have a healthy Disk 0: Remove the missing drive: All is as it should be:
Open Source Utility to Recover Lost Partitions and Fix Boot Problems
Famiarize yourself with TestDisk. It will run on many platforms, and supports many different kinds of partitions. We were able to compile the source on two different machines (GNU/Linux and Mac OS X Tiger). One problem with compiling on Mac OS X is that the ext2 libraries are not available. This was, of course, not […]
Restoring Individual Files and Directories with Tar
One of our systems has a DLT drive we use for backup. It isn’t in a library, and we just use regular tar to back up our main share. Here are some pointers on restoring from tape with tar. First off, you need to specify the exact path from the perspective of the tar archive. […]