LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-10-2007, 02:46 PM   #1
AmySun
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
fstab


Hi everybody here,

I am new to Linux system. I will have a lot help from you, Thank you for help in advance.

I encounted the first problem is: I added 2 lines in /etc/fstab:

/dev/fd0 /mnt/floppy auto user,noauto
/dev/hdc /mnt/cdrom iso9660 user,noauto

I su to root and I did following:
mount /mnt/floppy

but I got:
mount: /dev/fd0 is not a valid block device

under the directory /dev I saw there is fd0 block device.

What's wrong with my fstab file?

Please help me. Thanks a lot.

Amy
 
Old 01-10-2007, 03:07 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I'm not sure if it affects this, but there should be two more columns in the end of both lines, like this (read man page for more information):
Code:
/dev/fd0 /mnt/floppy auto user,noauto 0 0
Does it work if you just use the complete mount command, without having the fstab entries (with a floppy in drive and the directory /mnt/floppy/ created)?
Code:
mount -t auto /dev/fd0 /mnt/floppy
if it does work, read the man page of fstab carefully trough, and if it does not work, the problem relies (most probably) in the device file.
 
Old 01-10-2007, 03:22 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Also, /dev/fd0 will only be a "valid" floppy device if your kernel supports floppy devices and there is currently a disk in the drive.
 
Old 01-11-2007, 08:30 AM   #4
AmySun
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you, bOuncer!

I tried all you said, but I still got:
mount: /dev/fd0 is not a valid block device.

Thank you, Matir!

I have a floppy in the drive, so the only reason looks like my kernel doesn't support floppy. How can I make the kernel support floppy. My system is:
Linux asun.crisys.com 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 athlon i386 GNU/Linux

Amy
 
Old 01-11-2007, 08:45 AM   #5
xjlittle
Member
 
Registered: Aug 2003
Location: Indiana
Distribution: fc6 sles9 & 10 kubuntu ubuntu-server
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
Ahh I'll bet it does if your drive is installed and operating correctly. Try issuing the command
Code:
dmesg |grep -i fd
You could substitute flop for fd to if you don't get a return.

You should have some output similar to the following:
Code:
testing:~ # dmesg |grep -i fd
ACPI: IOAPIC (id[0x0b] address[0xfd200000] gsi_base[32])
IOAPIC[3]: apic_id 11, version 17, address 0xfd200000, GSI 32-55
  MEM window: fcc00000-fd0fffff
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
testing:~ #
The line of interest here is Floppy drive(s): fd0 is 1.44M which means that my floppy is at fd0.

You can get that error message as well if you don't have a floppy disk (make sure it is a good one) in the drive:
Code:
testing:~ # mount /dev/fd0 /media/floppy/
mount: /dev/fd0 is not a valid block device
testing:~ #
Also make sure the directory exists where you are trying to mount it eg /mnt/floppy or as in my case /media/floppy.

Last edited by xjlittle; 01-11-2007 at 08:49 AM.
 
Old 01-11-2007, 10:16 AM   #6
AmySun
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you, xjlittle!

I got the floppy mounted. I made a terrible mistake. I actually removed the floppy, but I thought it was there.

I feel so helpful from people here, I have a warm feeling from all help.

I come to next problem, did anyone here experience with Umbrello? From its README, it says: Umbrello UML Modeller is a UML diagramming tool for KDE. Does it mean I have to logging into KDE, then go to install it?

Amy
 
Old 01-11-2007, 02:38 PM   #7
xjlittle
Member
 
Registered: Aug 2003
Location: Indiana
Distribution: fc6 sles9 & 10 kubuntu ubuntu-server
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
Amy, you should really start a new thread for new questions so that people know what the subject of the post is.

However the short answer to your question is no you do not have to log in to kde. It will install just fine from gnome.

Just so you know almost all applications, regardless of gnome, kde or what have you will run under the different window managers. The repositories will install the correct libraries. You may have to start it from the command line though or create your own desktop shortcut to it.

That wasn't so short but you get the picture.
 
Old 01-12-2007, 08:15 AM   #8
AmySun
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Re: Umbrello

Quote:
Originally Posted by xjlittle
Amy, you should really start a new thread for new questions so that people know what the subject of the post is.

However the short answer to your question is no you do not have to log in to kde. It will install just fine from gnome.

Just so you know almost all applications, regardless of gnome, kde or what have you will run under the different window managers. The repositories will install the correct libraries. You may have to start it from the command line though or create your own desktop shortcut to it.

That wasn't so short but you get the picture.
Thanks, xjlittle!

I installed Umbrello, and I got a submenu from Applications --> Programming --> Umbrello, I started the application by clicking here. After I ran it, I found it is not the application that can do what I need to do. So I wanted to uninstall it. I use "make clean", but it does not completely remove the application. What is the best way to remove an application if it is installed by "make install"? also if an application was installed by rpm, should I keep the rpm file for uninstalling it later someday?

Sorry to ask so many questions. I appreciate your help very much!

Amy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
Fstab Vengent Linux - General 16 05-21-2003 05:37 PM

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

All times are GMT -5. The time now is 10:47 AM.

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