Reinstalling Fedora14 for Data Backup

Source: Internet
Author: User
There is always a problem with the N Card Driver Under Fedora15. Finally, I chose to reinstall the system! Fortunately, when installing the system, the partition is reasonable, namely, the three zones [/], [/home], and [swap, in addition, I put all the important data under/home, so the backup data will display convenience points. Then I installed it on a hard disk. I am too lazy to install it on a disc. For details about hard disk installation, see my article -- install fedora141. well, install it on a hard disk through the hard disk, we had a problem with the N-Card Driver Under Fedora 15. Finally, I chose to reinstall the system!

Fortunately, when installing the system, the partition is reasonable, namely, the three zones [/], [/home], and [swap, in addition, I put all the important data under/home, so the backup data will display convenience points.

Then I installed it on a hard disk. I am too lazy to install it on a disc. For details about hard disk installation, see my article -- install fedora 14 on a hard disk under win7.

1. well, after hard disk installation, we enter the partition section, select "manual partition", and delete the partition of the old system, [/home] and [swap] partitions are retained without any action! Create a new [/] partition, click next, and then you can install it.

2. After the installation is complete, go to the system and find that the old system [/home] is a separate disk. We can modify the boot mount file./Etc/fstabTo change the default HOME directory (here is the bird brother's authoritative description http://vbird.dic.ksu.edu.tw/linux_basic/0230filesystem.php#fstab)

Modification Process:

[Thomas root@www.linuxidc.com] #Vim/etc/fstab

#
#/Etc/fstab
# Created by anaconda on Sun Jun 5 16:01:28 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab (5), findfs (8), mount (8) and/or blkid (8) for more info
#
UUID = a10578b6-9b69-4169-855b-431d9d77a791/Ext4 defaults 1 1
UUID = a570f06d-0b67-48e2-97b6-1b7060fcd2aeSwap defaults 0 0
Tmpfs/dev/shm tmpfs defaults 0 0
Devpts/dev/pts devpts gid = 5, mode = 620 0 0
Sysfs/sys sysfs defaults 0 0
Proc/proc defaults 0 0
According to laruence's instructions: Column 1: disk device file name or device Label
UUID is used to mark the corresponding hard disk partition 【 UUID provides a unique identifier string for the storage device in the system, regardless of the type of the device. If you add a new storage device, such as a hard disk, to the system, it may cause some trouble. For example, the device fails to be found during startup, however, using UUID will not cause such problems. ]
You can run the [root@www.linuxidc.com Thomas] # Ll/dev/disk/by-uuid/
Total 0
Lrwxrwxrwx. 1 root 10 Jun 5 03BD-4E5C->.../sda7
Lrwxrwxrwx. 1 root 10 Jun 5 06F65461F6545353->.../sda1
Lrwxrwxrwx. 1 root 10 Jun 5 228C5A928C5A6079->.../sda6
Lrwxrwxrwx. 1 root 10 Jun 5 16:35 4c68677d-2915-4ddb-84dd-d55e602b451e->.../sda8 [This is my original/home]
Lrwxrwxrwx. 1 root 11 Jun 5 16:35 A10578b6-9b69-4169-855b-431d9d77a791-> ../sda10 [This is my original /]
Lrwxrwxrwx. 1 root 10 Jun 5 A4F0BC0AF0BBE12A->.../sda5
Lrwxrwxrwx. 1 root 10 Jun 5 16:35 A570f06d-0b67-48e2-97b6-1b7060fcd2ae-> ../sda9 [This is my original swap]
Therefore, add a command in the fstab format:
UUID = 4c68677d-2915-4ddb-84dd-d55e602b451e/home ext4 ults 1 2
Click OK to pull it. Restart and find [/home] to pull it back!

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.