Remember to install ubuntu11.04 on a hard drive under win7

Source: Internet
Author: User

Since ipvs has been upgraded, try unity in Ubuntu. This is the first time I have installed Ubuntu and windows on the same hard disk ...... Enough food

I have not been familiar with Ubuntu for a long time, so I wrote this article as a note. If you accidentally see it, do not take it as a tutorial.

I first left a 40 Gb unused space at the end of the disk.

You still need a software called easybcd to download files on the Internet. The difference is not very big, and then add a new boot guide.


And then write it in the config file.

Title install Ubuntu 11.04

Root (hd0, 0)

Kernel (hd0, 0)/vmlinuz boot = Casper iso-Scan/filename =/ubuntu-11.04-desktop-i386.iso Ro quiet splash locale = zh_CN.UTF-8

Initrd (hd0, 0)/initrd. LZ

The ubuntu-11.04-desktop-i386.iso file name must be consistent if the Ubuntu image you downloaded contains the same names in case.

Then you need to put the ubuntu-11.04-desktop-i386.iso to the root directory of a partition and then put the initrd. LZ and vmlinuz files under the Casper directory to the root directory of your first partition.

If not, modify (hd0, 0) in config to your partition.

After my reference and practice, I found that the parameter settings were incorrect. At that time, I was really depressed. Fortunately, I did software development and later found the root cause of the problem and was able to solve it. Here are some explanations:

Root (hd0, 0) // hd0 indicates the first hard disk. Open the Hard Disk Manager. The parameter 0 after hd0 indicates the first partition. Generally, the default value is drive C, however, if I have set the system reservation area like this, I have to set it to 1, because the drive C is not in the first position, and the hard disk manager is also opened, root (hd0, 0) this sentence means starting from 0th + 1 Disk of hd0 (starting from 0 is the habit of programming. Although people are used to starting from 1, computers are still used to starting from 0)


Kernel (hd0, 0)/vmlinuz boot = Casper iso-Scan/filename =/ubuntu-11.04-desktop-i386.iso Ro quiet splash locale = zh_CN.UTF-8

The above sentence indicates where the Ubuntu kernel is located, where the program is located, and where the Ubuntu kernel is located. For parameter explanations, refer to root (hd0, 0 ), the file name is the same as that of the Ubuntu image. Therefore, the file name must be set correctly. Otherwise, the file cannot be found,

The parameters in initrd (hd0, 0)/initrd. LZ indicate the location of the initrd. LZ file. Remember that all files must be placed in the root directory ,,

Below

After the preparation is complete, you can restart the computer and choose install Ubuntu 11.04 to enter the Ubuntu system, just like livecd.


Open the terminal (Application> attachment) first)

Run sudo umount-L/isodevice

After running the command, you can click Install Ubuntu on the desktop.


In this case, I choose no


Select the first or third one for dual-system installation.

It's strange: I don't have the first option in the same system, and it's really bad luck, Because ubuntu made a part of my entire logical partition when I chose another option, I don't know which zone to install. As a result, I went back to win7 to install the partition tool. The evil tool did not support my hard disk and broke the partition table. It was a bad day and it hurt me...

PS: My partitions



You can also make some settings when copying files.


Some items will be downloaded during installation

The process will be completed in about half an hour. You can use Firefox to access the Internet ...... You can also play games.

There are also some aftercare matters

1.

Sudo mV/etc/grub. d/30_os-prober/etc/grub. d/06_os-prober

Sudo Update-grub

Execute these two lines to make grub have ipvs7 and be the first

2. Delete the wizard of neogrub under win7. The method is the same as that for installation. This time, click Remove.

Then, set vmlinuz and initrd. LZ under the first partition.

You can delete other unnecessary items.

PS: My Lenovo y450 cannot start unity ...... Solution

After the video card driver is installed, You can smoothly enter the unity interface, but you are not used to it.

Since ipvs has been upgraded, try unity in Ubuntu. This is the first time I have installed Ubuntu and windows on the same hard disk ...... Enough food

I have not been familiar with Ubuntu for a long time, so I wrote this article as a note. If you accidentally see it, do not take it as a tutorial.

I first left a 40 Gb unused space at the end of the disk.

You still need a software called easybcd to download files on the Internet. The difference is not very big, and then add a new boot guide.


And then write it in the config file.

Title install Ubuntu 11.04

Root (hd0, 0)

Kernel (hd0, 0)/vmlinuz boot = Casper iso-Scan/filename =/ubuntu-11.04-desktop-i386.iso Ro quiet splash locale = zh_CN.UTF-8

Initrd (hd0, 0)/initrd. LZ

The ubuntu-11.04-desktop-i386.iso file name must be consistent if the Ubuntu image you downloaded contains the same names in case.

Then you need to put the ubuntu-11.04-desktop-i386.iso to the root directory of a partition and then put the initrd. LZ and vmlinuz files under the Casper directory to the root directory of your first partition.

If not, modify (hd0, 0) in config to your partition.

After my reference and practice, I found that the parameter settings were incorrect. At that time, I was really depressed. Fortunately, I did software development and later found the root cause of the problem and was able to solve it. Here are some explanations:

Root (hd0, 0) // hd0 indicates the first hard disk. Open the Hard Disk Manager. The parameter 0 after hd0 indicates the first partition. Generally, the default value is drive C, however, if I have set the system reservation area like this, I have to set it to 1, because the drive C is not in the first position, and the hard disk manager is also opened, root (hd0, 0) this sentence means starting from 0th + 1 Disk of hd0 (starting from 0 is the habit of programming. Although people are used to starting from 1, computers are still used to starting from 0)


Kernel (hd0, 0)/vmlinuz boot = Casper iso-Scan/filename =/ubuntu-11.04-desktop-i386.iso Ro quiet splash locale = zh_CN.UTF-8

The above sentence indicates where the Ubuntu kernel is located, where the program is located, and where the Ubuntu kernel is located. For parameter explanations, refer to root (hd0, 0 ), the file name is the same as that of the Ubuntu image. Therefore, the file name must be set correctly. Otherwise, the file cannot be found,

The parameters in initrd (hd0, 0)/initrd. LZ indicate the location of the initrd. LZ file. Remember that all files must be placed in the root directory ,,

Below

After the preparation is complete, you can restart the computer and choose install Ubuntu 11.04 to enter the Ubuntu system, just like livecd.


Open the terminal (Application> attachment) first)

Run sudo umount-L/isodevice

After running the command, you can click Install Ubuntu on the desktop.


In this case, I choose no


Select the first or third one for dual-system installation.

It's strange: I don't have the first option in the same system, and it's really bad luck, Because ubuntu made a part of my entire logical partition when I chose another option, I don't know which zone to install. As a result, I went back to win7 to install the partition tool. The evil tool did not support my hard disk and broke the partition table. It was a bad day and it hurt me...

PS: My partitions



You can also make some settings when copying files.


Some items will be downloaded during installation

The process will be completed in about half an hour. You can use Firefox to access the Internet ...... You can also play games.

There are also some aftercare matters

1.

Sudo mV/etc/grub. d/30_os-prober/etc/grub. d/06_os-prober

Sudo Update-grub

Execute these two lines to make grub have ipvs7 and be the first

2. Delete the wizard of neogrub under win7. The method is the same as that for installation. This time, click Remove.

Then, set vmlinuz and initrd. LZ under the first partition.

You can delete other unnecessary items.

PS: My Lenovo y450 cannot start unity ...... Solution

After the video card driver is installed, You can smoothly enter the unity interface, but you are not used to it.

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.