One of the multiple operating systems in Linux

Source: Internet
Author: User
Computer CMOS records various hardware parameters and is embedded in the memory on the main board. BIOS is the first program executed by the computer. Introduction to multiple Linux operating systems

Computer CMOS records various hardware parameters and is embedded in the memory on the main board. BIOS is the first program executed by the computer.

The BIOS reads information about each hardware in CMOS, and then reads the hardware from the hard disk according to the Boot settings of the computer.

The MBR location of the first sector. the hard disk capacity of the MBR is stored in the most basic Boot management program, while the Boot loader is an operation.

The system has installed a set of software on the MBR, because the MBR only has 446bytes, the boot management program is very small, and the bootloader

Three main tasks are provided:

1. provides a menu: users can choose different boot options, which is also an important feature of multi-boot!

2. load the core File: directly point to the boot-able program section to start the operating system.

3. transfer other loaders: Transfer the boot management function to other loaders.

Our hard disk has only one MBR, but the boot management program Bootloader can be installed on each split slot in addition to the MBR.

In the starting sector, this is the function of multi-boot!

If you set to install multiple boot times, you 'd better install Windows before installing Linux. this is because:

When installing linux, you can choose to install the boot management program in MBR or separate the boot sector of the slot, and the Linux Loader can

Manually set the menu, so you can add the Windows boot option to the Linux bootloader.

The installer will take the initiative to overwrite the MBR and the start sector of the split slot. you have no choice but to choose one.

Menu function. However, after being overwritten by windows, you can also use the spfdisk software to install the management program for Windows/Linux.

The Linux rescue mode can be used to save MBR.

Next, let's talk about bootloader. the default software used by this bootloader program is grub, and it must be installed on MBR.

During the installation of the Linux system, you can select the grub installation location and

Content. this volume label indicates that the root directory is located in/dev/sda2. you can also choose to start different operating systems, press the Add button, and select other

The split slot of the operating system and the content of the menu are originally read-only mounting directly to the root directory. The latter adds a menu and tells another operation.

The location of the system and Bootloader. you can also set a password for the grub boot management program.

When installing multiple operating systems:

1. when Windows xp is installed to the split slot, the record first generates two main split slots, format the file system to NTFS, and then convert Windows xp

Only/dev/sda1 and/dev/sda2 are installed in the C slot.

2. install Linux again. when installing the boot management program, you need to set the [default boot] project to Windows or Linux, and grub

It is necessary to install it on the MBR header. after setting multiple boot times, note that the Linux Root Directory and swap can be unmounted in Windows,

Otherwise, problems may occur.

3. if the Windows operating system has been installed on the host, only disk C and disk D are divided, and there is no extra space, you need

Move it out, divide the D slot into the D and E slots, and copy the things in the original D slot to the just-split D slot. remember not to mount the E slot. this is

It is expected that the Linux system slot will be installed.

Note:

If the system cannot start properly after the Linux operating system is installed because the hard disk is too large, the possible problem is that your BIOS is too old or the hard disk is too large,

The motherboard does not support this feature. you can either download the latest BIOS or create a MB split slot when partitioning the disk and mount it to the/boot mount point.

Note that this/boot mount point must be at the top of the entire hard disk, and must be/dev/sda1.

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.