Installing Linux system on physical machine

1. First make the image into a USB disk image

You can choose UltraISO or rufus software for image production. I won’t go into details here.

2. Enter the bios page of the physical machine, select the USB disk to boot, save and exit.

Insert image description here

3. Modify the U disk boot plan

选择以vfat文件系统的硬盘就是U盘
Option One:
  1. Restart the physical machine, enter the installation system interface, enter and select the command "blkid" to view the device paths of all devices, and confirm the device address of the USB disk.
    Insert image description here
  2. Restart the physical machine, enter the grub2 menu, press "e" on the kernel selection interface to enter the editing [single-user] mode, jump to the startup item configuration interface, modify the system's boot mode to

linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x\86_64 rd.live.check quiet
linuxefi /images/pxeboot/initrd.img

Insert image description here

Then modify the red part hd:LABEL=CentOS\x207\x20x\86_64 to hd: /dev/sd4 (the location of your USB disk) quiet
press "ctrl +x" and wait for the server to restart.

Option II:
  1. Restart the physical machine, enter the grub2 menu, press "e" on the kernel selection interface to
    enter the editing [single-user] mode, jump to the startup item configuration interface, modify the system's boot mode to the following
    Insert image description here

  2. Restart the physical machine, enter the system installation interface, and confirm the device path of the USB flash drive.
    Insert image description here

  3. Restart the physical machine. Restart the physical machine. Enter the grub2 menu. On the kernel selection interface, press "e" to enter the editing [single-user] mode. Jump to the startup item configuration interface and modify the system's boot mode to the following.
    Insert image description here

  4. Press "ctrl +x" and wait for the server to restart.

Guess you like

Origin blog.csdn.net/weixin_42602433/article/details/129556466