How to add Ubuntu startup items to Windows system?

  

If your Ubuntu is installed after Windows 7 or Windows XP, and your Boot Loader is not installed in MBR, but installed in Ubuntu /boot or /partition, after restarting the computer, you may not see Startup to Ubuntu. Don't worry, let me explain how to add Ubuntu to the boot menu.

Software Name:
grub4dos(grub for dos) 0.4.4 dos tool (system boot manager)
Software size:
2MB
updated:
2012-12-05


1, grub4dos download package, extract the files and grldr.mbr grldr To the C root directory

2, some versions of windows may have been useful to other versions of grldr (which contains BIOS and MBR information), because it is different from grub4dos, so it can not Direct use, to do some processing: first rename grldr to gdldr, then edit grldr.mbr with WinHex, replace grldr with gdldr. If other versions of grldr are not used in the original system, you can skip this step.

3, (1) WIN7 system:

Add startup items with bcdedit. Enter the WIN7 system, open a command line prompt with administrator privileges, and then execute the following command:

bcdedit /create /d "GRUB MENU" /application bootsector (Note: Create a name for “GRUB MENU” Real mode startup item)

Copy the generated {ID}, replace the ID in the following command with this ID

bcdedit /set {ID} device partition=C: (Note : Set the partition where the boot sector file is located, where grldr.mbr is located)

bcdedit /set {ID} path \\grldr.mbr (Note: Specify the path and file name of the boot sector file)

bcdedit /displayorder {ID} /addlast (Note: Add this GRUB MENU menu item to the end)

(2)WIN XP system:

Modify boot.ini, at the end Add a line

C:\\grldr="ubuntukylin 14.04"


4. Modify menu.lst and add a menu to load Ubuntu. The added menu might look like this:

title ubuntukylin 14.04

find --set-root --ignore-floppies --ignore-cd /grub/i386-pc/core.img< Br>

kernel /grub/i386-pc/core.img

boot

5, you can see the Ubuntu menu after rebooting

< Br>

Notes:

1, please note the second step about grldr related tips, it is very important

2, different versions of Ubuntu, menu.lst may be written Different, please refer to the relevant information

Copyright © Windows knowledge All Rights Reserved