强制机器从 Live CD 启动
如果我想在可启动 CD 上分发某些软件,有没有办法(从 Windows)强制计算机重新启动到 CD 操作系统,即使 BIOS 未设置为从 CD 启动?
If I want to distribute some software on a bootable CD, is there a way (from windows) to force the machine to restart onto the CD OS, even if the BIOS is not setup with boot from CD?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可能可以对启动文件进行一些更改,以便它暂时忽略窗口,但您实际上以这种方式破坏了某人的操作系统。
You can probably make some changes to boot files so that it ignores windows for now, but you're essentially breaking somebodys OS this way.
我认为不......
引导设备选择发生在开始某个操作系统的初始化过程之前。换句话说,硬件系统将选择一个驱动器,然后它将尝试执行给定硬件驱动器上可用的引导程序。
因此,即使您更改 Windows 中的任何设置,您也可以在启动 Windows 后获得控制权。已经太晚了。
但也许您可以使用 boot.ini 将您的 CD 驱动器指向分区,但我不知道在来宾计算机中进行此类更改是否符合道德。如果我想这样做,我不会使用这种方式..:)
I think NO...
Boot device selection happens before starting the initialization process of a certain OS. In other words the hardware system will select a drive and then it will try to execute the bootstrap available on the given hardware drive.
So even if you change any setting in windows, you get the control after booting Windows. It is too late.
But perhaps you may have a way with boot.ini pointing your CD drive as a partition, but I don't know whether it is ethical to do such changes in a guest machine. If I wanted to do this I will not use this way.. :)
不,抱歉,没有办法做到这一点,因为没有标准 BIOS 接口允许以编程方式更改启动顺序。正如您在问题中推断的那样,BIOS(确切地说是 CMOS 设置)是保存启动顺序的地方。您无法保证用户下次启动时将选择什么启动设备。
No, sorry, there is no way to do this because there is no standard BIOS interface to allow programmatically changing the boot order. As you infer in your question, the BIOS (CMOS Setup, to be exact) is the place where the boot order is kept. You cannot guarantee what boot device the user will select on next boot.