如何在Ubuntu中使用软盘驱动器?

同样的电脑,在Ubuntu 8.04下完全没问题。 在12.04下,Ubuntu不存在软盘驱动器。 驱动器和软盘在DOS上运行良好。 来自软盘W98se的电脑靴,完全没问题。

我如何在Ubuntu 12.04下使用软盘?

  1. 检查软盘模块是否已加载:

    lsmod | grep -i floppy 

    此命令不应返回任何内容。 如果它返回“floppy”然后你加载了软盘模块,这个答案不能解决你的问题。

    如果要加载软盘模块:

     sudo modprobe -v floppy lsmod | grep -i floppy 
  2. 尝试在软盘组中添加用户名:

     sudo adduser $USER floppy 
  3. 您也可以尝试安装fdutils包:

     $ apt-cache show fdutils Package: fdutils [...] Description-en: Linux floppy utilities This package contains utilities for formatting extra capacity disks, automatic floppy disk mounting and unmounting, etc. . The package includes the following items: . - superformat: formats high capacity disks (up to 1992k for high density disks or up to 3984k for extra density disks); - fdmount: automatically mounts/unmounts disks when they are inserted/removed; - xdfcopy: formats, reads and writes OS/2's XDF disks; - MAKEFLOPPIES: creates the floppy devices in /dev; - getfdprm: prints the current disk geometry (number of sectors, track and heads etc.); - setfdprm: sets the current disk geometry; - fdrawcmd: sends raw commands to the floppy driver; - floppycontrol: configures the floppy driver; - general documentation about the floppy driver. . Note that these utilities do not work for USB floppy drives, because these do not allow direct access to the floppy controller. Homepage: http://fdutils.linux.lu/ 

    fdmount似乎很有用。 尝试: sudo fdmount -l

  4. 检查您的软盘驱动器是否列在此处:

     nautilus computer:// 
  5. 如果您仍然遇到问题,请发布上述命令的输出,加上:

     dmesg > dmesg.log gedit dmesg.log 

将dmesg.log的内容发布到某个地方的pastebin(即http://www.pastebin.com )并给我们链接。

PS您可能正在遭受这个错误: https : //bugs.launchpad.net/ubuntu/+source/linux/+bug/441835 – 尝试:

 udisks --mount /dev/fd0 

这是使软盘驱动器工作的实际答案。

  1. 打开终端并以sudo身份登录

  2. 打开gedit作为sudo

  3. 打开并编辑此文件: /lib/udev/rules.d/80-udisks.rules

  4. 找到它的这一部分(它靠近底部。你可以在gedit的工具栏上使用“搜索”找到“PC软盘”它会带你去。

     #################################################### # PC floppy drives # KERNEL=="fd*", ENV{ID_DRIVE_FLOPPY}="0" # USB floppy drives # SUBSYSTEMS=="usb", ATTRS{bInterfaceClass}=="08", ATTRS{bInterfaceSubClass}=="04", ENV{ID_DRIVE_FLOPPY}="0" # ATA Zip drives # ENV{ID_VENDOR}=="*IOMEGA*", ENV{ID_MODEL}=="*ZIP*", ENV{ID_DRIVE_FLOPPY_ZIP}="0" ##################################################### 
  5. 将所有“1”替换为“0”,就像我在3个区域中所做的那样。 (你的脚本将有“1”,我正在显示更正的部分)看起来像这样: ENV{ID_DRIVE_FLOPPY}="0"

  6. 重启PC和软盘支持。

注意 :软盘插入时不会自动启动窗口,它们是在此之前制作的! 您需要转到“地点”或“我的电脑”并双击它。 请记住将其卸下,就像USB记忆棒(或USB记忆棒)一样,否则您插入的下一张软盘将无法装入。 还记得在重启(内部)之前弹出软盘,因为你的电脑会尝试从它启动,这可能非常烦人。

当我用“磁盘工具”检查我的usb软盘的状态时,我注意到我的软盘显示为挂载在/dev/sdd

我更改了medigeek的回答 :

 udisks --mount /dev/fd0 

至:

 udisks --mount /dev/sdd 

现在我的usb软盘安装在Ubuntu 12.04中