How to configure Windows 7/Ubuntu9 dual system easily and quickly

  

Some users need to use Windows7/Ubuntu9 dual system at work, but if users who have not installed dual systems naturally do not know how to configure successfully, today Xiaobian brings you Windows7/Ubuntu9 dual system simple and fast The method of configuration.

Today we introduced the method of installing Ubuntu 9.04 desktop version without using virtual drive in Windows 7. Specifically, it is to install Windows 7, then Ubuntu 9.04, and then modify grub to add Windows startup items.

First, install Windows 7

Second, install Ubuntu 9.04

1. Copy Ubuntu 9.04 CD image file to the root directory of C drive

2. Copy Initrd.gz and vmlinuz in the casper directory of the image file to the root directory of the C drive

3. Download grub4dos, extract the grldr, grldr.mbr, grub.exe (note that there must be grldr.mbr, XP No need, if it is vista, win7 must have grldr.mbr, remember!) to the root directory of the C drive.

4. The contents of the new memu.lst file are 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< Br>

5. Copy the boot.ini from the xp system to the root directory of the C drive, and add c:grldr.mbr="grub" in the last line (note that grldr.mbr) if there is no xp system around me Just put the code of boot.ini for everyone to 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"

6. At this point, the preparation is complete, restart the machine, select grub in the selection menu, it will automatically enter Ubuntu live cd desktop environment, the next one It is also very important to open the terminal (Application - Accessories - Terminal) and enter the following code:

sudo umount -l /isodevice

Then double-click the installation icon on the desktop to enter the installation interface. When selecting a partition, select the partition where you want to install Ubuntu, set its partition format to ext3, mount point selection ”/”, if you cannot uninstall /isodevice error during installation, open Terminal and enter

sudo unmount –l /isodevice

7. Modify grub to add windows startup menu

After installing reboot, you will find that you cannot enter Windows 7. You need to perform the following steps:

Ubuntu, open the terminal, type: sudo gedit /boot/grub/menu.lst

Add the following code:

title Windows Seven

root (hd0,0)< Br>

makeactive

chainloader +1

See the length of the article to know that the method described in the above tutorial is really simple, if your computer happens to be Windows7/Ubuntu9 dual system, then Use the above method for simple configuration.

Copyright © Windows knowledge All Rights Reserved