个人工具

UbuntuWiki:install-ovewrite

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月14日 (一) 09:12的版本 (New page: {{From|https://wiki.ubuntu.com/install-ovewrite}} {{Languages|php5}} '''Install and Overwrite''' A method for installation where the installer boots off of a cd and asks for a partition t...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

Install and Overwrite

A method for installation where the installer boots off of a cd and asks for a partition to install too. Detecting a previous Ubuntu (or Linux?) install it asks if you want to overwrite and save files or just wipe it clean and re-install. This allows the user to install a new version of Ubuntu with clean configuration files while at the same time keeping their home directory and files.


---

The install would mount the partition, and then manually 模板:Rm -rf all directories except /home/$USER or USERS. It would then chroot and install it's deb's like normal. This has the advantage of keeping the users files. As they may not have media big enough to back them up on, or the time, or the bother. It also wipes all the configuration files getting rid of any cruft that may have built up over the previous install.

Dissadvantages: per-application configuration files are still left in $HOME, also the filesystem is never truly cleaned.