大佬教程收集整理的这篇文章主要介绍了linux – 创建没有mount的虚拟软盘映像?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
>通过dd命令创建空的1.44MB映像文件
>通过mkfs.msdos格式化图像文件
>将图像文件安装到某个安装点
>将东西复制到安装点
> umount虚拟软盘映像文件
我的问题是,如果我只是一个普通用户谁不能运行sudo命令,我该如何遵循上述步骤来创建一个虚拟的软盘映像和写一些东西?
非常感谢.
$dd if=/dev/zero of=/tmp/disk1.img count=1440 bs=1k 1440+0 records in 1440+0 records out 1474560 bytes (1.5 MB) copied,0.00569719 s,259 MB/s $/sbin/mkfs.msdos /tmp/disk1.img mkfs.msdos 3.0.12 (29 Oct 2011) $mdir -i /tmp/disk1.img Volume in drive : has no label Volume serial number is 9913-BFF6 Directory for ::/ No files 1 457 664 bytes free $mcopy -i /tmp/disk1.img /etc/issue.net ::/ $mdir -i /tmp/disk1.img Volume in drive : has no label Volume serial number is 9913-BFF6 Directory for ::/ issue net 28 2012-06-26 10:49 1 file 28 bytes 1 457 152 bytes free
当然,我没有根本的权利.
以上是大佬教程为你收集整理的linux – 创建没有mount的虚拟软盘映像?全部内容,希望文章能够帮你解决linux – 创建没有mount的虚拟软盘映像?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。