Hard Drive Installation Linux__linux

Source: Internet
Author: User
Tags prepare

Describe the tools used by the preparation tools: 1.wingrub or Diskgenius 2. ESYBCD Installation System rebuild boot entry remaining items

introduce

It seems to look at the internet a variety of messy installation process, anyway, I was walking a little detour, here to record the installation steps to avoid forgetting again. I install the CENTOS7 system here, with hard disk installation. Feel the words personal more biased hard disk installation Linux, because with the U disk installation system will be a bit longer, because you have to engrave the startup disk for more than 10 minutes, but also to use the U disk, leaving the system steps to install the same. preparatory work

Download your system image file, put in a FAT32 file system disk, this disk can be a local disk can also be a USB drive, and then the inside of the Isolinux folder also extract to the disk root directory, and then prepare a piece of unallocated disk, as your Linux system disk. Related Tools tools to use: 1.wingrub or Diskgenius

Both of these tools are used to view the partition information of your own computer, and use which to see your preferences.
See below for Wingrub use:


It will display the partition arrangement information for each letter, which will be used in the boot file;

See below for Diskgenius use:

The first sign on the red box is the hard drive number, here is the hard drive 0, and the second number is the partition number where you want to mount the system file on the hard drive, and the Windows sub code starts at 0, which becomes the required (hd0,1) in the boot file (hd0 represents the No. 0 hard drive, 1 represents the 1th partition, here is D disk);

Diskgenius can also be used to format the letter and remove the letter, delete the letter is to delete the partition, the disk into an unassigned disk, note here we want to set aside an unallocated space for the Linux system to use; because the CentOS system does not support the NTFS file system, you will need to store system files ( You want to install the image file of the disk or USB drive format into FAT32 format, and note that this format file system does not support a single file transfer over 4G, so our system file size can not exceed 4G, Now CENTOS7 DVD version of the system has 4.2 g, so I am here to install the CENTOS7 minimal version. 2. ESYBCD

ESYBCD used to make the boot file, the following figure operation: operation of new entries, Neogrub, and then click on the middle of the installation, and then click the configuration, will pop up a menu.lst file, add a paragraph to the inside:

Title CentOS
Kernel (hd0,1)/isolinux/vmlinuz Linux repo=hd:/dev/sda2:/initrd
(hd0,1)/isolinux/initrd.img



Note: The CentOS in the title CentOS here is just the name of the boot menu bar and can be arbitrarily taken, as explained in the following two lines of file (hd0,1), which is equivalent to my D disk, which holds the system's mirrored file, and is the file system in the FAT32 format, so in (hd0,1) The equivalent of D-packing directory, followed by the Vmlinuz and initrd.img two system installation boot files, are mentioned above Isolinux folder content, repo=hd:/dev/sda2:/is the syntax of the Linux partition, Repo is used to specify the partition where the ISO image file is located, HD represents the hard disk, sda2 represents the second partition, the D disk, and the Linux sub area code starts at 1, so it will be 1 more than window. Installation System

At the end of this preparation, reboot the system and choose to go to grub boot and start the installation process.
Then is the general installation, the choice of language and other steps will not be cumbersome, anyway, the basic default, the network can choose to open.

Here to say, the System bar installation location options, in the selection I want to configure the partition (manual partition) and then click Finish, you can also automatically do not insist, I said manually. After entering the bottom of the page will show the free space of the hard disk, you'd better see if your free space is the size of the space that you have previously allocated, if not just go back to Windows to prepare the disk. Click to create them automatically, and generate the system to automatically help you divide the mount point, here if you are not satisfied with the data that is automatically matched you can click on each mount point to modify their data, the "+" and "-" at the bottom of the page can be used to add or remove mount points to see your own needs.
Then there's nothing left to say. Rebuilding a boot entry

If you want to enter Windows after the system has been installed, you need this step, if you do not need your windows as I did not say ...
Edit file under root: vi/boot/grub2/grub.cfg
Add the following command after the previous line comments:

Menuentry "Windows 7"
insmod chain
insmod NTFS
set root= (HD0,MSDOS1)
Chainloader +1

After restarting, you can see the Windows 7 option written above on the startup page, which can be changed arbitrarily in the file above.
Related GRUB syntax provisions see another article [1]:https://blog.csdn.net/yabaj/article/details/79666018 the rest of the matter

If there is no network in the system, you can edit the file/etc/sysconfig/network-scripts/ifcfg-eno ... (After a string of characters omitted), the inside of the Onboot attribute to Yes, this opened the network, because the system is installed when the default does not open the network, and then restart the Network Services service network restart. The
Centos7 command to view IP information has changed from ipconfig to IP addr.

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.