How to install linux on a hard disk

Source: Internet
Author: User
How to install linux on a hard disk-general Linux technology-Linux technology and application information. See the following for details. There are three methods to install linux on a hard disk:

1 Boot installation with linux boot disk
2. Use loadlin for installation in dos
3. Use grub for dos for installation.

First, download the linux iso file and put it on the disk.

1. boot the installation with a linux boot disk.
Practice: 1. Create a boot disk first. Generally, there is a bootdisk. imgfile In the first images of the linux installation disk, which is the image file of the boot disk.
You can use dosutils \ rawrite.exe to create a boot disk.
2. Use the boot disk to boot the system. If you are prompted to install the media, select the hard disk and specify the iso directory to install the media.

2. Use loadlin for installation in dos
Practice: 1. Extract the dosutils of the linux installation disk and find the linux Kernel File vmlinuz and the module File initrd. img (usually in the autoboot directory ).
2. Place the two files and loadlin.exe in a directory.
3. Enter the command in dos: loadlin vmlinuz initrd = initrid. img ramdisk_size = 9126 and press enter to boot.
4. Select hard disk installation and specify the directory where the iso is located to install it.


3. Use grub for dos for installation.
Practice: 1. Create a dos boot disk and format it in Windows 98 or Windows XP.
2. Download grub for dos and copy it to the floppy disk.
3. boot from a floppy disk to dos and enter grub --- start grub
4 Use root (hd0, 5) // specify the directory where vmlinuz and initrd. img are located.
5 kernel/vmlinuz
6 initrd. img
7 boot
8. After the installation is started, select the directory where the iso is located to install it.
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.