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

How to reinstall linux system

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article will explain in detail how to reinstall the linux system, the content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

1. First download the Linux image file, the file ending with .iso

2. Then insert the flash drive and start making the boot disk

A) determine which device is based on the size of the USB disk

Sudo fdisk-l

(usually on sdb)

B) format U disk. In order to format, you need umount U disk first:

/ dev/sdb is my USB drive device. Sudo umount / dev/sdb*

(remove all partitions under the USB flash drive sdb)

Format the USB disk:

Sudo mkfs.vfat / dev/sdb-I

(format all partitions under sdb)

3. Use the dd command to write to the image file

Use the dd command in the following format:

Sudo dd if=xxx.iso of= USB disk path

(write the mirror image in)

Complete example:

Sudo dd if=~/images/ubuntu.iso of=/dev/sdb

Write the ubuntu.iso image file located in the ~ / images directory to the sdb disk and enter and execute it after typing the above DD command, and the system starts to create the boot disk. During this period, the terminal command window will not have any feedback, but you can see that the U disk is reading and writing through the USB disk running indicator, which may take 5 or 6 minutes to complete. The production is completed when you see a return message in the terminal command window.

4. Finally, enter the BIOS to set the U disk as the first boot disk, and restart to enter the step of system installation.

On how to reinstall the linux system to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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

Servers

Wechat

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

12
Report