December 17th, 2001, 11:55 PM
Linux Kernel Upgrade:Aftermath Problem
After successfully (or so I thought) upgrading my kernel from 2.4.2-2 to 2.4.12 I cannot mount a floppy disk. I am running RedHat 7.1 on a 933 PIII 256mb of RAM. When I right click on the floppy icon when in X and click mount it says "you must specify a filesystem". If I try mounting it from terminal "mount /dev/fd0 /mnt/floppy" it says "you must specify the filesystem". If I try "mount -t iso9660 /dev/fd0 /mnt/floppy" it says "wrong fs type, bad option, bad superblock on /dev/fd0, or too many mounted filesystems." If I "mount -t msdos /dev/fd0 /mnt/floppy" it says "fs type msdos not supported by kernel". Thats all the input I have for now, I can mount a cdrom, no problem there.
Many Thanks in Advance..
December 18th, 2001, 01:32 AM
/dev/fd0 /mnt/floppy vfat noauto,user 0 0
to your /etc/fstab file.
December 18th, 2001, 02:35 AM
No such luck, when I recompiled my kernel I did a "make oldconfig" so that I wouldn't have to answer any new questions and so that "hypothetically" it should work fine.
December 18th, 2001, 03:46 AM
Okay, first the Disclaimer.
// Although I update my kernel almost bi-weekly, I have only done this
// with the Slackware and Debian Distro's.
When you rebuilt the kernel I am guessing that you may not have selected all of the neccessary file system compatibility options. Essentially Unix does not really like floppies (and neither do I ). All floppies are treated as MSDOS file systems in most kernel builds that I know of.
So to correct this cd into the directory where you untar'd the 2.4.12 source. Once in that directory run `make xconfig' (without the quotes), a small gui window will pop up. Go to the menu selection labeled `file systms'. Click on it and then select these file system types.
Kernel automounter version 4 support (also supports v3)
DOS FAT fs support
MSDOS fs support
Virtual memory file system support
ISO 9660 CDROM file system support
Microsoft Joliet CDROM extensions
NTFS file system support (read only)
/proc file system support
/dev/pts file system for Unix98 PTYs
Second extended fs support
then click `Save and Exit'
run `make dep'
then run whatever you did in Red Hat to build/install the new kernel (`make bzImage' perhaps?).
don't forget to run lilo to update to the newer kernel image.
root2600 is correct, the manual parameters for mounting the floppy will be located in /etc/fstab.
You should be able to mount the floppy in the usual manner (mount /mnt/floppy) that you were using after the rebuild since the /etc/fstab had not changed.
Please let us know if you need more help.
Know this..., you may not by thyself in pride claim the Mantle of Wizardry; that way lies only Bogosity without End.
Rather must you Become, and Become, and Become, until Hackers respect thy Power, and other Wizards hail thee as a Brother or Sister in Wisdom, and you wake up and realize that the Mantle hath lain unknown upon thy Shoulders since you knew not when.
December 18th, 2001, 12:49 PM
I am at work now, wish I was at home so I could try that, I have school out of town so if I dont get a chance to try what the "incredibly smart" Uberc0der suggested at lunch I will get to it wednesday.
Thanks ALOT Uberc0der!
P.S. I run redhat 7.1, since I am not an "advanced" linux user yet should I upgrade to Suse or Slack? I dont "NEED" the point and click, it is nice though. Any thoughs appreciated.
December 18th, 2001, 01:18 PM
Off the subject of kernels..
I have been looking at the slackware.com and suse.com websites. Slackware looks like it want to be the most "UNIX-Like Linux" distro out there. I don't know "ALOT" about Linux, I know enough to install it and get it online/on a network.
After looking at Suse it's going for the "Suse for the Whole Family!", I want usability, friendlyness, stability, and security in a linux distro. My view of Slack is that I would purchase it and spend a week just getting it installed. After reading a few reviews of it on theregister.co.uk I am impressed with Suse. The Register says that Suse has alot of documentation, almost as much as you would expect from M$. I live in a small town, so unless they get Suse at Wal-Mart I might have to stick with Redhat 7.1 for now.
Any Alternative views accepted....
December 18th, 2001, 03:45 PM
I'd always recommend debian to anyone that cared to listen - if you know what hardware you have and the coresponding modules required to use that hardware the installation shouldn't present a problem - if you have a decent net connection you can even install over ftp/http.
As regards your problem - you may need to enter "make mrproper" before "make xconfig" - other than that ubercoders advice is sound - although i'm surprised your machine still boots with a botched kernel.
December 18th, 2001, 04:06 PM
Does debian have X windows? I know what hardware I have, dont know much about "modules" though. I am at debian.org what all does it support or what are the advantages of it over Redhat or Suse, or Slack? I am getting a copy of a 6.x release of slackware to try. If I had DSL at home I would download Slack and try it too. I know slack is more unix based, I only know linux, and I only know it a little. So I don't think SlackWare is for me, but SuSE might be.
Caution: in case of rapture, this computer will be unoccupied!
December 18th, 2001, 04:26 PM
Most distros can have X windows - apart from some of the micro distros. X is just a client/server that sits on linux, the server displays graphics on a screen and takes input from mouse/keyboard and the client is the program that uses an X server to display, this makes more sense if you think the client need not be on the same machine as the server - they can can be ran together on seperate machines over a network.
Debians package management is prolly its strongest point - apt-get install whatever is a handy way to add packages - and it does a lot to keep dependencies in check too - specially if used in conjunction with debfoster. You would be better researching on the net which modules your hardware needs as debian won't do much to help guide you - people ask the debian developers why they don't improve the installer - they say its because you only need to use it once!
~Afaik, slack isn't more unix based per se - it just hasn't got the bells and whistles that a lot of other distros do, and SLS - slacks first incarnation - was one of the first distros, which is nice.
If you're so keen to stay true to unix why not use one of the bsd's? just a thought.
December 18th, 2001, 04:36 PM
I was saying that SlackWare is close to the Unix, but Linux is all I know and I don't know it well. So I think I might stick with RH for now, like I said I am getting a 6.x copy of SuSE, I will try it. I have two linux pc's in my room now. My main one is a 933 pentium and the secondary linux pc (the tester) is a 200mhz Packard Bell I found in a wal-mart parking lot. (No joke)
Caution: in case of rapture, this computer will be unoccupied!