小编ehi*_*ler的帖子

使用 debootstrap 创建可启动的 Debian 映像

过去 2 天,我一直在尝试创建可引导的 debian (jessie/8.4) 映像,据我所知,我的程序正确,但我无法正确设置文件系统。我相对确定我在这里做错了什么,缺少安装或/etc/fstab(我的图像中没有)。我希望有一些经验的人能够帮助我/向我展示我所缺少的东西。

以下是我在启动 qemu-system-x86 时看到的错误:

作为文本,然后作为实际屏幕截图:

错误:

fsck: error 2 (No such file or directory) while executing fsck.ext2 for /dev/sda1
fsck exited with status code 8
[FAILED] Failed to start Load/Save Random Seed
See `systemctl status systemd-random-seed.service` for details.
[FAILED] Failed to start Various fixups to make systemd work better on Debian.
See `systemctl status debian-fixup.service` for details.
...
[FAILED] Failed to start Update UTMP about System Boot/Shutdown.
See `systemctl status systemd-update-utmp.service` …
Run Code Online (Sandbox Code Playgroud)

boot debian bootable debootstrap

15
推荐指数
2
解决办法
1万
查看次数

标签 统计

boot ×1

bootable ×1

debian ×1

debootstrap ×1