Some time ago, I installed a system on the cluster and learned how to use a USB flash drive!
Many methods for installing Linux on hard disks on the Internet are provided by windows. You can add a boot menu to modify the boot. ini file of windows to install dual systems. However, it is not applicable when the system crashes or the computer does not have windows. After a long time, I finally got a solution.
Preparation: grub4dos, grubinst, ISO image file, USB flash disk, size depends on the system ISO file.
1. format the USB flash drive into FAT32 format;
2. Decompress grub4dos and copy gldr and menu. lst to the root directory of the USB flash drive. Modify menu. lst and add the following content:
Title install linux
Root (hd0, 0)
Kernel/vmlinuz
Initrd/initrd. img
3. Extract the isolinux folder from the ISO image file and copy initrd. IMG and vmlinuz to the root directory of the USB flash drive.
[Note] If the isolinux folder is included, change menu. lst to kernel/isolinux/vmlinuz, initrd/isolinux/initrd. IMG accordingly.
4. Use grubin and ST to write MBR to the USB flash drive.
5. Start the bios and set the USB flash drive as the first boot disk. After the instance is restarted, a system menu item is displayed. Select "install Linux" to start the installation. When you are prompted to browse the image file, select hard driver and partition it into your USB flash drive.
[Note] When the ISO image file is larger than 4 GB, The FAT32 partition cannot be placed, and can be placed in the ext3 format partition.