Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I recently compiled & installed the util-linux-2.12a because of the "mount version older than kernel" which comes with the new kernel 2.6.5, but now I can't mount filesystems by passing only the mountpoint to mount (e.g. mount /mnt/cdrom)... I always get
"mount: wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file systems"
and if I try "mount /mnt/floppy" the drive accesses the floppy ans Linux tells
"mount: block device /dev/fd0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/fd0, or too many mounted file systems"
If I pass the fs-type (e.g. mount -t iso9660 /dev/cdrom /mnt/cdrom or mount -t vfat /dev/fd0 /mnt/floppy) it works perfectly...
Now I'm afraid of rebooting my system - perhaps it doesn't mount the root-fs! :-/ I read some articles about mount reading the /etc/filesystems and /proc/filesystems but they are set up correctly I think... any clues?!
kudzu option is a new one to me. So, the HOWTO-util-linux-2.12a should encourage one to review their /etc/fstab after
installing. Or, at least mention that the kudzu option may cause problems mounting. Good catch.
Kudzu is the Redhat "New Hardware"-Assistant and removes not attached hardware from /etc/fstab if the kudzu option is given and inserts new found hardware with the kudzu option if it it mentioned in /etc/updfstab.conf... (as far as I understand...) See man updfstab for more...
I re-emphasize that I'm not completely sure if this option causes the Problem - but where can I find this HOWTO-util-linux-2.12a?
Well, I couldn't find a man page for util-linux-2.12a. Open mouth, insert foot, I did.
A goggle on 'kudzu fstab' gave hits on what to do when kudzu clobbers your /etc/fstab and
man 8 updfstab (which ref man kudzu). Not being a RH fan, and not liking things being done
behind my back, I don't have kudzu on my machine. However, it appears that kudzu modifies
/etc/fstab when items like disks and cameras are added or removed from your machine, as
stated in the previous post. It removes lines with the kudzu option, and includes the kudzu option when it adds a line.
util-linux-2.12a is just a collection of utlities like mount, umount and more others than I can
count. My apologies for sending you off looking for its mount page.
below it, I would expect problems, since the second line may overwrite my mount point, such
that if I insert my Linux floppy, mount expects a Windows floppy and returns the
mount: wrong fs type, bad option, bad superblock on /dev/fd0, or too many mounted file systems
error. Then again, mount may not recognize the kudzu option in /etc/fstab, and is complaining
in the only way it knows how. Just a guess.
So -- remove the kudzu options in your /etc/fstab. Double check the filetypes for each device.
I have multiple entries for /dev/fd0 and /dev/cdrom with different mount points, depending
on the filetype. For example, /mnt/a for vfat floppies and /mnt/floppy for ext floppies. Replace the defaults option with specific options (see man mount and man fstab). Specifically,
add the noauto option (or remove the auto option) to the cdrom device and maybe your
other removable media. This keeps Linux from trying to mount the device on boot.
Additionally, you might want to do without kudzu running behind your back. In Slackware, one
would comment out the kudzu daemon in /etc/rc.d/rc.local. In RH, I wouldn't know where to
look. In any case, from what I read, kudzu is not supposed to mess with /etc/fstab entries
that do not have the kudzu option. So, at the very least, fix those lines and remove the kudzu