参考:https://wiki.debian.org/Debootstrap 本文出自 嘉糖
制作debian的工具:qemu-debootstrap
扩展分区:
umount /dev/sdd?
debian:
parted /dev/sdd unit % resizepart 2 100 unit MB print
fsck.ext4 -f /dev/sdd2
resize2fs /dev/sdd2
1、安装qemu、debootstrap工具
#sudo apt-get install binfmt-support qemu qemu-user-static debootstrap
2、下载一个完整的debian rootfs
#qemu-debootstrap --arch armhf jessie jessie-chroot
http://ftp.cn.debian.org/debian --verbose --include=wpasupplicant,openssh-client,openssh-server
3、验证签名
#apt-get install debian-archive-keyring
4、至此,你已经成功下载了一个debian的文件系统包。
最新电子行业资讯、教程以及开发板样片申请,请关注“云汉电子社区”官方微信公众号ickeybbs