====== CentOS7 でブラックリストへのドライバー登録 ====== ===== フロッピーの存在しないマシンで I/O エラーが発生する場合の対処 ===== end_request i/o error dev fd0 sector 0 ==== Kernel 起動パラメータでの設定 ==== $ sudo vi /etc/default/grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="vconsole.keymap=jp106 crashkernel=auto vconsole.font=latarcyrheb-sun16 rhgb quiet rdblacklist=floppy" GRUB_DISABLE_RECOVERY="true" ※GRUB_CMDLINE_LINUX に rdblacklist=floppy を追加。 ==== grub.conf の再生成 ==== $ cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.bak20150314 $ sudo grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img Found linux image: /boot/vmlinuz-3.10.0-123.20.1.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-123.20.1.el7.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-122d62e367464b61919f65b3c26dc705 Found initrd image: /boot/initramfs-0-rescue-122d62e367464b61919f65b3c26dc705.img ==== modprobe での blacklist 設定 ==== $ sudo vi /etc/modprobe.d/blacklist-floppy.conf blacklist floppy ===== 参考文献 ===== [[https://www.linkedin.com/pulse/20140808222919-219659043-rhel-centos-7-and-nvidia-drivers|RHEL/CentOS 7 and NVidia Drivers]]\\ [[https://access.redhat.com/documentation/ja-JP/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/rescuemode_drivers-blacklisting.html|36.3.2. ブラックリストへのドライバーの登録]]\\ [[http://thinkit.co.jp/story/2014/11/28/5408|新搭載のGRUB 2とCentOS 7でのレスキューモード | Think IT(シンクイット)]]\\