Vista is related to the ubuntulinux Dual System

Source: Internet
Author: User
I believe that all boot. ini from XP will guide linux. I will not go into details here, but vista will no longer use ntldr, so there are some 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)/dev/sda indicates that from sa, I believe everyone will boot from XP. ini will guide linux, so I will not go into details here, but vista will no longer use ntldr, so there are some 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. Depending on the location where the grub boot log is installed
(This is the same as ntldr with XP)

2. Under vista
Run cmd with the Administrator permission, and then
Bcdedit/create/d "Ubuntu 7.04"/application bootsector

Create a boot item named "Ubuntu 7.04" and load it as a boot sector file. 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 your vista.
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.