Use Grub4DOS in Vista to create Vista and Ubuntu

Source: Internet
Author: User
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.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.