background
When deleting all the files in a temporary folder, I originally wanted it, but when rm -rf *
my head was dizzy, I rm -rf /*
typed it up! I started to delete files in an instant,
but it was too late to quickly Ctrl+C. Most of the files in the home directory were deleted, and SSH could not be connected. Because the data was not too much, I planned to go to the computer room to reinstall the server.
Download IOS and burn to U disk
- Download CentOS8 mirror: http://mirrors.aliyun.com/centos/8-stream/isos/x86_64/
- Download UltraISO burning tool: UtralISO
- Burn (I didn't save this picture, I found it elsewhere)
Start installing CentOS8 on Dell R750
- It’s worth noting that, just before starting the installation, it is best to use the original system to clear a part of the disk and reserve space for the system to install
- Reference blog 1
(1) Confirm whether the CD-ROM drive can be recognized in F2/SYSTEM BIOS/BOOT SETTING/BOOT SEQUENCE, and the U disk boot item is activated
- Press F2 continuously when booting to enter the directory F2/SYSTEM BIOS/BOOT SETTING/BOOT SEQUENCE
(2) Press F11 to select boot from CD-ROM or U disk
操作:F2/BootSettting/One short BIOS Boot Menu
Click to run for a while and enter the installation interface
(3) Confirm that the installation ISO file comes from your own USB flash drive, otherwise there will be a problem of not being able to find the file TimeOut!
- Move to the second item test &Install
- Press the Tap key (some e-keys) to edit the command line:
vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet
//将上面的命令改成:
vmlinuz initrd=initrd.img linux dd quiet
-
Check your hard disk information in the list displayed by ctrl+x, you can clearly know which one is your U disk (generally the several formats displayed as NTFS are the drive letter of your computer, and the other one is you U disk,
记下你的U盘的盘符名字 我的就是sdc4
)
-
Use ctrl+alt+del to restart the computer, repeat the above steps this time
vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet
//改成
vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sdc4(刚才记住的U盘盘符) quiet
- ctrl+x wait for the installer to start, and install CentOS
(4) Configuration of the installation interface
- Refer to Blog 1
After the above operations, we have entered the visual operation interface, and only need a simple configuration to complete the installation!
Finished with flowers!