Linux Installation Method

Source: Internet
Author: User

I. LINUX partition format
In Windows, the partition format is generally FAT32 or NTFS, while in Linux, we generally use ext2 or ext3 format, which is generally considered to be better in ext3 format. now, some friends who have just started to learn about Linux usually adopt the coexistence of Windows and Linux. therefore, we often install linux on the last logical partition of our hard disk. I personally think it is better to use partiton magic partition software in Windows to partition and install partitions for Linux. the format of the file used is ext2 or ext3, and then it is allocated a swap partition, swap, which is usually one to two times the size of your memory. with such preparation, we can start our installation journey.
2. install linux
1) In general, if you have a CD, the installation process will be relatively simple. set the boot from the CD. After a series of system checks, you can enter the installation prompt process. in this process, the main task we need to do is partitioning. Linux generally provides two partitioning Methods: automatic partitioning and manual partitioning. we recommend that you use manual partitioning. after entering the manual partitioning option, we will see the partition of the entire hard disk. in general, our hard disk is like this: Drive C is hda1, drive D is hda5, and so on. select the partition we divided in advance, edit, and select the mount point as "/". After editing the swap partition, we can select the software package we want to install, after selecting the software package we want to install according to our requirements, we can start our installation process. at this time, we only need to wait for a while to start our Linux learning journey.
2) Apart from CD installation, we can also choose to install from the hard disk. download the CD image file and place it in the root directory of a Windows partition. After opening the CD image with a virtual optical drive, there is a rawrite program under dosutils and double-click it to open it, you will be prompted to enter the image name. You can enter the image name as follows:
I:/images/disk. IMG (I is the drive letter of your virtual optical drive)
In this case, you will be prompted to enter the name of the drive, enter a:, and press enter to create a floppy disk starter. in this way, we can set the boot from the soft drive, so that we can enter our installation process.
This method reminds you that you must place the CD image in the root directory of a partition. You can try several more partitions when searching for the Installation File (sometimes difficult to find)
The Linux version installed in this way generally has a red flag and a red hat.
3) In addition to this method, you can also use grub to start the installation process. this method is usually used to help with grub for DOS. we still put our installation file under the root directory of a partition. use virtual optical drive to open the installation file, copy the vmlinuzand initrd.gz files under isolinuxand put them in the same directory as the CD image. restart the computer to enter the grub command line. You can enter the following command:
Grub> root (hd0, 5)
Grub> kernel (hd0, 5)/vmlinuz root =/dev/Ram ramdisk_size = 20000 devfs = mount, Dall
Grub> initrd (hd0, 5)/initrd.gz
Grub> boot
In general, you can boot the installation file on the hard disk. in this way, we can enter our installation process. (In this example (hd0, 5) refers to an edisk, which can be changed according to your own situation)
The installation methods include Hua lei and FC3.
In this way, you can install your own Linux system.

Debian Linux system installation can refer to: http://blog.csdn.net/mylxiaoyi/archive/2005/06/17/397050.aspx

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.