CN1952890A - Computer startup method, storage medium and computer device using the computer startup method - Google Patents

Computer startup method, storage medium and computer device using the computer startup method Download PDF

Info

Publication number
CN1952890A
CN1952890A CN 200510116229 CN200510116229A CN1952890A CN 1952890 A CN1952890 A CN 1952890A CN 200510116229 CN200510116229 CN 200510116229 CN 200510116229 A CN200510116229 A CN 200510116229A CN 1952890 A CN1952890 A CN 1952890A
Authority
CN
China
Prior art keywords
operating system
computer
program
partition
computer device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200510116229
Other languages
Chinese (zh)
Other versions
CN1952890B (en
Inventor
陈秋富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Getac Technology Corp
Original Assignee
Getac Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Getac Technology Corp filed Critical Getac Technology Corp
Priority to CN200510116229A priority Critical patent/CN1952890B/en
Publication of CN1952890A publication Critical patent/CN1952890A/en
Application granted granted Critical
Publication of CN1952890B publication Critical patent/CN1952890B/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

A computer booting method is executed in a computer device. The computer device comprises a main memory and a storage device. The first operating system and the second operating system are different and are stored in a partition of the storage device, and the formatting specification of the first operating system is in accordance with the first file system of the first operating system. The second operating system supports a second file system different from the first file system and includes a kernel. First, when the computer device is booted by the second operating system, the kernel program is loaded from the partition to the main memory. And establishing a part of the main memory as a virtual disk, wherein the formatting specification of the virtual disk conforms to the second file system. And loading the second operating system from the partition into the virtual disk.

Description

电脑开机方法、使用该电脑开机方法的储存媒体及电脑装置Computer startup method, storage medium and computer device using the computer startup method

技术领域technical field

本发明有关电脑技术,且特别有关电脑开机方法、使用所述电脑开机方法的储存媒体及电脑装置。The present invention relates to computer technology, and in particular to a method for starting a computer, a storage medium using the method for starting a computer, and a computer device.

背景技术Background technique

微软视窗(Microsoft Windows)操作系统可以使个人电脑提供一般信息家电(information appliance)的功能,例如电视或数位视讯影盘(Digital VideoDisc/Disk,简称DVD)机,但是在启动这些功能以前需要花费数分钟以启动个人电脑,且在关闭这些功能时需要花费数分钟以关闭个人电脑。因此,个人电脑开关机的时间会造成使用上的不便。The Microsoft Windows (Microsoft Windows) operating system enables a personal computer to provide the functions of a general information appliance, such as a TV or a Digital Video Disc/Disk (DVD) player, but it takes several hours to activate these functions. minutes to start the PC, and several minutes to shut down the PC when these functions are turned off. Therefore, the time of turning on and off the personal computer will cause inconvenience in use.

为了要加速个人电脑开机时间,传统作法上,会在其原操作系统之外再安装第二个操作系统于其硬盘一分割区内,以提供部分信息家电功能,并缩短开机时间。对于不同的文件系统存在于不同的分割区中,因此,支援不同文件系统的操作系统通常也须要被安装在不同的分割区。但是一般而言一个硬盘只能有四个分割区,安装此第二个操作系统需要占用硬盘的一个分割区。In order to speed up the boot time of a personal computer, traditionally, a second operating system will be installed in a partition of the hard disk in addition to the original operating system to provide some functions of information appliances and shorten the boot time. Different file systems exist in different partitions. Therefore, operating systems supporting different file systems usually need to be installed in different partitions. But generally speaking, a hard disk can only have four partitions, and installing this second operating system needs to occupy one partition of the hard disk.

另外,第二个操作系统的安装不同于一般应用程序的安装。如果第二个操作系统的文件系统和原操作系统的不同,还需要使用第二个操作系统的开机盘片来开机,并进行安装,因此,较不方便。In addition, the installation of the second operating system is different from the installation of general application programs. If the file system of the second operating system is different from that of the original operating system, the boot disk of the second operating system needs to be used to boot and install, so it is inconvenient.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种电脑开机方法,用以让一电脑装置开机时,从符合一操作系统的文件系统的一储存装置分割区中,载入具有不同文件系统的第二个操作系统,以进行开机操作。In view of this, the object of the present invention is to provide a method for starting a computer, which is used to load a second file system with a different file system from a partition of a storage device conforming to a file system of an operating system when a computer device is started. operating system for boot operation.

基于上述目的,本发明一方面提供一种电脑开机方法,执行于一电脑装置中。上述电脑装置包含一主存储器及一储存装置。上述储存装置的一分割区中储存相异的一第一操作系统及一第二操作系统,并且格式化规格符合上述第一操作系统的一第一文件系统。上述第二操作系统支援与上述第一文件系统不同的一第二文件系统,且包含一核心程序。首先,当上述电脑装置利用上述第二操作系统开机时,将上述核心程序从上述分割区载入至上述主存储器。将上述主存储器的一部分建立为一虚拟磁盘,上述虚拟磁盘的格式化规格符合上述第二文件系统。将上述第二操作系统从上述分割区载入到上述虚拟磁盘中。Based on the above purpose, the present invention provides a method for starting a computer, which is executed in a computer device. The above-mentioned computer device includes a main memory and a storage device. A first operating system and a second operating system different from each other are stored in a partition of the storage device, and the formatting specification conforms to a first file system of the first operating system. The second operating system supports a second file system different from the first file system and includes a kernel program. First, when the computer device is powered on by using the second operating system, the kernel program is loaded into the main memory from the partition. A part of the above-mentioned main memory is established as a virtual disk, and the formatting specification of the above-mentioned virtual disk conforms to the above-mentioned second file system. Loading the above-mentioned second operating system from the above-mentioned partition into the above-mentioned virtual disk.

另外,本发明另一方面提供一种电脑可读取储存媒体,用以储存一电脑程序,其中当所述电脑程序载入至一电脑装置中,则可执行一电脑开机方法。所述电脑装置包含一主存储器及一储存装置。所述储存装置的一分割区中储存一第一操作系统,并且格式化规格符合所述第一操作系统的一第一文件系统。所述电脑开机方法包括下列步骤:当所述电脑装置以所述第一操作系统开机之后,利用所述第一操作系统启动一第二操作系统的一安装程序。所述第二操作系统支援与所述第一文件系统不同的一第二文件系统,且包含一核心程序。利用所述安装程序,根据所述第一文件系统将所述第二操作系统储存于所述分割区。利用所述安装程序,储存一载入程序于所述储存装置,用以在所述电脑装置开机时载入所述核心程序至所述主存储器。其中当所述核心程序载入至所述主存储器时,所述核心程序将所述主存储器的一部分建立为一虚拟磁盘,所述虚拟磁盘的格式化规格符合所述第二文件系统,以及所述核心程序将所述第二操作系统从所述分割区载入到所述虚拟磁盘中。In addition, another aspect of the present invention provides a computer-readable storage medium for storing a computer program, wherein when the computer program is loaded into a computer device, a computer booting method can be executed. The computer device includes a main memory and a storage device. A first operating system is stored in a partition of the storage device, and the formatting specification conforms to a first file system of the first operating system. The computer booting method includes the following steps: after the computer device is booted with the first operating system, using the first operating system to start an installation program of a second operating system. The second operating system supports a second file system different from the first file system and includes a kernel program. The second operating system is stored in the partition according to the first file system by using the installation program. Using the installation program, a loading program is stored in the storage device for loading the kernel program into the main memory when the computer device is turned on. Wherein when the core program is loaded into the main memory, the core program creates a part of the main memory as a virtual disk, the format specification of the virtual disk conforms to the second file system, and the The kernel program loads the second operating system from the partition into the virtual disk.

另外,本发明又一方面提供一种电脑装置,包含一主存储器、一储存装置及一处理器,其中所述处理器耦接于所述主存储器及所述储存装置。所述储存装置,包含一分割区,用以储存相异的一第一操作系统及包一第二操作系统,并且所述分割区格式化规格符合所述第一操作系统的一第一文件系统。所述第二操作系统支援与所述第一文件系统不同的一第二文件系统,且包含一核心程序。当所述电脑装置利用所述第二操作系统开机时,所述处理器将所述核心程序从所述分割区载入至所述主存储器,根据所述核心程序将所述主存储器的一部分建立为一虚拟磁盘,所述虚拟磁盘的格式化规格符合所述第二文件系统,以及将所述第二操作系统从所述分割区载入到所述虚拟磁盘中。In addition, another aspect of the present invention provides a computer device including a main memory, a storage device and a processor, wherein the processor is coupled to the main memory and the storage device. The storage device includes a partition for storing a different first operating system and a second operating system, and the formatting specification of the partition conforms to a first file system of the first operating system . The second operating system supports a second file system different from the first file system and includes a kernel program. When the computer device is powered on using the second operating system, the processor loads the kernel program from the partition into the main memory, and creates a part of the main memory according to the kernel program. It is a virtual disk, the formatting specification of the virtual disk conforms to the second file system, and the second operating system is loaded into the virtual disk from the partition.

附图说明Description of drawings

图1是显示一电脑装置实施例的结构方块图;Fig. 1 is a structural block diagram showing an embodiment of a computer device;

图2是显示第二个操作系统安装操作实施例的流程图;FIG. 2 is a flowchart showing a second operating system installation embodiment;

图3是显示图1的电脑装置安装第二个操作系统后的结构方块图;Fig. 3 is a structural block diagram showing that the computer device of Fig. 1 is installed with a second operating system;

图4是显示电脑装置开机及载入第二操作系统的流程图;及FIG. 4 is a flow chart showing the computer device booting and loading the second operating system; and

图5是显示电脑开机方法的电脑可读取储存媒体实施例的示意图。FIG. 5 is a schematic diagram of an embodiment of a computer-readable storage medium showing a method for booting a computer.

具体实施方式Detailed ways

以下电脑开机方法实施例,执行于一电脑装置中,可以在不需要二个分割区的情况中,选择性地载入具有不同文件系统的二个操作系统,以进行开机操作。The following embodiment of the computer booting method is executed in a computer device, and can selectively load two operating systems with different file systems for booting without requiring two partitions.

如图1所示,处理器1耦接于主存储器2及储存装置4及5。第一操作系统70被安装于储存装置5的分割区51。第一操作系统70支援第一文件系统。分割区51以第一文件系统格式化。储存装置5可以是一硬式磁盘驱动器或其它储存媒体。当储电脑装置10开机时可以自动载入并执行第一操作系统70。As shown in FIG. 1 , the processor 1 is coupled to a main memory 2 and storage devices 4 and 5 . The first operating system 70 is installed in the partition 51 of the storage device 5 . The first operating system 70 supports a first file system. Partition 51 is formatted with the first file system. The storage device 5 can be a hard disk drive or other storage media. When the computer storage device 10 is turned on, it can automatically load and execute the first operating system 70 .

储存装置4包含第二操作系统71、载入程序(Bootloader)72及安装程序(Installer)73,用以安装第二操作系统71至分割区51。上述第二操作系统包含核心程序(Kernel)711及函式库712,并支援与上述第一文件系统不同的一第二文件系统。核心程序711及函式库712可以预先分别被压缩成核心程序压缩文件及虚拟磁盘文件(RamDisk file)。需要注意的是,核心程序711及函式库712也可以不需经过压缩。储存装置4可以是一光盘、磁盘片、或其它储存媒体。安装程序73可以在第一操作系统70的环境中执行。储存装置4的格式化规格可以符合第一文件系统,并且可以相同格式储存第二操作系统71、载入程序72及安装程序73。The storage device 4 includes a second operating system 71 , a bootloader 72 and an installer 73 for installing the second operating system 71 to the partition 51 . The above-mentioned second operating system includes a kernel program (Kernel) 711 and a library 712, and supports a second file system different from the above-mentioned first file system. The core program 711 and the function library 712 can be compressed into a core program compressed file and a virtual disk file (RamDisk file) respectively in advance. It should be noted that the core program 711 and the function library 712 do not need to be compressed. The storage device 4 can be an optical disc, a disk, or other storage media. The installer 73 can be executed in the environment of the first operating system 70 . The format specification of the storage device 4 can conform to the first file system, and can store the second operating system 71 , the loading program 72 and the installation program 73 in the same format.

举例来说,上述第一文件系统是微软公司的视窗操作系统NT的文件系统(NT File System,简称NTFS),而第二操作系统71是Linux操作系统。Linux操作系统具有虚拟文件系统(virtual file system,简称vfs),可以支援多种文件系统,例如第二延伸文件系统(the Second Extended file-system,简称ext2)、NTFS、网络文件系统(the Network File-system,简称nfs)、MS-DOS文件配置表文件系统(The MS-DOS File Allocation Table filesystem,简称FAT),及其它文件系统的读取操作。上述第二文件系统可以是上述虚拟文件系统。For example, the above-mentioned first file system is the file system (NT File System, NTFS for short) of Windows operating system NT of Microsoft Corporation, and the second operating system 71 is the Linux operating system. The Linux operating system has a virtual file system (virtual file system, referred to as vfs), which can support a variety of file systems, such as the second extended file system (the Second Extended file-system, referred to as ext2), NTFS, Network File System (the Network File -system, referred to as nfs), MS-DOS file allocation table file system (The MS-DOS File Allocation Table filesystem, referred to as FAT), and other file system read operations. The above-mentioned second file system may be the above-mentioned virtual file system.

图2显示第二个操作系统安装操作实施例的流程图。当电脑装置10以第一操作系统70开机之后,处理器1利用第一操作系统70启动安装程序73(步骤S2)。Figure 2 shows a flowchart of a second embodiment of an operating system installation operation. After the computer device 10 is powered on with the first operating system 70, the processor 1 starts the installation program 73 using the first operating system 70 (step S2).

利用安装程序73,处理器1利用上述第一文件系统将第二操作系统71储存于分割区51(步骤S4),如图3所示。举例来说,处理器1储存第二操作系统71,包含核心程序711及函式库712的压缩文件,于分割区51的一预定目录中。Using the installation program 73, the processor 1 uses the first file system to store the second operating system 71 in the partition 51 (step S4), as shown in FIG. 3 . For example, the processor 1 stores the compressed file of the second operating system 71 including the kernel program 711 and the library 712 in a predetermined directory of the partition 51 .

利用上述安装程序73,处理器1储存一载入程序72于储存装置5(步骤S6),用以在电脑装置10开机时载入核心程序711至主存储器2,如图3所示。举例来说,储存装置5是硬式磁盘驱动器,载入程序72可以储存在储存装置5的第一磁区,例如在主启动磁区(Master Boot Record)中。如果储存装置5中已存在原本的载入程序,载入程序72可以取代原本的载入程序或者修改原本的载入程序,使核心程序711在电脑装置10开机时被载入至主存储器2。因此,载入程序72需要有读取上述第一文件系统的文件的能力。第二操作系统71的安装已完成(步骤S8)。此时,储存装置5的分割区51中储存相异的第一操作系统70及第二操作系统71,如图3所示。Using the above-mentioned installation program 73, the processor 1 stores a loading program 72 in the storage device 5 (step S6), which is used to load the core program 711 to the main memory 2 when the computer device 10 is turned on, as shown in FIG. 3 . For example, the storage device 5 is a hard disk drive, and the loading program 72 can be stored in the first magnetic area of the storage device 5, such as in the master boot magnetic area (Master Boot Record). If the original loading program already exists in the storage device 5, the loading program 72 can replace the original loading program or modify the original loading program, so that the core program 711 is loaded into the main memory 2 when the computer device 10 is turned on. Therefore, the loading program 72 needs to be capable of reading files in the above-mentioned first file system. The installation of the second operating system 71 is completed (step S8). At this time, different first operating systems 70 and second operating systems 71 are stored in the partition 51 of the storage device 5 , as shown in FIG. 3 .

图4是显示电脑装置10开机及载入第二操作系统71的流程图。FIG. 4 is a flowchart showing the computer device 10 booting and loading the second operating system 71 .

当电脑装置10开机并执行开机自我测试(Power On Self Test)之后(步骤S20),处理器1执行载入程序72。处理器1自动检测一寄存器的值以决定是否以第二操作系统开机71(步骤S22)。举例来说,上述寄存器反应一输入键(例如一键盘或一遥控器的热键(hot key)或功能键(function key))的状态,当电脑装置10开机时根据此输入键的状态以决定载入第一操作系统70或第二操作系统71以进行开机。当电脑装置10利用第一操作系统70开机时,载入第一操作系统70至主存储器2(步骤S23)。电脑装置10进入一般电脑操作模式(PC mode)(步骤S42)。After the computer device 10 is powered on and executes the Power On Self Test (Step S20), the processor 1 executes the loading program 72. The processor 1 automatically detects the value of a register to determine whether to boot 71 with the second operating system (step S22). For example, the above-mentioned register reflects the state of an input key (such as a hot key (hot key) or function key (function key) of a keyboard or a remote controller), and when the computer device 10 is powered on, it is determined according to the state of the input key. Load the first operating system 70 or the second operating system 71 for booting. When the computer device 10 is powered on with the first operating system 70, the first operating system 70 is loaded into the main memory 2 (step S23). The computer device 10 enters a general computer operation mode (PC mode) (step S42).

当电脑装置10利用第二操作系统71开机时,载入程序72根据上述预定目录以取得核心程序711(步骤S24)。如果核心程序711是以压缩文件形态存于分割区51,在载入至主存储器2之前处理器1需要先对核心程序压缩文件解压缩(步骤S26)。处理器1将解压缩后的核心程序711从分割区51载入至主存储器2,并开始执行核心程序711(步骤S28)。When the computer device 10 is powered on with the second operating system 71, the loading program 72 obtains the core program 711 according to the predetermined directory (step S24). If the core program 711 is stored in the partition 51 in the form of a compressed file, the processor 1 needs to decompress the compressed file of the core program before loading it into the main memory 2 (step S26). The processor 1 loads the decompressed kernel program 711 from the partition 51 into the main memory 2, and starts to execute the kernel program 711 (step S28).

根据核心程序711,处理器1将主存储器2的一部分建立为一虚拟磁盘(RAMdisk)21,其格式化规格符合上述第二文件系统(步骤S32)。举例来说,处理器1根据核心程序711建立一目录为挂载点(mount point),建立上述第二文件系统(以上述第二文件系统的规格格式化虚拟磁盘21),将第二文件系统挂载于上述目录。举例来说,上述第一文件系统是软件公司的视窗操作系统的文件系统(NT File System,简称NTFS),而核心程序711是可以支援多种文件系统的Linux操作系统的核程程序。核心程序711可以支援上述第一文件系统的文件读取操作,及上述建立虚拟磁盘21的操作,并将虚拟磁盘21建立为ext2文件系统。According to the kernel program 711, the processor 1 creates a part of the main memory 2 as a virtual disk (RAMdisk) 21, and its formatting specification conforms to the above-mentioned second file system (step S32). For example, the processor 1 establishes a directory as a mount point according to the core program 711, establishes the above-mentioned second file system (formats the virtual disk 21 with the specification of the above-mentioned second file system), and stores the second file system Mount it in the above directory. For example, the above-mentioned first file system is a file system (NT File System, NTFS) of a software company's Windows operating system, and the kernel program 711 is a kernel program of a Linux operating system that can support multiple file systems. The kernel program 711 can support the above-mentioned file reading operation of the first file system, and the above-mentioned operation of creating the virtual disk 21, and create the virtual disk 21 as an ext2 file system.

根据核心程序711,处理器1取得在上述预定目录的虚拟磁盘压缩文件(步骤S34),并将函式库712解压缩(步骤S36)。According to the core program 711, the processor 1 obtains the virtual disk compressed file in the predetermined directory (step S34), and decompresses the library 712 (step S36).

处理器1将第二操作系统71,包含解压缩的函式库712,从分割区51的上述第一文件系统中载入到虚拟磁盘21中(步骤S38)。由于第二操作系统71支援第二文件系统,第二操作系统71可以在虚拟磁盘21的操作环境中正常地读写数据、增删文件、执行应用程序及取用函式库712。此时已完成利用第二操作系统71开机的操作,电脑装置10执行第二操作系统71,例如进入影音家电操作模式(AV mode)(步骤S40)。The processor 1 loads the second operating system 71, including the decompressed library 712, from the above-mentioned first file system of the partition 51 into the virtual disk 21 (step S38). Since the second operating system 71 supports the second file system, the second operating system 71 can normally read and write data, add and delete files, execute application programs and access the library 712 in the operating environment of the virtual disk 21 . At this point, the booting operation using the second operating system 71 has been completed, and the computer device 10 executes the second operating system 71, for example, enters the operation mode (AV mode) of an audio-visual appliance (step S40).

上述电脑开机方法可以利用电脑程序实作。上述电脑程序存储于一种电脑可读取储存媒体,用以执行如上所述的步骤。The above-mentioned computer booting method can be implemented by using a computer program. The above-mentioned computer program is stored in a computer-readable storage medium for executing the above-mentioned steps.

如图5所示,储存媒体60用以储存一电脑程序620,用以实现电脑开机方法。其电脑程序包含四个逻辑,分别为安装逻辑621、载入逻辑622、操作系统核心逻辑623、与操作系统函式库逻辑624。As shown in FIG. 5 , the storage medium 60 is used to store a computer program 620 for implementing a computer boot method. The computer program includes four logics, which are installation logic 621 , loading logic 622 , operating system core logic 623 , and operating system library logic 624 .

安装逻辑621用以将载入逻辑622安装至一储存装置中,并储存操作系统核心逻辑623、及操作系统函式库逻辑624至上述储存装置一分割区中,其中此分割区已安装另一操作系统,并且以此另一操作系统的文件系统格式化。载入逻辑622用以载入操作系统核心逻辑623至一主存储器。操作系统核心逻辑623用以将上述主存储器的一部分建立为虚拟磁盘,并载入操作系统函式库逻辑624。上述虚拟磁盘的格式化不同于上述分割区。The installation logic 621 is used to install the loading logic 622 into a storage device, and store the operating system core logic 623 and the operating system library logic 624 in a partition of the storage device, wherein another partition has been installed operating system and formatted with the file system of another operating system. The loading logic 622 is used for loading the operating system kernel logic 623 into a main memory. The operating system core logic 623 is used to create a part of the main memory as a virtual disk and load the operating system library logic 624 . The formatting of the above-mentioned virtual disk is different from the above-mentioned partition.

利用主存储器2建立虚拟磁盘21的第二文件系统,让电脑装置可以从分割区15载入第二操作系统71开机,而不需占用另外的分割区。因此,上述的电脑开机方法可以让电脑装置开机时利用存在于其储存装置中同一分割区,却各支援不同文件系统的操作系统,以进行开机。Using the main memory 2 to establish the second file system of the virtual disk 21 allows the computer device to load the second operating system 71 from the partition 15 to boot without occupying another partition. Therefore, the above-mentioned computer booting method allows the computer device to use the same partition in its storage device when booting, but each supports different file systems for booting.

虽然本发明已以较佳实施例揭示如上,然而其并非用以限定本发明,任何熟悉本技术的人员,在不脱离本发明的精神和范围内,当可作各种的等效的变化或替换,因此本发明的保护范围当视后附的本申请权利要求范围所界定的为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person familiar with the art may make various equivalent changes or modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the appended claims of the application.

Claims (11)

1.一种电脑开机方法,执行于一电脑装置中,所述电脑装置包含一主存储器及一储存装置,所述储存装置的一分割区中储存相异的一第一操作系统及一第二操作系统,并且格式化规格符合所述第一操作系统的一第一文件系统,所述第二操作系统支援与所述第一文件系统不同的一第二文件系统,且包含一核心程序,所述方法包含:1. A method for starting a computer, executed in a computer device, the computer device comprising a main memory and a storage device, a first operating system and a second operating system different from each other are stored in a partition of the storage device Operating system, and the formatting specification conforms to a first file system of the first operating system, the second operating system supports a second file system different from the first file system, and includes a kernel program, so The methods described include: 当所述电脑装置利用所述第二操作系统开机时,将所述核心程序从所述分割区载入至所述主存储器;when the computer device is powered on by using the second operating system, loading the kernel program from the partition to the main memory; 将所述主存储器的一部分建立为一虚拟磁盘,所述虚拟磁盘的格式化规格符合所述第二文件系统;以及creating a part of the main memory as a virtual disk, the formatting specification of the virtual disk conforms to the second file system; and 将所述第二操作系统从所述分割区载入到所述虚拟磁盘中。loading the second operating system from the partition into the virtual disk. 2.如权利要求1所述的电脑开机方法,其特征在于还包含:2. The computer startup method according to claim 1, further comprising: 当所述电脑装置开机时,自动检测一寄存器的值以决定是否以所述第二操作系统开机。When the computer device is turned on, the value of a register is automatically detected to determine whether to start with the second operating system. 3.如权利要求1所述的电脑开机方法,其特征在于,所述第二操作系统包含以压缩文件格式储存于所述分割区的一函式库,所述方法还包含:3. The method for starting a computer according to claim 1, wherein the second operating system includes a function library stored in the partition in a compressed file format, and the method further includes: 将所述函式库解压缩;以及decompressing said library; and 将解压缩的所述函式库载入至所述虚拟磁盘中。loading the decompressed library into the virtual disk. 4.如权利要求1所述的电脑开机方法,其特征在于在载入所述核心程序之前还包含:4. The method for starting a computer according to claim 1, further comprising: 当所述电脑装置以所述第一操作系统开机之后,利用所述第一操作系统启动所述第二操作系统的一安装程序;After the computer device is powered on with the first operating system, using the first operating system to start an installation program of the second operating system; 利用所述安装程序,根据所述第一文件系统将所述第二操作系统储存于所述分割区;以及storing the second operating system in the partition according to the first file system by using the installer; and 利用所述安装程序,储存一载入程序于所述储存装置,用以在所述电脑装置开机时载入所述核心程序至所述主存储器。Using the installation program, a loading program is stored in the storage device for loading the kernel program into the main memory when the computer device is turned on. 5.如权利要求4所述的电脑开机方法,其特征在于,所述第二操作系统被储存于所述分割区的一预定目录中,且所述载入程序根据所述预定目录以取得所述核心程序。5. The method for starting a computer according to claim 4, wherein the second operating system is stored in a predetermined directory of the partition, and the loading program obtains the predetermined directory according to the predetermined directory. Describe the core program. 6.一种电脑可读取储存媒体,用以储存一电脑程序,其中当所述电脑程序载入至一电脑装置中,则可执行一电脑开机方法,所述电脑装置包含一主存储器及一储存装置,所述储存装置的一分割区中储存一第一操作系统,并且格式化规格符合所述第一操作系统的一第一文件系统,所述电脑开机方法包括下列步骤:6. A computer-readable storage medium for storing a computer program, wherein when the computer program is loaded into a computer device, a computer boot method can be executed, and the computer device includes a main memory and a A storage device, storing a first operating system in a partition of the storage device, and formatting a first file system conforming to the first operating system, the method for starting the computer includes the following steps: 当所述电脑装置以所述第一操作系统开机之后,利用所述第一操作系统启动一第二操作系统的一安装程序,所述第二操作系统支援与所述第一文件系统不同的一第二文件系统,且包含一核心程序;After the computer device is booted with the first operating system, use the first operating system to start an installation program of a second operating system, the second operating system supports a file system different from the first operating system the second file system, and includes a kernel program; 利用所述安装程序,根据所述第一文件系统将所述第二操作系统储存于所述分割区;以及storing the second operating system in the partition according to the first file system by using the installer; and 利用所述安装程序,储存一载入程序于所述储存装置,用以在所述电脑装置开机时载入所述核心程序至所述主存储器,其中当所述核心程序载入至所述主存储器时,所述核心程序将所述主存储器的一部分建立为一虚拟磁盘,所述虚拟磁盘的格式化规格符合所述第二文件系统,以及所述核心程序将所述第二操作系统从所述分割区载入到所述虚拟磁盘中。Using the installation program, store a loading program in the storage device for loading the kernel program into the main memory when the computer device is turned on, wherein when the kernel program is loaded into the main memory memory, the core program creates a part of the main memory as a virtual disk, the format specification of the virtual disk conforms to the second file system, and the core program converts the second operating system from the The partition is loaded into the virtual disk. 7.一种电脑装置,包含:7. A computer device comprising: 一主存储器;a main memory; 一储存装置,包含一分割区,用以储存相异的一第一操作系统及一第二操作系统,并且所述分割区格式化规格符合所述第一操作系统的一第一文件系统,所述第二操作系统支援与所述第一文件系统不同的一第二文件系统,且包含一核心程序;以及A storage device includes a partition for storing a first operating system and a second operating system that are different, and the formatting specification of the partition conforms to a first file system of the first operating system, so The second operating system supports a second file system different from the first file system and includes a kernel program; and 一处理器,耦接于所述主存储器及所述储存装置,当所述电脑装置利用所述第二操作系统开机时,将所述核心程序从所述分割区载入至所述主存储器,根据所述核心程序将所述主存储器的一部分建立为一虚拟磁盘,所述虚拟磁盘的格式化规格符合所述第二文件系统,以及将所述第二操作系统从所述分割区载入到所述虚拟磁盘中。a processor, coupled to the main memory and the storage device, when the computer device is powered on by the second operating system, loads the kernel program from the partition to the main memory, establish a part of the main memory as a virtual disk according to the kernel program, the formatting specification of the virtual disk conforms to the second file system, and load the second operating system from the partition into the in the virtual disk. 8.如权利要求7所述的电脑装置,其特征在于,当所述电脑装置开机时,所述处理器自动检测一寄存器的值以决定是否以所述第二操作系统开机。8 . The computer device according to claim 7 , wherein when the computer device is powered on, the processor automatically detects a value of a register to determine whether to start the computer device with the second operating system. 9.如权利要求7所述的电脑装置,其特征在于,所述第二操作系统包含以压缩文件格式储存于所述分割区的一函式库,所述处理器还将所述函式库解压缩,并将解压缩的所述函式库载入至所述虚拟磁盘中。9. The computer device according to claim 7, wherein the second operating system includes a library stored in the partition in a compressed file format, and the processor also stores the library in the partition. decompressing, and loading the decompressed function library into the virtual disk. 10.如权利要求7所述的电脑装置,其特征在于在所述电脑装置以所述第二操作系统开机之前,所述电脑装置以所述第一操作系统开机,所述处理器利用所述第一操作系统启动所述第二操作系统的一安装程序,根据所述第一文件系统将所述第二操作系统储存于所述分割区,以及储存一载入程序于所述储存装置,用以在所述电脑装置开机时载入所述核心程序至所述主存储器。10. The computer device according to claim 7, wherein before the computer device is powered on with the second operating system, the computer device is powered on with the first operating system, and the processor utilizes the The first operating system starts an installation program of the second operating system, stores the second operating system in the partition according to the first file system, and stores a loading program in the storage device for use in The kernel program is loaded into the main memory when the computer device is turned on. 11.如权利要求10所述的电脑装置,其特征在于,所述第二操作系统被储存于所述分割区的一预定目录中,且当所述电脑装置以所述第二操作系统开机时,所述处理器根据所述预定目录以取得所述核心程序。11. The computer device according to claim 10, wherein the second operating system is stored in a predetermined directory of the partition, and when the computer device is powered on with the second operating system , the processor acquires the kernel program according to the predetermined directory.
CN200510116229A 2005-10-21 2005-10-21 Computer starting method and computer device using same Expired - Lifetime CN1952890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510116229A CN1952890B (en) 2005-10-21 2005-10-21 Computer starting method and computer device using same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510116229A CN1952890B (en) 2005-10-21 2005-10-21 Computer starting method and computer device using same

Publications (2)

Publication Number Publication Date
CN1952890A true CN1952890A (en) 2007-04-25
CN1952890B CN1952890B (en) 2010-05-05

Family

ID=38059243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510116229A Expired - Lifetime CN1952890B (en) 2005-10-21 2005-10-21 Computer starting method and computer device using same

Country Status (1)

Country Link
CN (1) CN1952890B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100524286C (en) * 2007-10-29 2009-08-05 中国科学院计算技术研究所 Multiple core processing system and its management method
CN102955706A (en) * 2011-08-30 2013-03-06 比亚迪股份有限公司 Installing method and boot loading method for dual operation system
CN103959269B (en) * 2011-12-01 2017-08-15 汤姆逊许可公司 The method of the content-data of storage content receiver and the control device of association in the portable storage device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100673681B1 (en) * 2004-03-25 2007-01-24 엘지전자 주식회사 How to run Instant On on your personal computer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100524286C (en) * 2007-10-29 2009-08-05 中国科学院计算技术研究所 Multiple core processing system and its management method
CN102955706A (en) * 2011-08-30 2013-03-06 比亚迪股份有限公司 Installing method and boot loading method for dual operation system
CN102955706B (en) * 2011-08-30 2016-03-30 比亚迪股份有限公司 A kind of installation method of dual operating systems and guiding loading method
CN103959269B (en) * 2011-12-01 2017-08-15 汤姆逊许可公司 The method of the content-data of storage content receiver and the control device of association in the portable storage device
US10055425B2 (en) 2011-12-01 2018-08-21 Thomson Licensing Method for storing content data of a content receiver in a portable storage device, and associated control device

Also Published As

Publication number Publication date
CN1952890B (en) 2010-05-05

Similar Documents

Publication Publication Date Title
US7516319B2 (en) Method for booting a computer with second OS involves formatting portion of main memory with a second file system to generate ramdisk
USRE41011E1 (en) Apparatus and method for controlling booting operation of computer system
CN102955706B (en) A kind of installation method of dual operating systems and guiding loading method
US20030233534A1 (en) Enhanced computer start-up methods
KR20000052313A (en) Computing system and operating method for booting and running a graphical user interface(gui) with r/w hard drive partition unavailable
CN101650660A (en) Booting a computer system from a central storage
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
US20050210476A1 (en) Architecture and method for sharing application programs between multiple operating systems with feature of electricity saving
US8370612B2 (en) Computer system with built-in hidden two operating devices
CN102135923A (en) Method for integrating operating system into BIOS (Basic Input/Output System) chip and method for starting operating system
CN1952890B (en) Computer starting method and computer device using same
US20070136568A1 (en) Method for making a bootable USB storage device
TWI559227B (en) Computer system having two built-in operating devices that can be dynamically powered on or powered off
CN101276281A (en) How to install the driver
US8762699B1 (en) System, apparatus, and method for initiating a reboot of a personal computer system by pressing a button on an attached storage device and causing the operating system on the attached storage device to be booted
US20060168440A1 (en) OS selection methods and computer systems utilizing the same
CN100492291C (en) Computer system with instant start function and processing method thereof
JP5673844B2 (en) Information processing apparatus, basic system activation method, and basic system activation program
JP2011008753A (en) Method and system for executing file stored in hidden storage area of storage device
CN100504776C (en) Multi-mode computer system and method of operation
CN100547550C (en) System and method for installing a hypervisor after installing and loading a user operating system
CN1737758B (en) Method for starting computer multimedia function
KR100788951B1 (en) Operating system repair method using external storage media
CN100403262C (en) Computer device starting method and computer device using same
CN100498706C (en) Method for quickly starting computer device by data disc with built-in operating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20100505

CX01 Expiry of patent term