Recommended Scenarios and methods for installing Ubuntu Linux partitions

Source: Internet
Author: User

http://blog.csdn.net/linuxmake/article/details/9246745

Before installing Ubuntu Linux, you must first obtain the installation software, (there are many mirror platforms available for download on the network, you can burn your own discs after downloading the ISO files or install them by hard disk). When everything is ready, we need to know how to plan our hard drive.

The first thing you have to consider is

Planning of the host

1. is a single system (single system Linux) or multi-system (m$ windows and Linux coexistence)

If it's a single system, then you don't have to think about whether you want to share it with other systems, and if it's a multi-system, then each partition can be mounted on Linux after you've finished installing Linux, and of course it includes NTFS.

Now that you can mount the individual disk partitions of m$, you can consider putting some of the usual stuff in a specific partition (such as common files, music, movies), which allows Linux to share these things with m$.

2. The function of the host is: DESKTP or Server

This is related to how many zones you need to install Linux, the biggest difference between Linux and m$ is that each partition is just a mount point (such as/home,/usr,/boot,/var), and m$ 's partition is a drive letter (such as c:d: E: ....), as to how many partitions to do, Coffee follow-up will be explained in detail.

The next coffee is about the storage device you're using in Linux.

Mount Location and use code

Hardware name Hardware mount location in Linux
IDE Hard disk /DEV/HD[A-Z]
SCSI HDD /DEV/SD[A-Z]
SATA HDD /DEV/SD[A-Z]
USB Mobile disk card reader Machine /DEV/SD[A-Z]
Drive /dev/cdrom
Floppy drive /DEV/FD[0-1]
Printer /DEV/LP[0-2]
IDE hard Disk Master Slave
IDE 1 (Primary) /dev/hda /dev/hdb
IDE 2 (secondary) /dev/hdc /dev/hdd

Hey!! How does the above chart not have SATA SCSI??

Oh ~ ~ Because these equipment are sequentially discharged sd[a-z], basically will be in accordance with the SCSI SATA USB sequence in the order, if the removal of a later code will be forward to be up.

Next coffee to simply introduce you to the hard disk segmentation: (in order not to occupy space only brief introduction)

Hard Disk Segmentation

After the hard disk is divided into various partitions, the partition according to the functional difference can be divided into primary partition (Primary), extended partition (Extended) and logical partition (Logical) three kinds.

1. Hard drives can distinguish between 4 main partitions or 3 main partitions + 1 expansion partitions

2. The expansion of the partition can be divided into several (no limit, but the total capacity must not exceed the expansion of the partition size) logical partition area.

3. Use of the Code: IDE0 (First hard drive, device name/dev/hda) as an example to illustrate

Main partition using: hda[1-4] * Includes expansion of the partition area *

Logical partition use: hda[5-~] * Please note that the logical partition must be calculated starting from 5 *

The type of coffee is slow-to-^, but finally the introduction of system considerations and hard disk partitioning before installation is completed.

When you know the coffee above said (do not understand the re-see Hey!!) ), we can plan your drive according to your needs:

Start with the coffee of the baby computer to do the instructions, coffee is the use of multi-system installation, as to how the multi-system coexistence in your computer, please you can go to the Group blog or forum to find the answer, coffee here will not do more introduction. The following is the plan of the coffee on the hard drive:

The coffee computer has two hard disks, HDA 160G and SDA 250G, respectively, divided as follows:

Note: Coffee was originally installed with the IDE m$, and bought SATA to install Linux Ubuntu, and in the BIOS set the IDE as the 1th hard disk, only because m$ only on the 1th hard disk boot, or Linux good, where are available.

Device Code File system Mount point Use
Hda1 Ntfs /media/hda1 My m$1 system disk
Hda2 Ntfs /media/hda2 My m$2 system disk
Hda3 Ntfs /media/hda3 My m$3 system disk
Hda5 FAT32 /media/hda5 M$[1-3] Common Software Installation area
Hda6 Ntfs /media/hda6 Store my files Audio-visual multimedia
Hda7 Ntfs /media/hda7 Source and Backup
Sda1 EXT3 / My favorite Ubuntu 22GB
Sda2 EXT3 /home Home Folder 60GB
Sda3 Swap System memory Replacement File
Sda5 Ntfs /media/sda5 Store my files Audio-visual multimedia
Sda6 Ntfs /media/sda6 Store my files Audio-visual multimedia
Sda7 Ntfs /media/sda7 Storage of virtual machine image files, can be shared

Note: The purpose of the expansion of the partition is only to split the logical partition, not the physical storage area, usually do not see the code

Coffee is used in both m$ and Linux VirtualBox shared the image files stored in the SDA7.

Look at the coffee division, perhaps you have some things you do not know, coffee here continue to add:

The first part of the device code is mentioned, and then we want to introduce

File system

Under Windows, we often see a file system with FAT, FAT32, NTFS

The file systems available with Linux are:

EXT2: Early format, no log support

EXT3: Is the ext2 improved version, added the log function, is the most basic and most commonly used format.

ReiserFS: also has the log function, its characteristic is the processing small file speed quickly.

XFS: Stable and efficient, with superior performance in mixed-size file systems.

JFS: Feature is the least CPU-intensive, if your computer is old then this is the best choice.

Started splitting up.

There must be at least two mount points (disk partitions) in the Linux system, each of which is/and swap, and whether the rest of the other mount points will be separated separately is dependent on your planning needs. Refer to the following recommendations:

The size of the swap is approximately equal to the size of your memory, or slightly larger

Initial contact for novice or hard disk space Limited desktop installation recommendations:

Mount point Device Description
/ /dev/hda1 Free space –swap all space after size
Swap /dev/hda2 Approx. memory size recommended at least 512Mb

Installation recommendations for advanced user desktop:

mount point Appliance description
/ /dev/hda1 15g
/home /dev/hda2 maximum remaining space
/boot /dev/hda3 128mb around
swap /dev/hda5 approx memory size (recommended at least 512MB)

Installation recommendations for advanced user server:

Mount point Device Description
/ /dev/hda1 15G
/home /dev/hda2 The largest remaining space
/boot /dev/hda3 Around 128MB
Swap /dev/hda5 Approx. memory size (at least 512MB recommended)
/var /dev/hda6 Depending on the server function determines the size

Recommended Scenarios and methods for installing Ubuntu Linux partitions

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.