Linux LVM partition for Ghost

Source: Internet
Author: User
Linux LVM partitions are used as Ghost-Linux Enterprise Application-Linux server application information. The following is a detailed description. If a bad track occurs on the server hard disk, find a hard disk and replace it. By the way, try using Ghost 11.5 As the full disk image. After the two hard disks are connected, use the optical drive to boot and run Ghost. In the parameter settings, select ignore CRC check, copy by track (including BOOT), and then perform disk to disk. It doesn't matter if the size of the two hard disks is different. Ghost will modify the partition by itself. If there are multiple hard disks, it will be empty. After all the copies are completed, the original BOOT and SWAP partitions are retained. The original LVM partitions no longer exist. Instead, they are replaced with one or more partitions in the LVM partition and directly made into the ext3 partition. At this time, the new hard disk cannot be used for BOOT directly, and the old hard disk is still used for BOOT. mount the BOOT and ROOT partitions in the new hard disk and modify the grub. conf, menu. in lst and fstab in etc, all original lvm partitions are changed to new hda3 or hda5, And the grub partitions are changed to similar ones (hd0, 4 ). Now you can boot with a new hard disk and reinstall it in the command line of grub (it can also be installed after the old hard disk is started, but I did not try it ). After the BOOT starts, press "C" when selecting "BOOT". First, input "root (hd,)" to load the BOOT zone, and then input "setup" to install the system. After installation, reboot can be used. The content is exactly the same as that of the original hard disk.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.