WIN7 and Ubuntu10.10 are successfully installed on the hard drive under WIN7.

Source: Internet
Author: User
Do not create a 30 GB hard disk under win7. Copy the three files to the C root directory. 2. In the downloaded Ubuntu 10.10lts System iso file, find the vmlinuz and initrd. lz files under the casper folder, and copy them to the C root directory. 3. C

Do not create a 30 GB hard disk under win7.

Then,

1. Download and decompress Grub4DOS. Copy the grldr, grldr. mbr, and grub.exe files in the directory to the C root directory.

2. In the downloaded iso file of the Ubuntu 10.10 LTS system, find the vmlinuz and initrd. lz files under the "casper" folder and copy them to the C root directory.

3. Create the menu. lst file in the C root directory. The content is:

Title Install Ubuntu

Root (hd0, 0)

Kernel (hd0, 0)/vmlinuz boot = casper iso-scan/filename =/ubuntu. iso ro quiet splash locale = zh_CN.UTF-8

Initrd (hd0, 0)/initrd. lz

4. Create a new file named boot. ini in the C root directory. The content is as follows:

[Boot loader]

[Operating systems]

C: \ grldr. mbr = "ubuntu"

5. Copy the downloaded iso file of Ubuntu 10.10 to the c root directory. Note: To rename ubuntu. iso

6. Restart the machine. Select ubuntu in the startup Item to enter the Ubuntu Desktop. Open the terminal and enter the code: sudo umount-l/isodevice (I don't know if I want this command online. Otherwise, partitions cannot be found on the partition page? This may be the case)

7. Double-click to install Ubuntu and install it as prompted.

Partition does not understand... Haha, but it's nice to go into the interface.

Last note:

Fix Windows 7 startup items

After you restart ubuntu, you will find that you have selected the windows 7 startup Item and entered the Ubuntu installation interface. The following describes how to fix the problem. In Ubuntu, open "application --- attachment -- terminal" and run the following command: sudo gedit/etc/default/grub.

Modify GRUB_TIMEOUT = "10"

Then enter sudo update-grub in the terminal

The update command will automatically find the windows 7 startup Item. And automatically update the/boot/grub. cfg file. Go to "location --- computer --- win7 System Disk"

Migrate, menu. lst, boot. ini, ubuntu. iso) All to the recycle bin. In particular, if the ISO file is not deleted, restart to enter win7 and then enter the Ubuntu installation interface. Fix Windows 7 startup items.

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.