Installation of Red Hat Linux 9 (for beginners) __linux

Source: Internet
Author: User
Tags file copy

Start to learn Linux, perhaps the beginning of everything is difficult, light this installation will cost me a week of work, think about it, I write down the experience, so that everyone has a reference.

First of all, this is the installation disk, to tell the truth, I still do not get it done. In the electric mule up and down an official retail version of the Mirror, full of joy carved a dish, then somehow faint head, there is no data validation, the results loaded to half, people do not know, that is the second Zhang Pan read the past. Had to give up. Fortunately, at first there was homework to do, not to cover the boot file on the MBR, which has been tossing all morning, the most is in Windows less than a disk, the other does not affect. Since it is not read past the disc, it is engraved, this time did not forget the data validation, but it seems that there is no difference, but data validation will not read the past. What can I do about it? Is it too fast to carve? I was in the 32X engraved, forget, in order to insurance, or 16X to try it, in my opinion, this has been slow like a cow, and then slow, into a snail. But despite my skills, the problem remains. Check the Internet, there are many people are the second disk installation process went wrong, but there seems to be no good solution. I think it is a version of the problem, if not very people can be successfully installed, or what anti-piracy measures. Helpless, as long as the students borrowed the installation disk. Thought it would be all right to copy the disc, and the result was--it didn't work. Forget it, first put it, big deal to buy a set of chant, people since all open source, we can not too do not face it.

The problem with the installation disk is over, the next problem is zoning. General partitions are no different, according to the method introduced in the book, as long as the attention in the selection of partitions do not forget to choose "Use Disk Druid manual Partition", so you can create personalized partitions. But my zoning was a little special, and I had a lot of brains. I have two hard drives, so naturally I want to put Linux on the second hard drive on the C disk, but the Linux disk name is more strange, the first IDE interface hard disk called/dev/hda, the second IDE interface of the hard disk called/DEV/HDB, the first SCSI interface of the hard disk called/ DEV/SDA, the hard disk of the second SCSI interface is called/DEV/SDB, the first partition of the first IDE interface hard disk is called the/DEV/HDA1, the fifth partition of the first IDE interface hard disk is called/DEV/HDA5, but a hard disk has up to four primary partitions. The number 1-4 is left to the primary partition or extended partition, and the logical partition number starts at 5. I would like to be in the second hard disk under the C disk more than a few partitions, so that the management is also organized, but forget it is the primary partition, up to four, and/DEV/HDB2 also allocated to the extended partition, so how to point to all errors. Finally found that the original want to install Linux in C disk, can only use/DEV/HDB1,/DEV/HDB3 and/DEV/HDB4 three partitions, of course, if the other logical partitions under the continued points can be, but that is not equal to the loss of Windows under the two disk. Think twice, or return to the second, use three partition to do it.

There is also the configuration of reading Windows files under Linux. This is the work done after the partition, after creating/partitioning,/boot partitions, and swap partitions, such as reading the D disk of Windows under Linux, you need to select the partition that it corresponds to, and then click the Edit button to enter/mnt/win_d in the mount point in the pop-up window. , so you can find the D-disk file in the Linux/mnt/win_d directory, of course, if you don't like the name Win_d, give it another name.

And then it's the boot file at startup. Some students have said before, there is no windows to remove Linux after the situation, there are reloading Windows after Linux will not go to the situation, to see their situation, are the boot file out of the problem, so I am the guide file this piece of research. In fact, they installed Linux to install the boot files in the default MBR (Master boot record), so that Windows and Linux share this place, no matter who has a problem will affect the launch of another system. The solution is also very simple, when you configure the boot loader, select the Configure Advanced boot loader check box, so that you can click next to enter the Setup interface to the boot file loading location, which is, of course, the MBR, as long as you change it to another boot location. I installed two hard drives, so I chose the first sector in/DEV/HDB1, and then I continued the installation. Note that you must create a boot disk at the end of the installation, or you will not be able to get into Linux. How to create a boot disk without a floppy drive I haven't studied it yet, but there must be a way.
After installation, first use the boot disk into Linux, then to use root login, and then enter the following command in the terminal:
DD bs=512 count=1 if=/dev/hdb1 OF=BOOTSECT.RH
This is my online copy, presumably is to create the boot file, saved to the/root/under the Bootsect.rh file, where the input file if=/dev/hdb1 is my boot file in the sector, if you configure the Advanced boot loader when you choose a different location, Here, change the HDB1 to the location you choose. After execution, you can see this file named Bootsect.rh in the/root and copy it out for backup.
Then you can reboot the machine into Windows, and don't forget to pick up the boot disk. To Windows under the C-packing directory, view all files, including system files, you can find the system's hidden file boot.ini, its read-only option to remove, you can modify, but advised you to back up this file, safekeeping. At the end of the Boot.ini file, add the following line of characters:
C:/bootsect.rh= "Red Hat Linux 9.0"
This is to modify the Windows boot menu, to join the Linux boot file, of course, this requires you to backup the Linux under the Bootsect.rh file copy into the C-packing directory under Windows. After the modification, the Boot.ini and BOOTSECT.RH are set to read-only and hidden.

Restart the machine this time. What you see. is not a long-lost Windows System selection menu. Click on the Red Hat Linux 9.0 option, and what do you see? Haha, is not the more Long-lost Linux System Selection menu. In this way, whether to reload Windows or remove Linux should not affect your other system, as long as in the reload do not forget to complete the above operation on the line.

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.