mount 挂载虚拟软盘提示:mount : you must specify your systemfile type 的解决方法
来源:互联网 发布:教人写小说的软件 编辑:程序博客网 时间:2024/06/05 02:17
《orange’s 一个操作系统的实现》第三章中,搭建保护模式的运行环境 执行 mount -o loop pm.img /mnt/floppy 时,提示错误:
you must specify your systemfile type 。在网上找了好久终于找到了解决方法,其实很简单、
之所以出现问题是因为 用bximage新建的img文件是空文件,没有被格式化。解决方法有两种:
一:在img文件中 写入空内容:
1、写入空白内容:
1
dd if=/dev/null of=pm.img bs=512 count=1 conv=notrunc
2、使用 losetup 命令,将 data.img 作为 loop device 使用:
1
sudo losetup /dev/loop0 pm.img
3、然后,格式化这个 loop device:
1
sudo mkfs.msdos /dev/loop0
4、检查文件系统:
1
sudo fsck.msdos /dev/loop0
5、删除 loop device:
1
sudo losetup -d /dev/loop0
这时候,pm.img 已经格式化完成,可以作为一个软盘镜像使用。用file查看,结果为:
1
pm.img: DOS floppy 1440k, x86 hard disk boot sector
再次输入
1
sudo mount -o loop pm.img /mnt/floppy
二:直接格式化
mkfs.msdos pm.img
- mount 挂载虚拟软盘提示:mount : you must specify your systemfile type 的解决方法
- 磁盘挂载:mount: you must specify the filesystem type
- mount挂载硬盘出错mount you must specify the filesystem type lvm?
- mount: you must specify the filesystem type
- mount: you must specify the filesystem type
- mount: you must specify the filesystem type
- mount you must specify the filesystem type
- mount: you must specify the filesystem type
- mount: you must specify the filesystem type
- 挂载分区时提醒 mount: you must specify the filesystem type
- 虚拟机linux挂载光盘显示:mount: you must specify the filesystem type
- linux虚拟机挂载光盘时报错mount: you must specify the filesystem type
- centos挂载光盘报错:mount: you must specify the filesystem type
- 虚拟机linux挂载光盘显示:mount: you must specify the filesystem type
- mount: You must specify the filesystem type问题解决
- mount you must specify the filesystem type linux mount LVM到个人用户报错
- linux虚拟机上中挂载光驱报" mount: you must specify the filesystem type"错误处理
- cramfsck: superblock magic not found,mount: you must specify the filesystem type
- Flex播放GIF图片
- 早上偷懒 写的一个二进制形式输出的 方法雏形 嘿嘿
- Vector 排序
- XPath语法详细介绍
- arm 2440和6410区别
- mount 挂载虚拟软盘提示:mount : you must specify your systemfile type 的解决方法
- Qt-x11-4.5.3安装教程(linux环境)
- 自己实现的JAVA转码工具类
- hust 1425【DFS】
- 并发和并行的区别
- Android出现新漏洞 官方称97%用户受影响
- Session,ViewState用法
- ora-01033 解决方法
- 手机省电技巧小窍门