LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-29-2002, 11:12 AM   #1
BradDaBug
LQ Newbie
 
Registered: May 2002
Posts: 29

Rep: Reputation: 15
Linux - floppy = chaos!


Normally, I have a floppy drive in my computer. Well, I took it out a few days ago. Then I booted Linux. It booted OK, but during shut down it went nuts! It kept trying to unmount the floppy drive and it gave me all sorts of wierd messges. Finally, about 10 minutes later, it shut down.

Why does it do that? Ain't Linux smart enough to know whether or not there's a floppy drive?
 
Old 05-29-2002, 11:19 AM   #2
shoot2kill
Member
 
Registered: Jan 2002
Location: California
Distribution: Red Hat
Posts: 402

Rep: Reputation: 30
what are the weird msg? can u post it here?
 
Old 05-29-2002, 08:26 PM   #3
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
You probably have an entry for /dev/fd0 or /dev/floppy in /etc/fstab. That's just a guess, but remove it and see.

Cheers,

Finegan
 
Old 05-30-2002, 01:35 AM   #4
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Rep: Reputation: 31
but will linux try to unmount a not mounted device?
 
Old 05-30-2002, 07:34 AM   #5
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Quote:
Originally posted by sakeeb
but will linux try to unmount a not mounted device?
If that device is no longer referenced in fstab, then Linux will not mount it nor will it un-mount it. However, you should have first manually un-mounted the floppy, physically removed it, and then removed the fstab entry. Since you didn't, just remove the fstab entry and reboot. It will take time, but once the re-boot is done you should have no more problems.
 
Old 05-31-2002, 09:52 AM   #6
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
OK, here's a short overview of what happens when you mount/unmount stuff:
  1. mount mounts the device to the directory you specified
  2. mount adds the device to /etc/mtab. That file stores currently mounted filesystems.
As you can see, if you somehow unmounted the floppy without modifying /etc/mtab, then my guess would be that Linux would try to unmount it, even though it's not mounted.
 
Old 05-31-2002, 04:47 PM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Sewer_monkey, the question was a little different. He yanked the physical drive and didn't delete the entry in /etc/fstab for /dev/fd0. He didn't do this while the machine was live; that would have backshot the powersupply and fried something (trust me, I know this the hard way ). However, since the floppy entry created by his distro, my guess is RH, Mandy, or SuSe, would have had noauto as a parameter, it might have hiccuped an error about there being no /dev/fd0 on init, that he probably missed especially if he had a gui init or a fast machine where everything scrolls by at mach 3.

What I'm still kind of wondering is why this would make a box go kazoo on shutdown and if that was indeed it, the fstab entry. I've had machines not go wonky (spit errors, but not crash) when I yank one of their physical hard drives and left the entry, so why I'm wondering would a floppy be different. I could experiment myself, but that would mean I would have to A) install one of the gummy distros on a machine around here with a floppy drive. B) find my screwdriver, and or C) find an extra floppy drive.

Cheers,

Finegan
 
Old 06-02-2002, 12:37 PM   #8
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
Hi
maybe is he using the supermount daemon, as it
causes me sometimes shutdown delay's and
giving some errors, though mainly concerning
the cdrom drive. So i turned it off
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux=Chaos... Someone needs to fix the Linux problem Skrilla Linux - Distributions 127 07-29-2005 09:11 PM
Laptop + CRT + Linux =Chaos! JabberWalkie Linux - Hardware 3 05-20-2005 03:20 PM
Partition CHAOS!! HELP ME!!! coolblue Linux - Newbie 3 03-12-2005 02:58 AM
Partition CHAOS!! HELP ME!! coolblue Linux - Hardware 3 03-11-2005 03:13 AM
OpenOffice chaos doorbits Linux - Software 18 01-30-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration