Article Title: Use Grub4DOS to create Vista and Ubuntu under Vista. 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.
1. Download basic software
Download a CD-ROM image for Ubuntu 8.10
Download GRUB4DOS
Download EasyBCD
2. Configuration
Create a Ubuntu folder in the C root directory
Copy the vmlinuzand initrd.gz files in the casperdirectory of ubuntu to the C: \ ubuntu directory.
Open the downloaded GRUB4DOS and copy the grldr and grldr. mbr files to the C: \ Ubuntu directory.
3. Configure startup information
1) install and run EasyBCD, and then select "Add/Remove Entries" on the left ",
Create a new Entry with the Type Windows NT/2 k/XP/2k3 ", Name =" Grub4DOS "under" Add a Entry "-" windows"
2. The administrator ID is used to run cmd.exe.
Enter bcdedit, see the description item is Grub4DOS startup information, write down the corresponding guid (identifier), in the form of {XXXXXXXX-XXXXXX-XXXXX-XXXXX-XXX}
Run the following command to replace {GUID} in the following command with the string obtained above,
Bcdedit/set {GUID} device partition = C:
Bcdedit/set {GUID} path \ Ubuntu \ grldr. mbr
Bcdedit/displayorder {GUID}/addlast
4. Create a menu. lst under the C root directory.
The content is as follows:
Color black/cyan yellow/cyan
Timeout 3
Default/default
Title Microsoft Windows Vista
Find? Set-root/bootmgr
Chainloader/bootmgr
Title Ubuntu 8.10 Live CD
Root (hd0, 0)
Kernel/Ubuntu/vmlinuz boot = casper iso-scan/filename =/ubuntu/ubuntu-8.10-desktop-amd64.iso
Initrd/Ubuntu/initrd.gz
Title commandline
Savedefault? Wait = 2
Commandline
Title reboot
# Savedefault? Wait = 2
Reboot
Restart.
+ If you want to delete the GRUB4DOS that appears during the Vista boot
Run CMD. EXE as an administrator
Then input bcdedit/delete {GUID} # GUID indicates the value of grub4dos.
++ How to uninstall Ubuntu from Vista
Use the EasyBCD tool. After installing and starting EasyBCD, select Manae Bootloader on the left.
Select Reinstall the Vista Bootloader on the right,
Then click the Write MBR below.