Dual-system Ubuntu boot from Vista

Source: Internet
Author: User
Attention to Linux community XD will certainly guide linux from XP boot. ini. I will not talk about it here, but vista will no longer use ntldr, so there are some new changes. 1. Export the grub boot sector file. In linux, ddif =/dev/sda3of =/dev/sda6/linuxloader/Ubuntu. lnxbs = 512 count = 1 (my GRUB is installed on sda3

Attention to Linux community XD will certainly guide linux from XP boot. ini. I will not talk about it here, but vista will no longer use ntldr, so there are some new changes.

1. Export the grub boot sector file.

In linux

Dd if =/dev/sda3 of =/dev/sda6/linuxloader/Ubuntu. lnx bs = 512 count = 1

(My GRUB is installed on sda3)

/Dev/sda indicates the disk from sata

Ide hard disk, with/dev/hda. The actual situation depends on the location where the grub boot record is installed

(This is the same as ntldr with XP)

2. Run cmd with the Administrator permission under vista, and then

Bcdedit/create/d "Ubuntu 7.04"/application bootsector

Create a startup Item named "Ubuntu 7.04" by loading the Boot Sector file type

After execution, a {GUID} will be returned. The following command uses this {GUID}

Bcdedit/set {GUID} device partition = E:

Set the partition where the Boot Sector file is located (that is, the partition where ubuntu. lnx is located)

Bcdedit/set {GUID} path \ linuxloader \ ubuntu. lnx

Specify the path and file name of the boot sector file (backslash \, indicating the root directory)

Bcdedit/displayorder {GUID}/addlast

Add the Ubuntu menu item to the end. Restart the computer.

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.