简体   繁体   English

为什么Debian安装程序是exe文件

[英]Why is the debian installer an exe file

I recently downloaded the debian installer iso to use with virtualbox. 我最近下载了debian安装程序iso以便与virtualbox一起使用。 For security reasons, I mounted it to ensure it was legit. 出于安全原因,我安装了它以确保它是合法的。 I noticed a file labeled setup.exe. 我注意到一个名为setup.exe的文件。 Why would a linux installer be a windows file, and how would the computer be able to run it? 为什么Linux安装程序是Windows文件,计算机将如何运行它?

I then decided to look throught the microsoft windows installer. 然后,我决定浏览Microsoft Windows安装程序。 It too used an exe file. 它也使用了一个exe文件。 How could it run the exe to install windows without windows instlled? 如何在没有安装Windows的情况下运行exe来安装Windows?

  1. The Debian project has an installer for Microsoft Windows that provides a UI for installing GNU/Linux beginning on a MS Windows platform. Debian项目有一个用于Microsoft Windows的安装程序 ,该安装程序提供了一个UI,用于从MS Windows平台开始安装GNU / Linux。

  2. The Windows kernel can be loaded from disk and once it is loaded, like on install, it can start running a .exe file. Windows内核可以从磁盘加载,并且一旦加载,就像在安装时一样,它可以开始运行.exe文件。 For similar reasons Linux is an elf format binary. 出于类似原因,Linux是elf格式的二进制文件。 This is how a "Live" disk works, it loads the kernel and then loads up the entire OS including window manager from disk. 这是“实时”磁盘的工作方式,它加载内核,然后从磁盘加载整个操作系统,包括窗口管理器。

To your first question : I bet you are running VirtualBox on a Windows client right? 第一个问题:我敢打赌,您在Windows客户端上运行VirtualBox,对吗? So there is nothing wrong with using a windows file :) 因此,使用Windows文件没有任何问题:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM