Hard Disk installation Ubuntu11.04 and Windows

Source: Internet
Author: User
Although it is very convenient to use vmwarevirtual machine to develop embedded software, compilation will be slow, and vmware will occasionally encounter some minor faults, which is very crashing. Therefore, we recommend that you install a dual-system. 1. Prepare two things: grub4dos (http://www.linuxidc.com/Linux/2009-01/18027.htm) and an iso image for Ubuntu, see the http://www.linuxidc.com/Linux/20

Although it is very convenient to use vmwarevirtual machine to develop embedded software, compilation will be slow, and vmware will occasionally encounter some minor faults, which is very crashing. Therefore, we recommend that you install a dual-system.

1. Prepare two things: grub4dos (http://www.linuxidc.com/Linux/2009-01/18027.htm) and an iso image for Ubuntu, see the http://www.linuxidc.com/Linux/2011-04/35233.htm

2. free up a partition other than the entire c disk. We recommend using an edisk and a later disk (I love to put windows applications on a D disk)

3.place grldrand grub.exe in grub4dostogether with the iso of ipvtn in the c root directory

4. Extract the casper folder from the Ubuntu iso file and put vmlinuz and initrd. lz in this folder into the c root directory.

5. Create a file named menu. lst in the c root directory and add the following code:

  1. Menu. lst
  2. Title Install Linux
  3. Root (hd0, 0)
  4. Kernel/vmlinuz boot = casper iso-scan/filename =/ubuntu-11.04-desktop-i386.iso
  5. Initrd/initrd. lz

(Note: If your computer has more than one hard disk, it cannot be written (hd0, 0). hd0 and 0 are the first partition of the first hard disk, that is, your drive C, and so on, remember to optimistic about the downloaded iso image is not a ubuntu-11.04 ~~~ It is the image file name downloaded by myself. You must change it to your own iso image name)

6. set the operating system file for receiving and protection: My computer-> Tools-> Folder Options-> remove the check box before "Hiding operating system files for receiving and protection, then go to the c-drive root directory to find the boot. add the last line to the INI file:

C: \ grldr = Ubuntu 11.04 Linux Install

7. Select "Ubuntu 11.04 Linux Install" to restart the system"

8. Do not rush to install it on the desktop. Open the terminal, press the following command and press Enter: sudo umount-l/isodevice

Then double-click "Install Ubuntu 11.03" on the desktop"

(11.03 ?? Haha. You have to learn how to change it. Otherwise, you will not be able to find it in your life)

If you select Chinese language for installation, you should not encounter too many difficulties. It is best not to update during installation, which will be very slow (if the bandwidth is large, you can consider it ). When partitioning, mount the linux root directory "/" to the windows partition where you install linux. Remember the size of the hard disk, and leave some swap partitions. I kept 2 GB

9. After the installation is complete, go to linux and open the terminal (ctrl + alt + t) and press sudo update-grub to press enter (to prevent windows from being unable to be guided)

10. OK. This is all done! Update it!

 

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.