Ubuntu12.04LTS installation and configuration diary

Source: Internet
Author: User
Ubuntu12.04LTS installation and configuration diary was installed with Ubuntu13.04 yesterday, and a major BUG that bumblebee (dual-card driver management) cannot apt-get and dashboard cannot enter commands was reported. it was decided to install 12.04LTS back. The following is a brief description of the installation and configuration process. I ,... ubuntu 12.04 LTS installation and configuration diary was installed with Ubuntu 13.04 yesterday, and a major BUG that bumblebee (dual-card driver management) cannot be apt-get, and dashboard cannot enter commands, decide to install 12.04LTS back. The following is a brief description of the installation and configuration process. I. preparations 1. first, uninstall 13.04. I used EasyBCD to re-build BCD directly, but it will lead to invalid win7 activation and the import interface will become ugly, but it is not important for tech men ~ 2. format the Ubuntu partition of ext4 with a "Partition Assistant Professional Edition. 3. Configure EasyBCD, a) click add new entry B) select NeoGrub and then click Install NeoGrub to Save, followed by Configure, c) then a menu will appear. we need to edit the lst file because the system finds our ubuntu file. Copy the following English text and overwrite the original title Install Ubunturoot (hd0, 0) kernel (hd0, 0) /vmlinuz boot = casper iso-scan/filename =/ubuntu-12.04-desktop-i386.iso ro quiet splash locale = zh_CN.UTF-8initrd (hd0, 0)/initrd. lz [special note]: ubuntu-12.04-desktop-i386.iso this should be changed to your. If your first drive letter on some computers is not a drive C, you can see it in disk management. Therefore, you need to change (hd0, 0) to (hd0, 1) during installation) [assume the second one ]. F) disable saving. 4. Next, open the prepared iso with the compression software or virtual optical drive, find the casper folder, copy initrd. lz and vmlinuz to drive C, and then copy the iso to drive C. 5. restart and you will see two boot menus for you to choose from. we will select 2nd NeoGrub. then, wait for a while and we will see ubuntu. 6. remember to press Ctrl + Alt + T to open the terminal before installation. enter the code: sudo umount-l/isodevice to unmount the drive where the CD is located, otherwise, partitions cannot be found on the partition page. 7. by default, there are two documents on the desktop. one is Demonstration. we choose to install Ubuntu. 2. start installation. 1. do not select the language. 2. select the installation type. We use custom. 3. partitioning scheme (taking 30G as an example):/20G ext4 (root partition can be larger) SWAP 2G/home 8G ext4 (the rest to/home)

Note: (1) when selecting the device to install the boot guide, you can select the appropriate/zone or create a new/boot zone. (2) If you restart windows, you will find that windows cannot be accessed. Open the terminal and enter the command sudo gedit/etc/default/grub to modify GRUB_TIMEOUT = "10". Then, enter the sudo update-grub update command in the terminal to automatically find the windows 7 startup item. And automatically update the/boot/grub. cfg file. In this way, windows can be restarted. (3) finally go to Window7, open EasyBCD to delete the menu. lst file changed during installation, and press Remove. Then, delete vmlinuz, initrd. lz, and system iso files from drive C. You can use EasyBCD to change the Boot item Menu and press the Edit Boot Menu button. you can choose to set Windows 7 as the default Boot option. (4) after the installation is completed and restarted, you will find that the default startup system is Ubuntu. If necessary, open the terminal and enter the following command to adjust the windows system to the default startup item sudo mv/etc/grub. d/30_os-prober/etc/grub. d/06_o-probersudo update-grub.
Related Article

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.