Fedora9 system backup and recovery between Different Hard Disks

Source: Internet
Author: User
After some twists and turns, we finally find that different hard disks (partition sizes are not the same, the existing Fedora9 is successfully transplanted to another hard disk and ran successfully.

After some twists and turns, we finally find that different hard disks (partition sizes are not the same, successfully transplanted the existing Fedora 9 to another hard disk and ran it successfully.

Because my friend said that he also wanted to play with Linux, I just told him that it would be okay. Then I will port my current fedora 9 to you, because I have installed a lot of useful software and the system has been well configured. But what I did not expect is that porting true implementations is troublesome.

Let's talk about the change of Fedora first. The inode node of ext3 of fedora 9 is changed to 256 bytes, so grub 4 dos does not recognize the partition, but the file in the partition cannot be read.

Next let's go to the topic and talk about how to do it.
1) First, back up my current system into a gz package and format the target partition of a friend to ext3, before formatting, you must use fdisk to first split it into Linux partitions with type 83. Otherwise, mkfs is used. it is useless to format ext3.

2) the file has been successfully copied to a friend's target partition, and the system's guidance will be rebuilt below.

3) If grub4dos is used, the problem described above occurs. grub4dos does not support the latest ext3 and cannot read the kernel files in my/boot.

4) I think of using the installation disk for repair, and this should be the most appropriate method. Because I installed it on a hard disk, I don't have a CD, but it doesn't matter if I don't have a CD. In the same way, I can enter the first aid mode. Add the rescue boot parameter when specifying the kernel, so that you can guide the First Aid mode. Connect the target partition to the first aid mode, and modify the fstab in the target partition system, for example, vi/mnt/ljq/etc/fstab. Point/to the correct device, for example,/dev/sdb6.

5) use the hard disk installation method again to guide the system, but this time we chose not to install the system, but to update the system. After selecting update system, we select the last option and write the new configuration (three options in total), so that our grub will be written to mbr again.

6) after the operation is completed, start again as prompted. OK. You are done. The familiar guide interface is displayed.

7) after successfully entering the system, you need to do other things, because the hardware of the system is different, such as the video card and nic. It is normal to enter the graphic interface because my friend's machine is totally different from mine. You can use system-configure-display to reconfigure it. You can use system-configure-networ to configure the NIC.

I really like Linux, because my heart is constantly satisfied with the constant hands-on practice. I will give you a piece of advice to those who are still talking about it. When you learn how to focus on solving problems rather than blaming the problems, you will feel that Linux is easy to use.

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.