How to install Ubuntu under Win7 (HDD version)

Source: Internet
Author: User

1) First or partition, right-click on the computer-manage-Disk Management

The size of the hard disk installed on Ubuntu is best (20G + ) Not too small, here please note that Ubuntu and Windows file system is completely different, so we zoned to give Ubuntu the partition after deleting the volume . By the time, the installed Ubuntu partition, under Windows is not visible, but into Ubuntu is able to access the Windows disk. This is called dual-system, and Wubi that is not the same OH.

2) Prepare two things EasyBCD software and ISO image (I use the EASYBCD is 2.1 version, download 1.7 later version, to the kind of installation version, not the green version)

3) Open the EASYBCD software below to see that our computers now have only one launch "portal",

Copy the following in English and cover all the original

Title Install Ubuntu
Root (hd0,0)
Kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu-11.10-i386.iso ro quiet Splash locale= Zh_cn. UTF-8
INITRD (hd0,0)/initrd.lz

Special attention:

Ubuntu-11.10-i386.iso is the name of your ISO, do not write mine, this will be changed to you.

for some computers your first drive letter is not a C drive, can be seen in Disk Management, so the installation must be (hd0,0) instead (hd0,1) "If it is second."

Close the Save .

Next: Open the prepared ISO with the compression software or the virtual optical drive, find the Casper directory, copy Initrd.lz and Vmlinuz to the C drive, and then the ISO is also copied to the C drive.

Restart you will see there are 2 boot menus for you to choose the 2nd one we choose Neogrub this

Then wait for a while to see the Ubuntu we think of in the night.

Default Desktop has 2 documents one is demo without tube we choose to install Ubuntu,

Remember to press ctrl+alt+t before you open the terminal, enter the code:sudo umount-l/isodevice This command cancels out the mount of the drive on which the disc is located, otherwise the partition interface cannot find the partition.

Start the installation,

Choose language Needless to say,

Choose the installation type, we define it by ourselves.

Scenarios that are hung in a partition such as the following (in 30G for example):

/20G Ext4 (the root partition can be a bit larger )

SWAP 2G

/home 8G Ext4 ( left to/home)


{

Avian Columbia recommended Partition

(Take 40G disks for example)

/boot Ext4 100M

/Ext4 10G

/Home Ext4 5G

Swap 1G

}

Section diagram:

When selecting a device to install the boot launcher, you can select our sub-region or create a new / boot area.

When selecting a device to install the boot launcher, you can select our sub-region or create a new / boot area.

Attention:

(1) When selecting the device to install The boot launcher, we can select our sub-region or create a new / boot area .

(2) If you restart, you will find that Windows is not in.

Open Terminal Input Command

sudo gedit/etc/default/grub

Change grub_timeout= "10"
Then enter sudo update-grub in the terminal
The update command will proactively find the Windows 7 startup item itself. And proactively update the/boot/grub/grub.cfg file yourself. This will enable you to enter Windows again.

(3)

Finally enter WINDOW7, open EASYBCD Delete the Menu.lst file that is changed when installing, press remove to be able.

Then go to our C drive to delete the Vmlinuz,initrd.lz and the system ISO file.

With EASYBCD ability to change the boot menu by pressing the Edit boot menubutton, you can choose to set Windows7 as the default boot option.


(I installed this method, found to be able to enter the Win7, but there is no Ubuntu in the boot entry, unable to enter Ubuntu, and then use the EASYBCD software to join the boot)

1. Open EASYBCD, then click Add New Entry

2. Select Linux/bsd

3. In device, select the location of the boot disk, which is the disk partition on the partition mount/boot under Linux. (assuming that the partition is forgotten, can be based on the size of the disk capacity to distinguish, I divide the capacity is 300M)

4. Name your boot entry, such as: Ubuntu 12.04.LTS

5. Click Add Entry

You can click on view setting to see that there will be one more in your computer boot.




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.