1. Technical Field
The present disclosure relates to a method for installing an operating system on an electronic device.
2. Description of Related Art
Electronic devices such as computers, mobile phones and tablet computers must have operating systems. A machine is needed for copying an operating system and burning the operating system onto the main board of the electronic device in the factory. However, installing the operating system on a large number of electronic devices with the machine is time consuming. Furthermore, when the operating system to be installed on the electronic device is updated, the machine must be updated accordingly, which increases the cost of the electronic device.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Flash memories such as Not And (NAND) flash memories are used in electronic devices since the flash memories have high capacity and high access speed. It is a feasible solution to installing an operating system on an electronic device via a Universal Serial Bus (USB) driver and a USB flash disk such as USB flash stick instead of a Digital Video Disk (DVD) disk. The USB driver is present in the electronic device. The USB flash stick is an external component of the electronic device. The NAND flash memory can also be driven by the USB driver. The method provided by the present disclosure relates to installing an operating system on an electronic device via the USB driver and the NAND flash memory installed in the electronic device.
The operating system to be installed on the electronic device 100 includes a boot file and a kernel file. The kernel file of the operating system is pre-stored in the first USB flash stick 200. In detail, the kernel file of the operating system is pre-stored in the root directory of the first USB flash stick 200. The operating system can be installed on the electronic device 100 via the first USB flash stick 200 and the NAND flash memory 10 installed in the electronic device 100 when the electronic device 100 connects to the first USB flash stick 200.
In step S201, utilizing a burner tool 500 to burn the operating system to be installed on the electronic device 100 onto the NAND flash memory 301 of the auxiliary device 300.
In step S202, utilizing a capturing tool 600 to capture the boot file of the operating system from the first block of the NAND flash memory 301 of the auxiliary device 300 and to store the captured boot file of the operating system in the second USB flash stick 400. In the embodiment, the capturing tool is a burner tool of the NAND flash memory 301.
In step S203, connecting the electronic device 100 to the second USB flash stick 400.
In step S204, utilizing the burner tool 500 to burn the captured boot file of the operating system onto the NAND flash memory 10 of the electronic device 100 which requires the operating system.
In step S205, connecting the electronic device 100 to the first USB flash stick 200 storing the kernel of the operating system.
In step S206, starting up the electronic device 100, the boot file of the operating system burned on NAND flash memory 10 of the electronic device 100 automatically runs to access the kernel file of the operating system from the first USB flash stick 200, until all system applications included in the kernel file of the operating system have been executed, the operating system is then installed on the electronic device 100.
Although the present disclosure has been described in considerable detail with reference to certain preferred embodiments thereof, the disclosure is not for limiting the scope of the disclosure. Persons having ordinary skill in the art may make various modifications and changes without departing from the scope and spirit of the disclosure. Therefore, the scope of the appended claims should not be limited to the description of the preferred embodiments described above.
Number | Date | Country | Kind |
---|---|---|---|
2013101040711 | Mar 2013 | CN | national |