[Pkg-sysvinit-devel] Bug#862217: Bug#862217: initscript does fsck on empty floppy drive and stops booting

Henrique de Moraes Holschuh hmh at debian.org
Tue May 9 23:49:23 UTC 2017


On Tue, 09 May 2017, David Lawyer wrote:
> My PC has a floppy drive which I seldom use.  When I boot linux, it runs
> /etc/init.d/checkfs.sh which runs fsck.fat on the floppy drive
> /dev/fd0.  The fsck fails because there is no floppy in the drive and

...

> Linux should not try to run fsck on a floppy drive at boottime, unless
> perhaps if it's booting from floppy and the boot fails.  I'm booting from
> my harddrive.

...

> Here's my /etc/fstab file:
> # /etc/fstab: static file system information for 80GB Maxtor.
> #
> # <file system>     <mount point>   <type>  <options>   <dump>  <pass>
> LABEL=80GB-Maxtor	/            ext4    defaults    0       1
> LABEL=80GB-Maxtor-swp   none            swap    sw            0       0
> /dev/cdrom		 /home/dave/cd	iso9660	rw,noauto,user   0       2	
> LABEL=8GB-Maxtor         /bak 	        ext4    rw,noauto,user,exec  0       2
> /dev/fd0	/home/dave/fd		vfat	rw,noauto,user,noexec,  0       1	

Please change that last line in /etc/fstab to:

	/dev/fd0 /home/dave/fd vfat rw,noauto,user,noexec 0 0

(i.e. that last "1" needs to be "0").

After updating /etc/fstab, please regenerate the initramfs just in case.
As root:

	update-initramfs -u

Then reboot to test the changes, without a floppy inserted.  It should
not attempt to fsck /dev/fd0.

-- 
  Henrique Holschuh



More information about the Pkg-sysvinit-devel mailing list