Article Title: How to enable Linux to settle down on the second hard drive. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Due to hardware upgrades and other reasons, many of my friends have configured dual hard disks. Insufficient or unwanted space on the primary hard disk
When changing the hard disk partition, they would like to install linux on the second hard disk. Generally, install
In linux, the system is usually deployed on the primary hard disk. Otherwise, special work is required. After thinking and exploration.
I finally achieved this. Only using the LILO starter can enable the original WIN98 and second
Linux on the hard disk can coexist peacefully.
Hardware configuration and software environment:
Sai Yang 400/Diamond I810 motherboard/64 M memory/15-inch color display/40X optical drive/dual hard drive
Hard Disk 1: Seagate 8.4 GB? All the space has been divided into FAT32 partitions and the Windows 98 operating system is installed.
Hard Disk 2: Seagate 3.2 GB? The first 500 MB space has been divided into FAT32 partitions, and the remaining space is free space.
Software: RedHat? 6.0
Requirements to be met: linux is installed on hard drive 2, and the host is started from hard drive 1 (main disk ).
You can freely switch between the operating system, WIN98 and linux.
The installation steps are as follows:
1: Preparations
Open the chassis and unplug hard drive 1. (It must be pulled out, because even if
If the primary hard disk is blocked, you can find it in linux, which will cause installation failure.
In the BIOS, set the disk to start first.
2: First installation
Started from the CD, and installed linux on hard drive 2 as usual. If disk 2 and hard disk 1 are shared
The data cable is installed on the IDE1 interface of the motherboard. during installation, the hard disk is recognized as "hdb ". While
Disk 2 and the optical drive share the data cable. if the IDE2 interface is installed on the motherboard, the hard drive may be recognized as "hdc ".
Note that you cannot install LILO on "Master Boot Record" when installing LILO ",
Must be installed in "First Sector of Boot Partition ". The objective is to use LILO on the primary disk in the future.
Call the linux partition startup command of hard drive 2.
After the installation is complete, turn off the computer power. In this case, linux on the hard disk cannot be started. If force-start is enabled,
An endless loop or crash occurs.
3: Set LILO
Reconnect hard disk 1 according to the original method. The computer is still started by the CD. In this case, when installing linux,
Select the latter in the "install" "upgrade" option that appears. In fact, it is
Reinstall LILO and have it call the configured linux boot partition.
When LILO is installed, the hard drive ID "hda" is displayed ".
/Dev/hda Master Boot Record
......
What is the Master Boot Record of the Master Boot Record that LILO is installed on hda this time? . After completing this step,
The startup setting option is displayed. The host lists Windows 98 on the primary hard disk and the installed linux.
You must select a system that can be started. Configured. Complete the installation. So far, the success is achieved.
4: try ^ o ^
Remove the disc from the optical drive and restart the computer. You can find that the primary disk appears at startup.
"LILO:" prompt, click the key to display the system that can be started.
LILO is quite powerful. It claims that it can start any linux boot partition on any drive,
Or other systems.
If you do not want to use LILO as the starter, you can also try to use System Commander. But this is not
This topic is discussed.
Now, start linux and enjoy its powerful functions.
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.