Multiple methods to guide linux

Source: Internet
Author: User

Source: evil baboons

Add Linux to the Windows NT/2000 Startup Menu

1. The first method is to use the Virtual Disk Boot Tool under win.
Create a linux boot disk as an image file and add a boot
Option (this method is applicable to the partitions where grub is written in mbr and linux ).
Because the boot disk image is used by the beginner users, this boot disk can also be used to do a lot of things.
I used the methods 1 and 2 introduced here and made two guides for their respective use !!
As long as the image file is backed up, re-install windows next time and format the c: disk as long as the linux partition is not formatted
We just need to modify the c: oot. ini file and add the option !!

2. the Linux Startup menu is good. Unfortunately, it cannot display Chinese characters, and you cannot choose to start xp or Win nt,
So I think it is better to use the NT series to start the menu. In fact, it is easy to install all Windows systems.
After installing the Linux operating system, choose to install grub to the partition where Linux is located instead of MBR during installation,
Use the boot disk to start Linux, mount the Windows partition to/mnt/win, and then run
Dd if =/dev/hda? (Note :? Represents the partition of your linux boot loader.) bs = 512 count = 1 of =/mnt/win/linux. lin,
In this way, a linux. lin file exists in the Windows partition, which records the startup information of the Linux partition,
Then add C: linux. LIN = "Red Hat Linux9.0" to the boot. ini file of Windows xp ",
When we started the computer again, we found that "Red Hat Linux 9.0" was added to the Windows xp boot menu"
Select this option to start Linux. Note that NT still only recognizes 8.3 cells at startup
So do not change linux. lin to a long file name.

3. linux and windows boot
Users who have used linux do not need to talk about it. Those who have never used linux and are ready to use it should pay attention to it here. You may have noticed
. That is, in mbr (Master Boot Record), where the Master Boot Record is located, linux and window System 1
We can't share it all the time. Mbr is located in the first sector of the hard disk. It does not belong to any partition, but belongs to all file systems.
Guide: when a computer is started into the system, it first reads its data and then determines how to enter the system based on it.
If you only use the dos system, you can ignore this issue. However, when a non-dos system is involved
When the Column System and the dos series system coexist, this 512-byte small space is a headache (to be honest, this
The problem has also plagued me for a long time, and I only found the solution from the Internet today ). I have read the solution from Nicry,
I also tried it on my own machine.
However, linux still occupies mbr. In addition, a system floppy disk is required. And I don't have a soft drive.
This is troublesome. (In any case, I think it is safer for windows to manage mbr ). Therefore, I would like to recommend
Linux can be started by modifying boot. ini like other windows systems, provided that no floppy disk is needed.
Here, I recommend a small backup software: Dskprobe. In a general win2000/xp Disk
In surportoolssurport. cab (however, I do not have dxp ). This is because windows
The format is inconsistent with that of the linux file system. However, dskprobe is used as a binary backup, and the content is absolutely the same as that of the original disk.
Before using it, use the partition magician to locate the Linux/boot partition in the main window of partition magician 8.0.
Right-click the/boot partition and select the "Properties" menu item. Then, in the opened "Partition Properties"
Switch to the "Partition Info" tab and find
Number of sectors.
After enabling dskprobe, click drives> Physical drive ..., In the displayed dialog box, select
Physical drive0, double-click. Click set active below, and then click OK to return to the main interface. Click
Choose "Sectors"> "Read" to open the "Read Sectors" dialog box. In the "Starting Sector" Text
In this box, enter the Number of sectors passed by the partition magician, enter 1 in the "Number of" text box, and then click "Read"
Button, which is the content of the boot Sector of the Linux/boot partition.
Choose "File"> "Save as" to specify the storage location (C root directory) and File name (assuming
Bootsect. dsk), and then add the appropriate item C: ootsect. dsk = "Red Hat Linux 9.0" to the boot. ini file"
You can. After everything is ready, restart the system. The Windows XP Startup menu appears. You can select
Systems.
I started to install the linux boot file on mbr, So I entered it in starting sector of dskprobe.
Is 1. Then, use the system CD to repair the following mbr. Later, we will not be afraid of any bad linux, which will make windows unusable.
Well, this is a method that I have been observing for a long time. I hope to help you a little bit.

4. Start LINUX from hard disk
Put loadlin.exe and Vmlinuz in the dosutilsof the optical disk in a folder in windows, such as c: \ linux,
Create another batch file in this folder, such as linux. bat. The content is
Loadlin.exe vmlinuz root =/dev/hda5
The above hda5 is my linux partition. You can press F8 when you start 98 and run linux. bat after entering dos.
You can go 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.