Ubuntu and XP dual-system installation knowledge

Source: Internet
Author: User
More than once, I have seen some help posts from new users like me regarding the grub guidance after XP and Ubuntu coexist. In fact, all the major forums have been introduced by Lin, A few posts can be posted on the system, but the experts may not bother with it. I am here to talk about my experiences based on my practical experience, hoping to help some friends struggling between XP and Linux. [Experts can close their eyes and Flash first :)] 1. There was an existing XP system, and Ubuntu was installed later. [of course we have to install it successfully, but it cannot be installed. What should you do? :)]

More than once, I have seen some help posts from new users like me regarding the grub guidance after XP and Ubuntu coexist. In fact, all the major forums have been introduced by Lin, A few posts can be posted on the system, but the experts may not bother with it. I am here to talk about my experiences based on my practical experience, hoping to help some friends struggling between XP and Linux. [Experts can close their eyes and Flash first :)]

1. If you have a Windows XP system and installed Ubuntu later, [of course, you have to install it successfully. If not, what should you do? :)], But grub is not successfully installed, so a system cannot enter. There are two possible cases:

A \ grub lacks menu. lst, but you can directly access the command line. This is the first time I installed RedHat.

Solution:

Guide the XP System

Grub>

Code:

Rootnoverify (hd0, 0) // In general, XP is installed on the C drive. You can also press the tab key to view the partition to obtain the coefficient of the system disk.

Makeactive

Chainloader + 1

Boot

Boot Ubuntu

Grub>

Code:

Root (hdX, Y) // here x is the hard disk sequence. If your Linux is installed on the first hard disk, X = 0; on the second hard disk, X = 1; on the third hard disk, [I first dizzy...], And so on. Y is the partition sequence on the hard disk, which can also be viewed by tab; to obtain the partition sequence for Linux installation;

Kernel/boot/vmlinuz-*** root =/dev/sdaZ ro // here Z = Y + 1; *** is the Ubuntu version, which can be completed by pressing the tab key.

Initrd/boot/initrd. img-*** [same as above]

Boot

Note: In this case, after entering Ubuntu, you need to create and compile the menu. lst file, as shown in the following figure:

Code:

Default 0 // indicates that the default start is the first title. If you want to set the default start as the second title, do you mean default X? If you do not know this, use XP :(

Timeout 10 // No comments required? [There are a lot of things on the floor... Don't scold me]

Title Ubuntu, kernel BRL. 15-26-386

Root (hd0, 7)

Kernel/boot/vmlinuz-2.6.15-26-386 root =/dev/sda8 ro quiet splash

Initrd/boot/initrd. img-2.6.15-26-386

Savedefault

Boot

Title Ubuntu, kernel 2.6.15-26-386 (recovery mode)

Root (hd0, 7)

Kernel/boot/vmlinuz-2.6.15-26-386 root =/dev/sda8 ro single

Initrd/boot/initrd. img-2.6.15-26-386

Boot

Title Other operating systems:

Root

Title Microsoft Windows XP Professional

Root (hd0, 0)

Savedefault

Makeactive

Chainloader + 1

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.