Long way to upgrade: From ubuntu11.04 to ubuntu12.04

Source: Internet
Author: User

I was doing a good job in Android development in ubuntu11.04. However, Natty's 18-month support expired in the twinkling of an eye, but some necessary tools must be apt-Get install support libraries, the tragedy began. When natty was installed, it was originally planned to mount/home to a separate partition. After the installation, it was found that it was still in the same partition as the system. Now, I really don't want to re-install all the software. I chose to upgrade it. After three days, I finally got it done. Fortunately, the previously configured eclipse, playonlinux, and Java functions normally,
Specifically, the indexing method is very useful for natty. Wine's PowerPoint 2010 can be used to import Chinese characters!
1. Download ubuntu-11.10-alternate-amd64.iso from developer.sohu.com
2. Download ubuntu-12.04.2-alternate-amd64 + Mac. ISO from pai.sohu.com
3. sudo Mount-o loop ubuntu-11.10-alternate-amd64.iso/Media/CDROM
4. sudo/Media/CDROM/cdromupgrade
All the way to yes until restart
5. The machine cannot enter the desktop. Press CTRL + ALT + F1 to log on.
Sudo Mount-o loop ubuntu-12.04.2-alternate-amd64 + Mac. ISO/Media/CDROM
Sudo/Media/CDROM/cdromupgrade
All the way to yes until restart
6. You can enter the logon window. Guest can log on to and enter the desktop, while other accounts cannot (The. Xauthority access permission problem is found through mobile phone recording)
Sudo chown me: me ~ /. X *
Sudo chown me: me ~ /. Cache/SSO /*
Sudo reboot
7. You can enter the logon window. The logon verification is successful, but the system flashes back to the logon window. Select connect to network and update
Reboot
Enter recovery mode
Select network connection
Define pppoe Network
Resume
CTRL + ALT + F1, log on
Sudo ifconfig eth0 up # Link RJ45
Sudo Pon DSL-provider # dial
Sudo dpkg -- reconfigure
Finished, reboot
8. Install the NVIDIA driver
CTRL + ALT + F1, log on
Sudo service lightdm stop
Cd ~ /Driver
Sudo sh NVIDIA-Linux-x86_64-319.32.run
Sudo service lightdm start
Now, you can log on to and enter the Desktop
9. However, when I got back to the company, I couldn't connect to the computer network! On another computer, I want to ask Gu Jie and Du Niang for advice. DSL and ETH cannot be used at the same time!
Sudo/etc/default/interfaces
Except auto Lo
Reboot
10. Finally
Gsettings set Org. gnome. system. proxy ignore-hosts "['localhost', '2017. 0.0.0/8 ', '10. 0.0.0/8 ', '2017. 168.0.0/16', '2017. 16.0.0/12', '* .localdomain.com']"
Enjoy

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.