The invention provides a method for quick
firmware update and
booting to enter an
operating system, and relates to the field of large-scale
computer testing. The method comprises the following steps of: 1) determining that a first startup item of a
machine is boot from build-in shell; 2) putting a
firmware file and a tool into a U disk or a hard disk; 3) entering a
file system storing the
firmware file and the tool after entering UEFI shell by the
machine, and automatically running a firmware update command; 4) after the firmware update is completed, if firmware does not need to be restarted and activated, automatically calling an
operating system boot file by a program, and starting the
operating system to perform diagnostic testing; and 5) if the firmware needs to be restarted and activated after being updated, restarting the
machine to automatically enter uefi shell, directly calling the operating
system boot file by the program, and
booting the operating
system to be started for performing diagnostic testing. According to the method, the operating
system does not need to be loaded, so that the update time is shortened; and the requirements of the firmware update tool on the operating system do not need to be considered, so that the update process is simplified.