Ubuntu10.04LTS has been with me for two years. after so many years of hard work, Ubuntu has been overwhelmed. Before the upgrade, Ubuntu10.04 has shown many problems:-it takes a long time to connect to a wireless router at home, and frequent disconnection;-frequent disconnection from the company's wired network;-due to repeated software installation, there are a lot of junk data in the system. Ubuntu 10.04 LTS has been with me for two years. after so many years of hard work, Ubuntu has been overwhelmed. Before the upgrade, Ubuntu10.04 has shown many problems:
-It takes a long time to connect to a wireless router at home and frequent disconnection;
-Frequent disconnection from wired networks in the company;
-Due to repeated installation of software, a large amount of junk data is left in the system;
-The official version of Ubuntu10.04 is somewhat low, and it is difficult to manually install many software versions;
In addition, the Windows 7 system, which originally co-existed with Ubuntu10.04, had already gone on strike more than half a year ago and could not be guided into the Windows system. The reason is unknown. I am also too lazy to fix the problem and cannot use Windows at ordinary times. Therefore, another purpose of this upgrade is to completely remove the residual data from Windows 7.
Although the latest version of Ubuntu is just released in 12.10, we plan to upgrade 12.04LTS with the latest version of 12.04.1 based on the principle of using only the LTS version.
I thought that my old ThinkPadX60 could install 64-bit 12.04, but at the time of installation, the boot program prompts that the X60 CPU is not a X86-64 type, but a dual-core i686CPU. Angry! Is it easy to download and burn an iso file, especially in the proxy network of the company! Instead, you can only re-download and burn the 32-bit Ubuntu12.04.1.
The installation method is not described here. During this installation, I used the optional custom installation partition method on the installation interface to install 12.04 to the original Windows 7 partition, but after the installation is complete and restarted, the Grub2 pilot initial page still displays the previous system menu, and there is no newly installed 12.04 menu item in the menu. Reinstall Ubuntu 10.04. After a long wait, restart the machine. "grubrescue>" appears. the boot fails again. Obviously, Grub2 still does not find the correct boot partition.
Google gave me a hand. I didn't have enough understanding of Grub2's guiding principles, and Grub2 was a two-stage guide. Directly format the original partition and install the new system without refresh the id of the second-stage boot partition in MBR (master boot record). Therefore, after the machine is started, MBR still searches for the partition ID according to the original configuration, but the partition ID with Ubuntu has changed. The original boot partition is reformatted and has no system, so Grub2 cannot find the partition, phase 2 Boot cannot be started.
Instead, you can only use livecd to enter terminal and execute the following command (ubuntu12.04 is installed in sda1 ):
> Sudo mount/dev/sda1/mnt
> Sudogrub-install? Boot-directory =/mnt/boot/dev/sda
After the restart, the system boot is normal and the system can finally enter 12.04. The internet says that using the grubrescue command can also refresh MBR records, but I failed to test it.
The configuration process for different Ubuntu environments is similar, and I have been familiar with it:
-Add two sources: the source of ubuntu12.04 of Sohu and Netease, and then update the package list;
-Open the update manager and set the preferred software source;
-Enable "language support" to download and update the language pack;
-Install tools such as GoogleChrome, Vim, iptux, rdesktop, Filezilla, subversion, htop, git, golang, apache2, and parcellite;
-Thunderbird configuration recovery (Ubuntu 12.04 uses thunderbird as the default mail client );
-Restore user configuration, including. bashrc, Template, vim configuration, and plug-in;
-Restore the hosts and apache2 configurations;
Ubuntu has evolved to the present, with excellent support for Chinese. By default, iBus pinyin is easy to use. After the language pack is updated, the input method becomes SunPinyin, which is indeed more intelligent than the Penguin input method.
Ubuntu's default desktop environment is self-developed Unity. at least it feels okay now. its Dash program is easy to use and can basically replace launchy originally used in Gnome. However, for the X60 12-inch normal screen (non-Wide Screen) I use, the left-side Dock Boot Bar clearly occupies a relatively small page space for the application.
Ubuntu12.04 encountered two problems during configuration and application installation. here is a sharing and memo:
1. ext3 partition automatic mounting and permission issues
During this installation, the original partition of ubuntu10.04 was reformatted, but the directory was not mounted. After the system starts, the partition is not automatically mounted and can only be manually mounted. So I tried to modify/etc/fstab to automatically mount the ext3 partition.
Create the/home1 directory under root, add a line in/etc/fstab, and mount the partition to/home1 automatically:
#/Was on/dev/sda3 during installation
UUID = 1ed84fc1-5ba2-4e82-94f5-c3e4f5654036/home1 ext3 defaults, errors = remount-ro0 0
After restart, the partition is automatically mounted as expected. However, there is a new problem, and the partition cannot use the common user permission to create a file, that is, there is no write permission. The mounting parameters in fstab cannot be solved after repeated modification. Now that the partition has been mounted to the/home1 Directory, can the permission to modify the/home1 directory solve this problem? So sudo chmod777/home1. Restart after the command is executed. The new partition is automatically mounted and writable.
2. restore the default iptux configuration
The department uses feiqiu as an internal IM tool. The feiq protocol compatibility tool in Linux is iptux. In Ubuntu12.04, you can use apt-get to correctly install iptux and run everything. However, when I configure iptux, I accidentally select "automatically hide the main panel after startup". as a result, the main interface of iptux cannot be viewed and messages cannot be sent. So I started to try to restore the default configuration of iptux.
Direct method:
-Kill iptux in the background;
-Cd ~ /. Gconf/apps/iptux
-Delete the iptux configuration file
-Perform gconftool-2? Recursive-unset/apps/iptux
Note that if the above method is not used, it will not help to uninstall and reinstall iptux.
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