Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4117107
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

发布时间:2017-04-19 14:08:27

如果要临时关闭,可以执行setenforce 0 查看状态# sestatus SELinux status:                 enabledSELinuxfs mount:                /sys/fs/selinuxSELinux root directory:         /etc/seli.........【阅读全文】

阅读(1246) | 评论(0) | 转发(0)

发布时间:2017-04-18 16:55:37

发现qemu启动的linux没有网卡判断是编译内核的时候,只编译e1000的驱动sudo qemu-system-x86_64 \    -kernel linux-4.10.4/arch/x86_64/boot/bzImage \    -initrd obj/initramfs-busybox-x86.cpio.gz \    -enable-kvm -hda obj/hda.img  -net nic,model=e1000 -net tap &.........【阅读全文】

阅读(4277) | 评论(0) | 转发(0)

发布时间:2017-04-18 13:09:55

目录是/vm/custom下载linux 内核版本 4.10.4/vm/custom/linux-4.10.4$make  x86_64_defconfig应该会打开KERNEL CONFIG_DEVTMPFS=yDevice Drivers  --->    Generic Driver Options  --->        [*] Maintain a devtmpfs filesystem to mount at /devKERNEL CONFI.........【阅读全文】

阅读(2717) | 评论(0) | 转发(0)

发布时间:2017-04-14 17:18:25

在buildroot根目录下mkdir imgcd imgqemu-img create -f raw image.raw 2048M mkfs.ext2  image.rawmkdir imagesudo mount -o loop image.raw imageoutput/images/rootfs.ext2mkdir rootmount -o loop ../output/images/rootfs.ext2 root sudo mount -o loop ../output/images/rootfs.ext2 root&.........【阅读全文】

阅读(1535) | 评论(0) | 转发(0)

发布时间:2017-04-13 11:34:51

make qemu_x86_64_defconfigmake -j 8make linux-menuconfig    # download kernel source and config itmake linux-build  make linux-rebuild  make linux-cleanqemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2 -append root=/dev/sda -.........【阅读全文】

阅读(3203) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册