host 用的debian 10 的系统。

1  xorriso -osirrox on -indev debian-10.1.0-arm64-DVD-1.iso -extract / work

定制debian iso

2:将要安装的deb 包cp到解压后的目录

定制debian iso

3:解压initrd

定制debian iso

4:生成pressed.cfg

d-i pressed/late_command string  cp -f /cdrom/linux-image.deb /target/;
chroot /target dpkg -i linux-image.deb

定制debian iso

5:重新生成initrd

定制debian iso

6:重新打包iso

xorriso -as mkisofs -r -o ./debian-test.iso -J -joliet-long -e boot/grub/efi.img -no-emul-boot work/

定制debian iso

相关文章:

  • 2021-09-25
  • 2022-12-23
  • 2021-04-02
  • 2022-12-23
  • 2022-02-18
  • 2021-05-23
  • 2021-04-14
  • 2021-11-08
猜你喜欢
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
  • 2021-09-03
  • 2021-04-04
  • 2022-12-23
  • 2022-01-16
相关资源
相似解决方案