如何在 Debian Stretch 上安装 syslinux 软件包?

如何在 Debian Stretch 上安装 syslinux 软件包?

我已经安装了 Raspbian Stretch 并运行以下命令:

sudo apt-get update
sudo apt-get upgrade

当我尝试安装时,syslinux我得到以下信息:

$ sudo apt-get install syslinux -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package syslinux is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'syslinux' has no installation candidate

我想要syslinux,因为当我尝试运行时mkwinpeimg出现以下错误

$ mkwinpeimg --windows-dir=/mnt/windows7 win7pe.img
ERROR: To make a bootable disk image of Windows PE, we need the "syslinux"
program, but it doesn't seem to be installed.  Please install the "syslinux"
package to continue, or try using the --iso option to make an ISO image instead
of a disk image.

我究竟做错了什么?

答案1

你可以安装 syslinux

sudo apt-get install syslinux-common -y

如果您想知道 syslinux 的其他可用软件包是什么,您可以通过编写sudo apt-get install syslinux并点击TAB几次或键入 来搜索sudo apt search syslinux

答案2

syslinux套餐仅适用于amd64i386

该包wimtools提供mkwinpeimg命令:

sudo apt install wimtools

相关内容