当我拿到这台新电脑时,它附带了一个软盘驱动器。最近我决定以后再也不需要它了,而且它只会在启动时发出一些噪音。所以我拔掉了连接它的电缆,它显然不再发出噪音了。问题解决了。但是 Nautilus 仍然在驱动器列表中显示软盘驱动器,尽管它实际上并不存在,但我无法删除它。它也显示在启动器上。单击它没有任何作用。我该如何删除这些按钮?
这就是sudo fdisk -l
我所得到的:
Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders, total 398297088 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdc4bdc4b
Device Boot Start End Blocks Id System
/dev/sdb1 4096 398297087 199146496 83 Linux
Disk /dev/sda: 120.0 GB, 120033041920 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234439535 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c1b44
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 234438655 116968449 5 Extended
/dev/sda5 501760 234438655 116968448 8e Linux LVM
Disk /dev/mapper/ubuntu--vg-root: 113.3 GB, 113330094080 bytes
255 heads, 63 sectors/track, 13778 cylinders, total 221347840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/ubuntu--vg-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-swap_1: 6442 MB, 6442450944 bytes
255 heads, 63 sectors/track, 783 cylinders, total 12582912 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table
它似乎不包含有关软盘驱动器或丢失驱动器的任何信息。
这就是所说cat /etc/fstab
的:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=4ce4e749-7286-46d6-b756-cb09cb51fead /boot ext2 defaults 0 2
/dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
它确实提到了有关软盘驱动器的事情,但没有提到它丢失、失效或类似情况。
答案1
首先,您一定要从中删除软盘驱动器fstab
,您可以使用简单的文本编辑器来完成此操作。如果这不能解决您的问题(但应该可以),请参阅此旧答案对于类似的问题。
如果是台式电脑,另一个选择是尝试在 BIOS 中禁用它。