Use the Windows Startup menu to start the Linux system

Source: Internet
Author: User
Tags command line ini root directory

Boot using Windows NTLDR instead of grub. Search on the internet for a long time, and finally solve the problem, because the online solution is not very specific, so I will be the following specific solutions listed (with Windows XP and Fedora8 dual boot as an example)

Windows is installed on the previous partitions (from C to J), while the space left is installed using the Install option "Install Linux on remaining space" in Fedora's installation options.

Preparatory work:

1, install Windows XP, after the installation is completed, it is best to backup the system.

2, install Linux on the remaining space of the disk, install the time to pay attention to: When configuring the bootstrapper, should choose to install the Grub boot information on the partition, at this time note the path of the partition (installed on the program), on my machine is/DEV/SDA12 (c disk corresponds to/DEV/SDA1)

3, Ready rescue plate (Boot disk or installation disk, FEDORA8 installation disk has rescue mode).

4, because the next need to copy Linux startup information, so need to be able to save the device. such as USB disk (hard disk partitions do not know why in the rescue mode can not be mounted?) )

The following are the specific configuration steps:

1, plug the U disk, use the installation CD or rescue disk to boot to the rescue mode. Linux will automatically load a USB drive.

2, next to the prompts to choose the language (Chinese), keyboard scheme (US).

3, Next is the network configuration, because we do not need to access the network, this election No.

4, click Continue.

5, enter the command line mode, enter the following command, set the root directory to/mnt/sysimage

Chroot/mnt/sysimage

6. Mount U Disk

Mkdir–p/mnt/usb

Mount/dev/sdb1/mnt/usb

7. Export the Guide information to the file and save it to a U disk:

DD If=/dev/sda12 bs=512 count=1 OF=/MNT/USB/LINUX.LNX

8, restart into Windows.

9, the U disk in the Linux.lnx file copied to the C-packing directory.

10, modify the Boot.ini file, add a line to the last side

C:\linux.lnx=fedora8

11, modify the Start menu stay time

Add a row to the [boot loader] section of the Boot.ini file timeout=6

12, after the reboot can be selected by the Fedora8 to boot to Linux.

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.