In Windows, only disk C can be formatted during Reinstallation, so that data in other partitions can be retained. The Ubuntu system is also supported, as long as a/home partition is generated during system installation. You can view the "/" partition of ubuntu as the C drive of windows. When you reinstall Ubuntu, only the "/" partition is formatted, and "/home" is not formatted ", in this way, the data in "/home" can be retained.
I. Back up data. Reference: http://ubuntuabc.com/123? P = 92
Although this reinstallation won't theoretically damage your file, sometimes unexpected situations (such as misoperations or System Bugs) may lead to data loss. Therefore, we strongly recommend that you back up your important files.
Ii. Delete the old configuration file
Because I don't want to keep the old system settings and software settings, and want to install a new system, I want to delete the old configuration file. If you want to keep the previous settings, skip this step.
To delete a configuration file, follow these steps:
1. Start the system with a CD and enter live CD.
2. Run the "sudo Nautilus" command on the terminal to open the file browser as an administrator.
3. Press Ctrl + H to display hidden files.
4. Delete the "Lost + found" and ". Trash-0" folders in the hard drive/home partition.
5. Delete all folders and files starting with "." in the "username" folder. ("Username" is your user name)
Iii. reinstalling the system
The previous steps are the same as those for general installation.
The focus is on "prepare hard disk space", that is, partitioning. Select "manually specify partition (advanced )".
Attachment:
0911081013. PNG [46.57 kib | browsed for 5023 times]
Based on the partition size, "/dev/sda1" is the original "/" partition. Select "/dev/sda1" and click "change.
Attachment:
0911081014. PNG [55.74 kib | browsed for 5023 times]
Do not change the original partition capacity. Select "ext4 Log File System" in the drop-down list on the right, and select "Format this partition "; select "/" for "mount point" and click "OK ".
Attachment:
0911081015. PNG [74.81 kib | browsed for 5023 times]
"/Dev/sda5" is the original swap partition. Select "/dev/sda5" and click "change.
Attachment:
0911081017. PNG [56.13 kib | browsed for 5023 times]
Do not change the original partition capacity. Select "swap space ". You do not need to select a formatting or mount point.
Attachment:
0911081018. PNG [74.83 kib | browsed for 5023 times]
"/Dev/sda6" is the original "/home" partition. Select "/dev/sda6" and click "change.
Attachment:
0911081020. PNG [56.07 kib | browsed for 5023 times]
Do not change the original partition capacity;What is the original file system? What is the current file system! Do not select "Format this partition "!Select "/home" as the mount point ".
Attachment:
0911081021. PNG [76.54 kib | browsed for 5023 times]
Check,Note that the format is not checked after "/home,The file system (type) used is the same as the original one. Click "forward ".
Attachment:
0911081023. PNG [57.73 kib | browsed for 5023 times]
The subsequent steps are the same as regular installation. Simply follow the on-screen prompts. Note the following:
You can enter any name when entering your identity;But the login name must be the same as the original one.
It may take some time for the installation. If the screen turns black, it may be because the keyboard and mouse are not able to work for a long time and the screen protection is started. When you move the mouse, it will be restored. Do not be nervous, or force the shutdown.
After the installation is complete, restart the computer as prompted. /Home files will be intact.