Easily configure WINDOWS7/UBUNTU9 Dual systems

Source: Internet
Author: User

First, install Windows 7

Second, install Ubuntu 9.04

1. Copy Ubuntu 9.04 CD image file to C packing directory

2. Copy image files in the Casper directory of initrd.gz and Vmlinuz to C-packing directory

3. Download Grub4dos, decompression of which Grldr, GRLDR.MBR, Grub.exe (note must have GRLDR.MBR,XP, if it is Vista, Win7 must have GRLDR.MBR, remember! ) to the C-packing directory.

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

5. Copy XP system boot.ini to C packing directory, in the last line plus c:\grldr.mbr= "grub" (note is GRLDR.MBR) if there is no XP system around then I will bar Boot.ini code posted 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. This completes the preparation, restarts the machine, selects Grub in the Selection menu, will automatically enter the Ubuntu Live CD desktop environment, the next step is also very important, open the terminal (Application-attachment-terminal) Enter the following code:

sudo umount-l/isodevice

Then double-click the installation icon on the desktop, after entering the installation interface, in the selection of partitions, choose to install Ubuntu partition, its partition format to ext3, mount point Select "/", installation process if there can not uninstall/isodevice error, open Terminal, enter

sudo unmount–l/isodevice

7. Modify GRUB Add Windows boot Menu

After installing the reboot, you will find that you are unable to enter Windows 7, which requires the following steps:

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

Add the following code:

title Windows  Seven
root (hd0,0)
makeactive
chainloader +1

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.