首页 > 其他分享 >qe express

qe express

时间:2022-12-02 12:13:13浏览次数:33  
标签:sudo ext3 .. express mymnt qe tools rootfs

 

3

文系主要看这个

https://www.zhaixue.cc/qemu/qemu-build_busybox_rootfs.html

 

2、

qemu vexpress 主要看这个

https://www.jianshu.com/p/94833e841742

 

 

编busybox
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-  -j32 install



mkdir mnt proc root sys tmp var  #不加dev下面没东西

dd if=/dev/zero of=rootfs.ext3 bs=1M count=32
mkfs.ext3 rootfs.ext3

sudo mount -t ext3 rootfs.ext3 /mymnt -o loop
sudo umount /mymnt


du -h --max-depth=0

 

 

1、

[XXX tools]$ sudo umount /mymnt
umount: /mymnt: target is busy.

[ tools]$ fuser -mv /mymnt/
                     用户     进程号 权限   命令
/mymnt:              root     kernel mount /mymnt
                     [email protected]  15025 ..c.. bash
[ tools]$ fuser -kv /mymnt/
                     用户     进程号 权限   命令
/mymnt:              root     kernel mount /mymnt
                     [email protected]  15025 ..c.. bash
[ tools]$ sudo umount /mymnt
[ tools]$ sudo mount -t ext3 rootfs.ext3 /mymnt -o loop
[ tools]$ 

 

标签:sudo,ext3,..,express,mymnt,qe,tools,rootfs
From: https://www.cnblogs.com/cnchengv/p/16944053.html

相关文章