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 start and install Linux system with USB disk

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article introduces how to start and install the Linux system on U disk. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.

If you want to learn the Linux system well, you have to start from the installation system. Let's share with you about the USB disk startup and installation of the Linux system.

Scan the newly added disk; the number after host/host can be changed into 0max 1max 2.

[root@localhost ~] # echo'--> / sys/class/scsi_host/host2/scan [root@localhost ~] # lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsr0 11:0 1 3.7G 0 rom / var/www/html/centos/6sda 8:0 0300G 0 disk ├─ sda1 8:1 02G 0 part / boot ├─ sda2 8:2 050.1G 0 part / ├─ sda3 8:3 050.1G 0 part / data ├─ sda4 8:4 0 1K 0 part ├─ sda5 8:5 0 50.1G 0 part / home └─ sda6 8:6 0 4G 0 part / swapsdb 8:16 0 20G 0 disk

Write the boot.iso to the USB disk

[root@localhost ~] # dd if=boot.iso of=/dev/sdb91384+0 records in91384+0 records out46788608 bytes (47 MB) copied, 0.863593 s 54.2 MB/s [root@localhost ~] # mkdir Dev # casually create a USB disk mount point [root@localhost ~] # mount / dev/sdb / root/Dev/ [root@localhost ~] # df-h # check the mount status Filesystem Size Used Avail Use% Mounted on/dev/sda2 50G 4.0G 43G 9% / tmpfs 939m 76K 939M1% / dev/shm/dev/sda1 2.0G 42m 1.8G 3% / boot/dev/sda3 50G 97M 47G 1% / data/dev/sda5 50G 52M 47G 1% / home/dev/sda6 3.9G 8.0M 3.7G 1% / swap/dev/sr0 3.7G 3.7G 0100% / var/www/html/centos/6/dev/sdb 45m 45m 0100% / root/Dev [root@localhost ~] # ls / root/Dev/isolinux ksdir TRANS.TBL

Enter the USB flash drive startup interface

Adjust the boot order of the boot hard drive again after installation.

The system is installed.

If you encounter the situation that you can't get in when you start using the hard disk in the virtual machine to simulate the USB disk when writing to boot.iso startup.

You need to make the next conversion of the format of the hard drive and then re-burn the boot.iso in the USB drive

Check the first 512 boot bytes in the USB flash drive:

Hexdump-C / dev/sdb-n 512

Iso

Isohybrid boot.iso conversion format

What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.

How to start and install the Linux system on U disk is shared here. I hope the above content can be of some help to you and 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

Development

Wechat

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

12
Report