Linux installation using Grub

Source: Internet
Author: User
I installed a second-hand computer and prepared to install Linux on it for a run. Because the optical drive is bad, I had to install it through the hard disk. I thought it was very simple-it was actually very simple, however, it has taken a lot of detours. Now I will write down the tangled installation process and share it with you. 1. In Windows, WinGrub has previously installed dual systems of Fedora12 and Windows, so run the entire Fedora12. 1. Download a ora12 image file and find the isolinux folder in the image file.

I installed a second-hand computer and prepared to install Linux on it for a run. Because the optical drive is bad, I had to install it through the hard disk. I thought it was very simple-it was actually very simple, however, it has taken a lot of detours. Now I will write down the tangled installation process and share it with you.

1. WinGrub in Windows

Since the dual-systems of Fedora 12 and Windows have been installed before, you have to run the entire Fedora 12.

1. download a ora12 image file, find the isolinux folder in the image file, and set vmlinuz and initrd. copy the two img files and place them in one folder for backup (the folder name is linux), find the images folder (the same as isolinux), and copy the folder for backup.

2. now we will place vmlinuz and initrd. the img folder is linux, which is placed in the root directory of a drive letter together with the images folder and the installation image file of Fedora12 (do not put it in other folders, I put it in E: disk ).

3. If it is a Windows system, we should first start with a WinGrub for guidance,

Free onHttp://linux.linuxidc.com/

Both the user name and password areWww.linuxidc.com

The specific download directory is in/Pub/2011/10/09/detailed instructions on installing Linux using Grub/WinGrub/

After WinGrub is installed, you can start and boot the system. Open WinGrub -- Tools -- Install grub. The select grub installation location dialog box is displayed. You can select by partition (the drop-down list on the Right of Boot From Grub Partion ), you can also select according to the drive letter (select C on the right side of Systerm Device and then click boot from boot. INI), we aim to install grub to drive C (hd0, 0.

After grub is installed, you can see a grub folder, which contains a menu. lst file. Open it in notepad and you will find several big words:

  1. Timeout 10
  2. Title Windows at (hd0, 0)
  3. Root (hd0, 0)
  4. Chainloader + 1

The value after timeout is the waiting time of the boot interface. The title is followed by the option name displayed on the boot interface, and the root is the start position. We follow the above statement and write it below:

  1. Title fedora 12 install
  2. Root (hd0, 6)
  3. Kernel (hd0, 6)/linux/vmlinuz
  4. Initrd (hd0, 6)/linux/initrd. img

Root is my e disk (in the end, you can view the hd disk under WinGrub -- Tools -- partioinlist). In the kernel statement/linux, vmlinuz and initrd are placed. the folder of the imgfile.

This completes grub settings in windows. restart the computer and select fedora 12 install on the boot interface, finally, it is clear that the E disk should have a Fedora12 installation image, an inmages folder, and a linux folder. the linux folder contains vmlinuz and initrd. img. The final syntax of the menu. lst file in the grub folder is:

  1. Timeout 10
  2. Title Windows at (hd0, 0)
  3. Root (hd0, 0)
  4. Chainloader + 1
  5. Title fedora 12 install
  6. Root (hd0, 6)
  7. Kernel (hd0, 6)/linux/vmlinuz
  8. Initrd (hd0, 6)/linux/initrd. img

If the above method was used, there would be no problem, but it would be a headache for this 180-piece computer, with only 256 of memory, fedora12 does not support graphical interfaces in such a small memory, so brother finally only installed the ora of a text interface !!!!, Sadly, if you have more than 1 GB in your memory, the above method can be successful, so there is no white view.

The following section describes how to use grub to install linux (Fedora 5) on the miserable linux text interface (black screen, white Jingjing text ).

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.