Boot Ubuntu from Windows 7

Source: Internet
Author: User
The precondition for this method is that the original MBR has been backed up before Windows 7 is re-installed and the MBR is rewritten. The backup mode is the traditional dd mode. $ Sudoddif =/dev/sdaof = boot. lnxbs = 512 count = 1 after Windows 7 is installed, you can run the C: \ boot. lnx loads the original MBR and directs the original UbuntuLinux system. 1. Run cmd2 as an administrator

The precondition for this method is that the original MBR has been backed up before Windows 7 is reinstalled and the MBR is rewritten.

The backup mode is the traditional dd mode.

$ Sudo dd if =/dev/sda of = boot. lnx bs = 512 count = 1

After installing Windows 7, you can load the original MBR through the file C: \ boot. lnx to guide the original Ubuntu Linux system.

1. Run cmd as an administrator

2. Add a startup entry

Bcdedit/create/d "Ubuntu 10.04 LTS"/application bootsector

3. Set the actual boot device of the boot entry.

Bcdedit/set {entry-name} device partition = c:

4. Set the file actually read by the startup entry

Bcdedit/set {entry-name} path \ boot. lnx

5. Set the sequence and timeout

Bcdedit/displayorder {entry-name}/addlast

Bcdedit/timeout 10

The entire process is as follows:

Related Article

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.