Once the disc loads you should be presented with something like this: It’s now time to start the computer using that CD. So we’ve got the computer we’re going to use as the source for our image, we have a device to store the image on, and our SystemRescueCD. Now that all our materials are ready to go we can get down to business. You can use a network share instead or make use of Partimage’s built-in server functionality, but we won’t cover those here today. Our image storage medium is going to be a 50 gigabyte hard drive we’ll connect to each computer as we save and restore the image. Our eventual destination will need to have a total capacity of 25 gigabytes, which we have covered. Thus, anything we use to store the image as it’s created will need to have at least 4 gigabytes free. Our source computer is running Windows XP and consumes a little over 4 gigabytes of its 25 GB capacity. Well, to be precise what’s important is the amount of used space compared with total storage capacity. Of these factors, the hard drive capacity is most important as it will determine what we can use for #3 above. Both have 25 gigabyte hard drives, the same processor, the same underlying chipsets, and so on. In this example our source and destination computers are different devices although both have exactly the same hardware. A storage medium to hold the disk image.A computer to use as our source for the image.Our list of equipment we need is fairly straightforward: There are a couple other items we’ll need, too. You can download the SystemRescueCD at the project’s download page, and if you need help making a bootable disc out of it you can consult these instructions on burning ISO images. For our purposes we’ll use the SystemRescueCD, a custom Linux disc equipped with a variety of applications for data recovery and disk maintenance. Fortunately, there are several versions of Linux that can run completely off of a CD or DVD without any messy installation process. Partimage is a Linux application, and in order to run it you will need some way to run Linux. Unfortunately, Partimage isn’t terribly user friendly, but I think I can help. Options like the free, open source Partimage. Like most software these days you have some options if you’re feeling frugal. You could buy a program like Symatec’s Ghost or Acronis TrueImage, but those cost money. Imagine being able to recover from a hard drive failure in minutes instead of hours or days or easily migrating your programs and data from your old, garbage computer to the shiny new Dell you just picked up for $400 at Wal Mart. Everything is preserved: the operating system, applications, documents, viruses… Large organizations will use disk images to ease deployment of new systems or to simply update old systems, but home users have several good reasons to make these image backups, too. When you are finished, shut down the VM.What’s a disk image? Simply stated, it’s an exact copy of the contents of the hard drive of a given computer. If you are using a the systemrescuecd, go to the console. In the case of a regular SWITCHengines image, login using SSH. Openstack server rescue -image systemrescuecd VM The rescue command adds the rescue image as boot device and boots: openstack server rescue -image 'Ubuntu Xenial 16.04 (SWITCHengines)' VM Upload the iso file: openstack image create -file systemrescuecd-6.0.1.iso -disk-format iso -container-format bare -min-ram 800 -property hw_cdrom_bus=scsi systemrescuecd Rescue Boot We will need an image file of the rescue CD, i.e. Example of such a system: (some more explanations: ). There may be more complicated cases where you want to use a specialized repair system. This can be a temporary VM that you can throw away afterwards. Attach it to a different VM as an additional disk to do the repair work. When the problematic root disk is an OpenStack volume, then you can remove the VM but keep the volume. when you look at an Ubuntu system, it is often easiest to just use a fresh Ubuntu system launched from a standard SWITCHengines image. Rescue Systemĭepending on the broken system and the repair work that needs to be done, choose a suitable rescue system. Similarly you can dismount the problematic hard drive and attach it to a different PC, repair the problem and put it back. You insert a rescue CD, boot from it and repair the problem on the hard drive. Think of a PC that does not boot, but it has a CD drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |