Linux grub partitions D disks using PQMAGIC

Source: Internet
Author: User

Linux grub is a commonly used software for computer gamers. Then I will study and study Linux grub in depth. Here I will discuss with you how to use Linux grub, hoping to help you. Description: The original system of the machine is a WINXPC disk) and a fedora core 4 is required by the lab project. We hope to add a RADHAT 9 system for testing. Implementation Method:

1. Use PQMAGIC to partition the D disk and use it as the system disk of Linux grub. The result is 1 GB swap and 4 GB FAT32.

2. Use a CD to install SWAP. Set the root directory to the newly opened 4G zone and SWAP to the newly opened SWAP zone.

3. After installation, you will find that you cannot see the FC4 system during Linux grub. Then, you can use the FC4 installation disk to update the original FC4 system so that it can be found. Select the default one for all options.

4. You can see FC4 again, but RH9 will load an error. The solution is to enter FC4 and modify/root/Linux grub/menu. lst:

Root (hd0, 8)
Kernel/boot/vmlinuz-2.6.11-1.1369_FC4 ro root = LABEL =/1 rhgb quiet
Initrd/boot/initrd-2.6.11-1.1369_FC4.img

Root (hd0, 6)
Kernel/boot/vmlinuz-2.4.20-8 ro root =/dev/hda7
Initrd/boot/initrd-2.4.20-8.img

There is a space after the root, (hd0, 8) is the disk where FC4 is located, (hd0, 6) is the disk where RH9 swap is located, and hda7 is the root disk where RH9 is located. After that, you can find both and enter.

5. Because the required kernel number is 2.4.20, you need to install the new kernel by downloading the rar package of the 2.4.20 kernel from the Internet for compilation. Not much to write here.

6. Because you also need to be able to access this kernel during Linux grub, You need to further modify the/root/Linux grub/menu. lst file in FC4:

Root (hd0, 8)
Kernel/boot/vmlinuz-2.6.11-1.1369_FC4 ro root = LABEL =/1 rhgb quiet
Initrd/boot/initrd-2.6.11-1.1369_FC4.img

Root (hd0, 6)
Kernel/boot/vmlinuz-2.4.20-8 ro root =/dev/hda7
Initrd/boot/initrd-2.4.20-8.img

Root (hd0, 6)
Kernel/boot/vmlinuz-2.4.20 ro root =/dev/hda7
Initrd/boot/initrd-2.4.20.img

Add the last few words. .

Ps. If the Linux grub directly enters the command line on the machine, but there is no interface, you can make the following changes: Linux grub command line and enter the following content: root (hd0 ,?) After you press enter, enter setup (hd0) and press enter to exit? It is the serial number of the partition where your Linux grub root system is located. It starts from 0 and you can calculate it.

  1. Linux grub STARTUP configuration file
  2. Linux bridge basic commands can be tried first
  3. Detailed analysis of Sleep Status in Linux
  4. Edit the configuration file for Linux NTP installation and configuration service
  5. Linux Kernel super privilege user root

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.