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:
- Menu. lst
- Title Install Linux
- Root (hd0, 0)
- Kernel/vmlinuz boot = casper iso-scan/filename =/ubuntu-11.04-desktop-i386.iso
- 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!