Article Title: Use a minimum image to guide the Linux System in Windows Vista. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories 1. Install grub in the partition of your Linux root directory when installing linux, if it is installed in mbr, enter.
Grub-install/dev/sda8
Or
# Grub
# Root (hd0, 7)
# Setup (hd0, 7)
2. Generate the minimum image file and copy it to a location that windowns can read, such as d :\
Dd if =/dev/sda8 of =/dev/sda5/ubuntu_071208 bs = 512 count = 1
3. Run cmd with the Administrator permission under vista and run the following commands in sequence.
Bcdedit/create/d "Ubuntu"/application bootsector ==> create a startup Item named ubuntu and return {GUID} to {7c3b65ce-b081-11dc-b3e0-001c23fb60a3}
Bcdedit/set {7c3b65ce-b081-11dc-b3e0-001c23fb60a3} device partition = d :==> specify the partition where the image file is located
Bcdedit/set {7c3b65ce-b081-11dc-b3e0-001c23fb60a3} path \ ubuntu_071222 ==> specifies the path of the image file
Bcdedit/displayorder {7c3b65ce-b081-11dc-b3e0-001c23fb60a3}/addlast ==> Add the startup item to the end
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