Vista and Linux dual-system startup

Source: Internet
Author: User
Vista and Linux dual-system startup-general Linux technology-Linux technology and application information. The following is a detailed description. Start from Vista

Dd if =/dev/hda1 of =/grub. lnx bs = 512 count = 1
* Is had1 your own grub security? Location. If you do not know? Into fdisk? L query? Your FC5 security? Object ?.

Run cmd with the Administrator permission under vista
Bcdedit/create/d "Your Linux Distor"/application bootsector

Create a "Linux" Name and use the boot item with the loading type of "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 grub. lnx is located)

Bcdedit/set {GUID} path \ linuxloader \ grub. lnx
Specify the path and file name of the boot sector file (backslash \, indicating the root directory)

Bcdedit/displayorder {GUID}/addlast
Add the menu item for Linux to the end. Restart the computer.

Use Grub to start:

Vi/boot/grub. conf or menu. list

Insert the following statement directly under #### End Default Options:
Title Windows Vista
Root (hd0, 0)
Makeactive
Chainloader + 1
Save the settings.
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.