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.