How to add Ubuntu startup items to Windows system?

  
                                    

How do I add Ubuntu startup items to my Windows system?

1. Download the grub4dos package and extract the files grldr and grldr.mbr to the root directory of the C drive

2. Some versions of windows may already be useful to other versions of grldr (which contains the BIOS) And MBR information), because it is different from grub4dos, so it can not be used directly, 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, add at the end 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. After rebooting, you can see the Ubuntu menu.

Notes: < Br>

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

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

Copyright © Windows knowledge All Rights Reserved