Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

CentOS6.6 physical machine USB disk installation-encountered various pits in the middle

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Install CentOS6.6 with USB flash drive

After testing, the installation method of Centos7 is basically the same.

Some of the pictures can be searched from Baidu.

First of all, use UItraISO to make centos USB disk boot disk.

Step 1: select the installation option

The first one I chose: Install or upgrade an esisting system (stuck in the detecting hardware interface all the time)

Have no choice but to choose the second: Install system with basic video driver

Step 2: select the installation language

Step 3: select a storage device

Step 4: modify the hostname

Step 5: set the root password; when using a weak password, click UserAnyway

Step 6: partition the disk; (there are holes in this step)

I originally chose the first one: Use All Space (using all disk space). When I entered the system, I found that LVM was created automatically, but I didn't need LVM, and LVM gave only 50G to the root partition, and the rest was given to / home. This choice will enable LVM by default and can only be reinstalled.

The second choice: Create Custom Layout (custom partition layout), you can specify which partition to create and how much capacity to allocate.

Step 7: choose what type of partition to create

General choice: Standard Partition (standard partition)

Step 8: create a file system and its size, file system type, mount point

Click free, click create

Create a partition of ext4 to store startup files. 200m of this partition is enough. The directory where startup files are mounted is generally / boot.

To create a swap partition, generally, when the physical memory is less than 4G, the size of the swap swap is twice the size of the physical memory. When it is larger than 4G, the swap partition is the same size as the physical memory, and the swap partition has no mount point. The 8G I gave on the physical machine

All remaining capacity is mounted to the root directory, and the file type is ext4

Fixed size: fixed siz

Fill all space up to (MB): all space sizes (generally not used)

Fill to maximum allowable size: all available space sizes (choose this)

After confirming the correctness, click Next:

Step 9: select the storage location of the boot partition; (there are holes in this step)

When installing with a flash drive, it will install the default boot partition in / dev/sdb, that is, in the flash drive, causing the system not to start normally, so you should see it clearly here.

Click Change device to change the location of the modified partition.

Select: Master Boot Record (MBR)-/ dev/sda

BIOS Drive Order:

First BIOS drive: be sure to select sda (that is, the hard drive), otherwise the system will not be able to start normally

Step 10: select the type of system to install (there are holes in this step)

Minimal: I generally like to minimize installation

Customize now: for the pit encountered here, when selecting Minimal, generally all the choices in Customize now are unchecked, but in my experiment, many of the choices in Minimal,Customize now are checked, resulting in the installation of a system with a desktop, so I can only go in and cancel it all.

Step 11: wait for the installation to complete and restart

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report