Ubuntu Installation Tutorial--win7 system with 100M reserved partitions

Source: Internet
Author: User

1. Check Win7 reserved Partition

1) Enter Win7 open the Library folder, find the "computer" in the left column, and right click on the "Manage" menu.

 

 

2) on the left side of the admin panel find "Disk Management", click on it, on the right out of each partition;

 

 Note : If there is a 100M system reserved partition, do the following (3-6), otherwise skip to the 2nd step to copy the boot file;

 

3) aiming at the 100M "system reserved" Partition point right-click, select "Change Drive Letter and path" menu;

 

 

4) in the Out panel, point to the bottom left corner of the "Add" button;

 

 

5) Then, in the top right corner of the panel, select a letter with the letters at the back, then click OK;

 

 

6) Then go back to the "Computer" folder, you will find a disk partition, open inside is empty;

2. Copy the boot file

( Note : If you do not have a 100M system reserved partition, or if you are unsure, then copy the following boot files to the C: disk)

1) Copy the downloaded Ubuntu image file to the C: disk and open it with 7-zip or WinRAR;

 

 

2) Locate the Casper folder double-click Open, inside there is an I start and V file;

 

 

3) Open the previously prepared system reserved partition and drag the Initrd.lz file from the Casper to this partition window,

If you do not have to keep the partition to drag to the C: disk, come out cue point "continue";

 

 

4) also drag the Vmlinuz into this section, close the 7z compressed Package window;

 

 

3. Making menu.lst Files

1) Open Notepad, enter the following content, you can also copy and paste in, the third line in the filename=/after the file name to the corresponding, this lesson folder has this Menu.lst file (right click, select "Save Target as");

32 Guests
Title Install Ubuntu
Root (hd0,0)
Kernel/vmlinuz boot=casper iso-scan/filename=/ubuntukylin-14.04-desktop-amd64.iso ro quiet splash Locale=zh_CN. UTF-8
Initrd/initrd.lz

64 guests
Title Install Ubuntu
Root (hd0,0)
Kernel/vmlinuz.efi boot=casper iso-scan/filename=/ubuntukylin-14.04-desktop-amd64.iso ro quiet splash Locale=zh_CN. UTF-8
Initrd/initrd.lz

2) Point Menu "File-save", location saved in the system reserved disk, filename input "menu.lst", note there is a pair of double quotation marks in English;

 

 

3) again download a g2ldr and g2ldr.mbr file, also copied to the system reserved disk, this lesson in the folder has this g2ldr and, g2ldr.mbr file;

 

4) Create a boot. ini file on the system reserve disk, and enter the following: (This lesson has the boot. ini file, right-click, select "Save Target as")

[boot loader]
Timeout=0
Default=c:\g2ldr.mbr
[Operating Systems]
C:\g2ldr.mbr= "Ubuntu"

 

So in the system reserved disk there are 6 copies of the file, in the C: disk has an Ubuntu image file, carefully check the number and icon type;

 

 

 4. Shut down the system reserved partition

1) After checking each file, close the system reserved Partition window and return to "Computer Management-Disk Management-Change Drive letter and path";

 

 

2) in the Out panel, click on the "Delete" button in the bottom right corner;

 

 

3) In the confirmation dialog box, click "Yes";

 

 

4) In the Next Warning dialog box, click "Yes";

 

 

5) This will remove the assigned drive letter, and then close the Management window;

 

 5. Install Ubuntu system

1) Restart the computer, when the boot menu appears, press the arrow key to select "Ubuntu", press ENTER enter;

 

 

2) The next steps and the steps in the previous article, I will not repeat this

..........................................

...........................................

  

 6. Win7 Boot dual system Ubuntu

1) Then step by step installation, restart the computer to enter the Win7, the C: disk in the Ubuntu image file deleted,

 

2) Re-enter the system reserved partition (open the C: disk if no partition is reserved), delete the Menu.lst file, and then close the system reserved Partition:

 

 Remember : Be sure to remove the drive letter assigned to the system reserved disk;

Restart the computer, and then select "Ubuntu-ubuntu/linux" in the boot menu to enter the Ubuntu system;

 

The following are for reference:

3) If in Ubuntu12.10, you need to use the Menu.lst file, open the Menu.lst with Notepad, the contents of the content into the following, this lesson folder has this Menu.lst file (right click, select "Save Target as"):

Title Ubuntu/linux 12.10

Find--set-root/boot/grub/i386-pc/core.img

Kernel/boot/grub/i386-pc/core.img

Boot

If the/boot is partitioned separately, use the following:

Title Ubuntu/linux (/Boot on single Partitionas)

Find--set-root/grub/i386-pc/core.img

Kernel/grub/i386-pc/core.img

Boot

 

For the menu.lst of 64-bit systems, you can use the following, remembering the boot installation partition number, assuming SDA9:

Default 0
Timeout 5


Title Ubuntu 12.04
Root (hd0,8)
Chainloader +1
Boot


Title Ubuntu 12.04
Root (hd0,8)
Kernel/boot/grub/core.img
Boot


Title Ubuntu 12.04
Root (hd0,8)
Kernel/vmlinuz ro root=/dev/sda9
Initrd/initrd.img
Boot


Title Ubuntu 12.04
Root (hd0,8)
Kernel/boot/vmlinuz-2.6.32-24-generic ro root=/dev/sda9
Initrd/boot/initrd.img-2.6.32-24-generic
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.