LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 05-29-2007, 11:00 PM   #1
DirkDiggler
Member
 
Registered: May 2007
Location: Florida/USA
Distribution: Ubuntu Feisty Fawn, Fedora 7, Windows XP
Posts: 91

Rep: Reputation: 16
Failure mounting localfilesystem


Hey,

I am getting the following error in the scroll screen during bootup:

Failed to create /dev/fuse: Permission denied
Fusermount: fuse device not found, try 'mod probe' first
FUSE mount point creation failed
Unmounting /dev/hda1

Hda1 is my ntfs Windows partition. I upated my kerenel (thanks to Okie) because I was recieving this message before. It was my understanding it would go away after updating the kernel... it didn't. I put in the command 'mount -a' and here is what 'mount' has to say:
/dev/hda1 on /mnt/windows type fuseblk (rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)

All is well with the world and I can read/write to the NTFS partition. Why wount it mount at startup? I have the most recent version of Fuse as far as I know.

Thanks,

Brandon
 
Old 05-30-2007, 09:55 AM   #2
shorun
Member
 
Registered: Mar 2006
Location: belguim
Distribution: fedora, mandriva, suse
Posts: 148

Rep: Reputation: 15
is it in your fstab? (/etc/fstab)
if not, add it.

you could allso try to set the mount command in /etc/bash.rc or /etc/profile, but i'm not sure of those.

if these won't work, could you post the output?
 
Old 05-30-2007, 06:46 PM   #3
DirkDiggler
Member
 
Registered: May 2007
Location: Florida/USA
Distribution: Ubuntu Feisty Fawn, Fedora 7, Windows XP
Posts: 91

Original Poster
Rep: Reputation: 16
The Windows partition is in my fstab, which is why it attempts to mount during the bootup. Those messages come up during the initialization screen.

Any other ideas?

Regards,

Brandon
 
Old 05-30-2007, 07:34 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Check whether /dev/fuse actually exists. If not, as root:

mknod /dev/fuse -m 0660 c 10 229

Whether it existed or you just created it, you also need to do this:

chown root.fuse /dev/fuse
 
Old 05-30-2007, 08:02 PM   #5
DirkDiggler
Member
 
Registered: May 2007
Location: Florida/USA
Distribution: Ubuntu Feisty Fawn, Fedora 7, Windows XP
Posts: 91

Original Poster
Rep: Reputation: 16
Thanks Jay, I'll do that as soon as I get home. If you don't mind, could you please give me a layman explanation as to what those commands mean? I believe the mknod is something along the lines of making a node? The chown command I'm not familiar with.

Thanks for your help,

Brandon
 
Old 05-30-2007, 10:26 PM   #6
DirkDiggler
Member
 
Registered: May 2007
Location: Florida/USA
Distribution: Ubuntu Feisty Fawn, Fedora 7, Windows XP
Posts: 91

Original Poster
Rep: Reputation: 16
Jay,

I performed the commands you gave and it doesn't seem as though they're sticking. It creates the character device with mknod. I had some trouble with 'chown root.fuse /dev/fuse'. It kept telling me that root was an invalid user. Ater trying different ways of entering it, I came up with 'chown root /dev/fuse' That was accepted. I rebooted and came up with the same error as stated in the first post. So, I went to my /dev folder and the fuse character device was gone! I'm assumimg this is why I got the error message again. Please advise on what to try next

Thanks,

Brandon
 
Old 05-30-2007, 11:41 PM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Hmm, it's been a while since I used these commands so I may just possibly have slipped in a typo. Could you do it over, using

chown root:fuse

this time - notice the colon.

What these commands do is this:
mknod makes an interface to your hardware; if you look in the /dev directory, you will find plenty of files to allow your operating system to interact with the hardware. /dev/cdrom and /dev/sda are obvious, I think; then there is also, for example, /dev/dsp, which is an interface to sound devices. These nodes also tell the operating system which drivers to use (that is the 10 229 part in your case, "major" and "minor" respectively as they are known, i.e. which category of driver and which specific subtype of that category).
The chown part changes the owner of the /dev/fuse file; /it needs to be owned by user root and group fuse - which is why we use root:fuse. Which makes me wonder: is there actually a fuse group on your system? Check the output of

groups

If you don't see any "fuse" in there, that could be the root of this whole issue.
 
Old 05-31-2007, 07:57 AM   #8
DirkDiggler
Member
 
Registered: May 2007
Location: Florida/USA
Distribution: Ubuntu Feisty Fawn, Fedora 7, Windows XP
Posts: 91

Original Poster
Rep: Reputation: 16
Jay,

You've hit the nail in the head. There is no fuse group. At first I had kernel 2.6.18, and I installed the ntfs-3g driver (along with libfuse, a dependency). It said that I would need to upgrade the kernel to 2.6.20n and I did. Is it possible that the libfuse got lost during the upgrade or are the two completely unrelated? Just so you know, the groups present are: root, bin, daemon, sys, adm, disk, wheel. So, the next question is, how do we make a fuse group? I'll research and see if I can find anything. Any more help is much appreciated.

Regrads,

Branon
 
Old 05-31-2007, 08:07 AM   #9
DirkDiggler
Member
 
Registered: May 2007
Location: Florida/USA
Distribution: Ubuntu Feisty Fawn, Fedora 7, Windows XP
Posts: 91

Original Poster
Rep: Reputation: 16
Hey,

After looking it up, it appears that I will download fuse from fuse.sourcedorge.net and install it. After that, I'll perform the commands previously mentioned. I'll post the results. If there is anything to add, please do.

Thanks,

Brandon
 
Old 05-31-2007, 10:19 AM   #10
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
"how do we make a fuse group?" -- addgroupor groupadd. If the man pages aren't enough, feel free to ask ...
 
Old 05-31-2007, 10:26 AM   #11
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Nothing more to add for now. And yes, I imagine that the problem is a consequence of the kernel upgrade; anything that is closely related to the kernel needs to be upgraded as well.
 
Old 05-31-2007, 01:36 PM   #12
DirkDiggler
Member
 
Registered: May 2007
Location: Florida/USA
Distribution: Ubuntu Feisty Fawn, Fedora 7, Windows XP
Posts: 91

Original Poster
Rep: Reputation: 16
Thank you guys, I'm still in the early infancy stages with Linux. All your help is much appreciated. I'll perform these tasks when I get home. Just to confirm, by installing fuse, will this automatically create fuse group? If it doesn't, I'll add the group with the command told to me by Archtoad. Then, I'll create the character device for fuse. Wish me luck.

Thanks,

Brandon
 
Old 05-31-2007, 02:06 PM   #13
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Yes, it should. But before you install any new packages, I suggest that you simply try adding the fuse group manually. It that helps, you won't even need to install anything anymore. As you can mount the ntfs partition from the command line, your fuse appears to be fine - it's probably on the absence of a fuse group that is preventing the system from mounting the partition automatically.
 
Old 05-31-2007, 09:40 PM   #14
DirkDiggler
Member
 
Registered: May 2007
Location: Florida/USA
Distribution: Ubuntu Feisty Fawn, Fedora 7, Windows XP
Posts: 91

Original Poster
Rep: Reputation: 16
Hey,

So, I tried adding adding the group 'fuse' with the '/usr/sbin/groupadd fuse' command. Everything went Ok. I proceeded to do the mknod and chown commands, went off without a hitch. I rebooted and recieved the same error. Also, in the beginning, before it gets to the fuse portion, it says 'mounting local filesystems: failed'. I don't know if that's an indication of anything other than what it says, but I'm telling you. Now, I don't know if this tells you anything, when I enter the 'groups' command, fuse does not pop up. Only the aforementioned ones do. When try to add the group again, it says it exists. I'm just not sure where it exists. Now, I tried installing fuse from source, rebooted and same error. Tried redoing all of the previous commands, rebooted and still the same problem. Even after doinf the mknod comand, the character device disappears still! Hopefully you guys aren't out of ideas yet. Please advise further.

Thanks,

Brandon.
 
Old 05-31-2007, 11:31 PM   #15
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
That is probably because you are using the groups command as either a regular user or as root. Plain "groups" only show the groups that your user or root belongs to. If you added root to the fuse group, however, it should show up if your run "groups" as root. If you want to see whether fuse exists, you need to run the groups command for user fuse:

groups fuse

As a graphical equivalent of this command, you can simply have a peep at /etc/group - the file that lists all existing groups on your system.

You can also try this to avoid the groups issue altogether:

mknod --mode=0660 /dev/fuse c 10 229
chown root.root /dev/fuse
depmod
/sbin/ldconfig

Last edited by jay73; 05-31-2007 at 11:42 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet : Temporary failure in name resolution : Host name lookup failure koodoo Linux - Newbie 10 02-11-2008 07:59 PM
Mounting Local Filesystem : Failure (Etch) 2Pacalypse Debian 8 01-28-2007 07:10 AM
Time out error and session setup failure when mounting a samba share naab Linux - Software 0 10-11-2006 03:32 PM
Problem mounting partition after failure alpinweiss88 Linux - Hardware 4 12-17-2004 01:19 PM
mounting a samba share failure. exodist Linux - Software 10 08-31-2004 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 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