Windows 7 is the most popular in Windows recently, and Ubuntu is the most popular in Linux. I believe some friends who like it have already used it. I am a computer fan. I like to play with the system. Today I am here to install two of the most popular systems into one. It's amazing! Here, we only need a computer with a network connection. We chose to install the hard disk completely. Why is this installation method selected? The reason is as follows: 1. I don't want to spend any money on CD, and I don't have a burner. Ubuntu can get it for free, but I have to wait,
Windows 7 is the most popular in Windows recently, and Ubuntu 9.04 is the most popular in Linux. I believe friends who like it have already used it. I am a computer fan. I like to play with the system. Today I am here to install two of the most popular systems into one. It's amazing!
Here, we only need a computer with a network connection. We chose to install the hard disk completely. Why is this installation method selected? The reason is as follows: 1. I don't want to sell CDs with silver, and I don't have a burner. Ubuntu is free, but I have to wait, so I can only install it on a hard disk; 2. since it is an early adopter, it is better to install it all over again, and the upgrade doesn't feel like it is.
Related reading: Ubuntu 9.04 desktop edition is not required for virtual optical drive installation in Windows 7.
Address: http://www.linuxidc.com/Linux/2009-07/20935.htm
The installation idea is to first install Windows 7, then Ubuntu 9.04, and then modify grub to add Windows startup items.
The procedure is as follows:
1. Install Windows 7
See next page
Ii. Install Ubuntu 9.04
Download Ubuntu 9.04from www.Ubuntu.com to the c directory, decompress initrd.gz and vmlinuz under the example directory to the C directory, and go to the kernel (Be sure to have grldr. mbr, if it is xp, it will not be used. If it is vista or win7, grldr must be available. mbr, remember !) The content of the new memu. lst file is as follows:
Title Install Ubuntu 9.04
Root (hd0, 0)
Kernel (hd0, 0)/vmlinuz boot = casper iso-scan/filename =/Ubuntu-9.04-desktop-i386.iso ro quiet splash locale = zh_CN.UTF-8
Initrd/initrd.gz
Boot
Copy the boot. ini to the C root directory, add c: \ grldr in the last line. mbr = "grub" (Note: grldr. mbr) if there is no XP system around, I will boot it. the ini code is pasted for your use. The Code is as follows:
[Boot loader]
Timeout = 30
Default = multi (0) disk (0) rdisk (0) partition (1) \ Windows
[Operating systems]
Multi (0) disk (0) rdisk (0) partition (1) \ Windows = "Microsoft Windows XP Professional"/noexecute = optin/fastdetect
C: \ grldr. mbr = "grub"
Now that the preparation is complete, restart the machine and select grub from the menu, it will automatically enter the live cd desktop environment of Ubuntu. The next step is also very important, open the terminal (Application-attachment-terminal) and enter the following code:
Sudo umount-l/isodevice
Double-click the installation icon on the desktop to start the installation. The installation and partition are determined by yourself and will not be repeated here.
3. Modify grub to add Windows Startup Menu
After the installation is restarted, you will find that you cannot access Windows 7. perform the following steps:
Enter Ubuntu, open the terminal, and enter "sudo gedit/boot/grub/menu. lst" to add the following code:
Title Windows Seven
Root (hd0, 0)
Makeactive
Chainloader + 1
Set the wait time properly to make sure that you can select multiple systems at startup by pressing esc.
So far, Windows 7 + Ubuntu 9.04 has been installed.