Article Title: Install Ubuntu easily in Windows. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
After the holiday, I returned to my home. The first thing I did was install Linux on my home computer (I tried to install YLMFOS3.0 on my home last year. My dad was used to it, but due to work requirements, I had to install WinXP back because I needed to use online banking, stock farming, and special software. If I had no such problems, my dad would be happy to use Linux because it was easy to run with low configuration ).
The home computer was seven years ago (no fault, dad was reluctant to change, wait for me to make money to change it), no CD, the motherboard does not host USB boot, so to install Linux can only be installed through the hard disk.
There are two common hard disk installation methods. The first is the Wubi program provided by Ubuntu (corresponding to Yinst of YLMF). It is a tool that installs Ubuntu to Win like a software to experience Ubuntu, the advantage is that the installation and uninstallation are simple, and the disadvantage is that the performance is low.
Another method is to treat the hard disk as a CD by modifying the boot, which is obviously the case in this tutorial.
Test environment: Install Lubuntu 10.04 on Windows XP
In theory, XP and WIN7 are supported. In Linux, most Linux distributions are supported.
The following is a tutorial:
1. Download The Lubuntu Image
You can download it from the official website of the release version. If it is too slow, you can download it from an image site in China, for example, 163 open source image.
2. Extract initrd. lz and vmlinuz
The downloaded image (. iso), you can use a decompression tool such as Winrar/good pressure to open the image file and extract the initrd under the caper directory. lz and vmlinuz, and set initrd. copy lz and vmlinuz to Win's system disk (such as C :/).
3. Modify the image file
Change the downloaded iso file to ubuntu. iso (for example, change my lubuntu-1004.iso to ubuntu. iso), and then copy it to Win's system disk (such as C :/)
4. Download the grub File
Download the grub file (http://u.115.com/file/dnc9pc9v) Here, which is organized by two adults. Decompress all the files in the package to Win the system disk (such as C :/)
5. Check the file
At this time, your system root directory (C:/) should have these things: ubuntu. iso, vmlinuz, initrd. lz, grub
6. restart the computer
After you restart your computer, you will find that your boot is Windows 7 (WINxp also shows Windows 7 and grub). Then you can choose grub to enter.
7. install Linux
After Grub is selected, you can usually enter the Live cd or installation interface (different releases). Lubuntu enters the Live cd. You only need to open the install on the desktop to enter the installation interface, the installation method is not explained here, which is the same as the conventional one.
Note that you must provide an idle partition or useless disk to format it into a Linux partition. Do not destroy your Win system partition.
8. Fixed Win boot.
After Linux is installed, You can restart it to enter Linux, but you will find that your Win is gone. You only need to enter the system and update the boot.
Take Lubuntu10.04 as an example:
Enter at the terminal:
Sudo update-grub to find the Win guide.