Use the Windows Startup menu to start linux

Source: Internet
Author: User
Use the Windows boot menu to start linux-general Linux technology-Linux technology and application information. The following is a detailed description. Yesterday we reinstalled the system and installed Linux. However, some problems occurred when setting WinXP and Linux Dual Boot.

I am going to use Windows ntldr for guidance instead of grub for guidance. After searching online for a long time, I finally solved the problem. Because the solution on the Internet is not very detailed, I will list the detailed solutions below (taking Windows XP and Fedora8 as examples)

Windows is installed in the preceding partition (from disk C to disk J), and the space left in the installation options of Fedora is installed using the installation option "install linux in the remaining space.

Preparations:

1. Install Windows XP and back up the system after installation.

2. install Linux on the remaining disk space. Note the following during installation: When configuring the boot program, install the grub boot information on the partition, in this case, write down the partition path (which is included in the installation program) and set it to/dev/sda12 on my machine (disk C corresponds to/dev/sda1)

3. Prepare the rescue disk (the boot disk or the installation disk. The Fedora8 installation disk already has the rescue mode ).

4. Because you need to copy the linux Startup information, you need devices that can be saved. For example, U disk (hard disk partition does not know why it cannot be mounted in rescue mode ?)

The configuration steps are as follows:

1. Plug in the USB flash drive and use the installation disc or rescue disk to start in rescue mode. Linux will automatically load the USB flash drive.

2. Select the language (English) and keyboard (us) as prompted ).

3. Next, configure the network. because we do not need to access the network, select No here.

4. Click "continue.

5. Enter the command line mode and enter the following command to set the root directory to/mnt/sysimage.
Chroot/mnt/sysimage

6. mount a USB flash drive
Mkdir? P/mnt/usb
Mount/dev/sdb1/mnt/usb

7. Export the boot information to the file and save it to the USB flash drive:
Dd if =/dev/sda12 bs = 512 count = 1 of =/mnt/usb/linux. lnx

8. restart Windows.

9. Copy the linux. lnx file in the USB flash drive to the C root directory.

10. Modify the boot. ini file and add a line at the end.
C: \ linux. lnx = Fedora8

11. Modify the menu stay time

Add a line of timeout = 6 in the [boot loader] section of the boot. ini file.

12. After the instance is restarted, you can select Fedora8 to start it in linux.
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.