Article Title: Vista and Linux dual-boot. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
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.