Fedora :: Sshfs Entries In /etc/fstab Prevent Booting
Jun 3, 2011
I added an sshfs entry fto /etc/fstab in a fresh FC15 build ona laptop and this seems to work
sshfs#user@server:/opt/apache-tomcat-7.0.2/webapps/ /mnt/server/opt/apache-tomcat-7.0.2/webapps/ fuse uid=500,gid=500,allow_other 0 0
I can mount and umount /mnt/server/opt/apache-tomcat-7.0.2/webapps/ without problems.
But after a reboot the systme it hangs when loading, I can't copy paste the messages but it said something about boot dependencies, and it was apparent the error was loading fstab. I had to Ctrl D or enter root password to get a recovery system, after commenting out the sshfs line (and some nfs lines too) from /etc/fstab after another reboot I was in.
sshfs used to be permitted in /etc/fstab it seems , I've not used it before, could this be a FC15 issue? I have seen other threads about FC15 and nfs boot issues presumably to do with the new booting mechanism.
View 2 Replies
ADVERTISEMENT
Jul 15, 2010
I decided to implement quota on /home file system, but unfortunately I had not separate partition of /home file system. So I made entries in fstab at root (/) partition as follow:-
Label=/ / ext3 defaults,usrquota, usrgroup 1 1
and reboot the system, but my system could not give me login screen and after a longtime giving many "read only files" error ends up at following error message:-
"I could not start the X server (your graphical environment) due to some internal error. Please contact your system administrator or check your syslog to diagnose. In the meantime this display will be disabled. Please restart gdm when the problem is corrected."
I also got single user mode and try to remove changes whatever i had made recently but it gives me read only fstab file.
View 9 Replies
View Related
Dec 11, 2010
I have UUID entries for USB devices in fstab in my Ubuntu 10.10. I assume this is because I have upgraded my Ubuntu's since 8.04. Each time I boot, I get a message saying it cannot mount the devices even though they are present. I have to skip mounting in order to complete the boot process. I also have two filesystems mounted at Root ( /). See later post in this thread.can I safely remove these entries from fstab and have Ubuntu automount the devices? If I do so, will this get rid of the messages at boot time?
View 3 Replies
View Related
Aug 21, 2011
I'm kinda new to Linux. My problem is that a new Fedora O/S entry is added onto grub everytime I receive an update on Fedora (I think). Eg:
Fedora 15 15.40.0-4 ...
Fedora 15 15.40.0-3 ...
Fedora 15 15.38.0-0 ...
Windows 7
How do I stop this? Ideally I'll only have two entries, Fedora 15 and Windows 7 where Windows is set as the default primary o/s to boot up. The current method I use is to fiddle around with that grub file and set default to entry 3, which used to be Windows 7 but is now a Fedora (which means Fedora is now set to default boot up).
View 4 Replies
View Related
Jan 17, 2010
I am getting this error when trying to mount my client on the directory I exported in Yast2 NFS Server
View 9 Replies
View Related
Jul 29, 2011
After installing 11.4 my fstab entries for CD and DVD drives as well as floppy generate errors when I try to mount them automatically or via Nautilus when inserting CD or DVD. The icons and CD/DVD name show up ok but will not mount. Manually mounting via terminal command works. Here are the relevant lines from fstab
[Code]...
In /dev scd0 and scd1 are symlinks pointing to sr0 and sr1 respectively. The above error message was generated after attempting to load a CD in scd0 i.e. my laptop internal CD/DVD drive. Lines 10,11 and 12 are the fstab lines quoted above.
View 6 Replies
View Related
Dec 15, 2010
UUIDs make fstab hard to read, so.. Is it possible to use udev rules to prevent HDs to change device, instead of using UUID in /etc/fstab?
View 2 Replies
View Related
Jun 15, 2011
when i starting the server..it is coming to maintenence mode and saying repair file system...because /home1 was not found in /etc/fstab.. when i tried to remove the entry from fstab for /home..it is read only!!
View 5 Replies
View Related
May 16, 2011
Recently installed Centos 5.6 in order to install Plesk on. Not familiar with Linux partitioning so left the default values at install with a few GB of unpartitioned space left free. Followed the instructions on the Plesk installation manual for adding a seperate partition for /tmp - [url]
Then later on I couldn't get in to the server locally via the GUI (which was already switched on), it just had a black screen so I powered the machine off. It then wouldn't boot back up. When it got to e2fsck I got a [Failed]. I also got the same message as in this thread.
I'm now at a remote location. When logging in as root and trying to run fsck to find and fix any disk problems a remote engineer has found that it won't unmount the partitions so I can't really run fsck on it. He's forced the machine to boot for me and I have SSH access but if I reboot the machine I'm quite sure I won't be able to get in again from here.
Is there something wrong with my fstab maybe?
View 4 Replies
View Related
Mar 21, 2010
I installed Ubuntu on a portable harddrive so that I can use it independently of my computer (when I visit my parents or my g/f). I performed the installation using a bootable Ubuntu thumbdrive, everything went fine but when I unplugged the thumbdrive and rebooted I got a kernel panic. I was able to boot into Ubuntu on my external drive once (I think it might have been due to reordering boot order in BIOS). My guess is that the kernel panic occurs due to the drive letter changing (sdb -> sdc) depending on which external devices are plugged in, but I'm not sure how to make sure that's the case. And if it is, how would I prevent this from happening?
View 2 Replies
View Related
Aug 3, 2011
I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)
View 5 Replies
View Related
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 Replies
View Related
Jan 15, 2010
I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.
My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.
So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?
And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.
I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.
View 4 Replies
View Related
Oct 13, 2010
I am working on Red Hat Linux since last six months and learning it steps by steps. like configurating ftp server,NSF ,DNS and then email server. I want to learn squid server but technically before going into it what you suggest me that may I first learn to configure Linux as a router,Firewall machine or do IP masquerading on a server. Because all these things are directly or indirectly involve in squid.So guide me because going to start squid i may understand Linux IP table ,how to add entries in it,how to delete entries ,I think you understand my point which i want to ask for guidence.
View 4 Replies
View Related
Jan 19, 2010
I've apparently changed my fstab file and now my boot drive fails to mount. The original file is still there "fstab.BAK". How do I rename the current fstab to another name and rename the fstab.BAK to fstab? Since this is read only in the /etc directory I have not been able to make this happen from a command prompt.
View 9 Replies
View Related
Jun 1, 2011
I am in a situation to boot fedora 15 live cd in to command line mode, not graphical mode, for some testing purpose. how to change argument during booting mode
View 4 Replies
View Related
Oct 13, 2010
I know that SSHFS is the way to mount the file and directory on remote server. It has many advantages such as security, convenience, fast and so on. I wonder if there is disadvantage of SSHFS and the alternative to it? I am looking forward to your reply.
View 2 Replies
View Related
Sep 6, 2009
I have encountered something of a mystery here. The other day while in /dev I ran 'ls sda*' and noticed this...Quote:
ls -lZ /dev/sda*
brw-rw----. root disk system_u:object_r:fixed_disk_device_t:s0 /dev/sda
brw-rw----. root disk system_u:object_r:fixed_disk_device_t:s0 /dev/sda1
[code]...
View 3 Replies
View Related
Feb 2, 2011
I'm trying to automatically remove some of the old GRUB entries that pile up after a few updates and just want to leave live 2 or 3 there along with my Win7 entry. I was looking and saw that there is a utility for Ubuntu but I couldn't find anything for Fedora.
View 7 Replies
View Related
Aug 8, 2011
I recently installed F15 on my laptop. Earlier today I updated a little bit more than 500 different things, and then rebooted. Upon seeing the GRUB menu, I saw that one of the updates added a newer menu entry for Fedora- the newer one's version was a fraction higher than the older menu entry.Anyways, is it safe for me to comment out the old entry in /boot/grub/menu.lst?
View 6 Replies
View Related
Oct 21, 2010
I have installed two OS on my PC. Windows 7 and fedora 12,but when I boot it shows 3 entries for fedora and one for windows to select. How can I remove redundant menu entries without affecting boot loader.
View 1 Replies
View Related
Sep 2, 2009
I remember automounting my windows drive (I dualboot windows and fedora) using /etc/fstab.
Now I can't find what to add to the file in order to mount my drive.
The drive is /dev/sda2 and I would like to mount it at /mount/windows, it's an NTFS drive.
I have been looking around the forums and reading the manuals but can't figure it out
View 3 Replies
View Related
May 5, 2010
Sshfs was working before - sheesh, I was using it! Today, all I get is an error that tells me it can't find the command. So I go to yast and reinstall it. No change - I'm still getting the error! What could be going on?? Fuse is installed.
View 2 Replies
View Related
Apr 29, 2010
Right, just a quick question about rsnapshot over sshfs and encfs. I've set up an encfs filesystem, and when mounted on the remote machine remotely:
Code:
touch foo.bar
Code:
cp -al foo.bar foo.car
Works as one would expect it to.
The same is true on the local machine (The EncFS has External IV chaining disabled). However, when the remote dir is sshfs mounted on my computer here, and then encfs'd to a decrypt mount on my computer, I can move files to it, and they go over the network and get encrypted, however:
Code:
cp -al <file> <file>
No longer works, I get 'not implemented' errors...
I thought since I don't have External IV chaining this shouldn't be an issue - I've tried without any of the file chaining options, again to no effect. All work remotely, or with both locally, but not over sshfs. Is this a quirk of sshfs?
View 1 Replies
View Related
May 6, 2010
I just updated to 10.04 from 9.10 and suddenly gedit is saying I don't have permission to save files in an sshfs-mounted directory. Nothing I've found through Google works.
* I'm mounting using `sshfs james@of1-dev-james:/home/james/projects $HOME/projects`
* `fuse` is listed in /etc/modules
* I'm a member of the `fuse` group
* Using `newgrp fuse` before mounting stops gedit from seeing the mounted directory at all.
* /dev/fuse belongs to `root:fuse` and has `crw-rw-rw-` permission.
* Other apps e.g. `nano` have no problem reading/writing to this directory.
View 6 Replies
View Related
Mar 6, 2010
I'm wondering if anyone can give me some guidance, or point me to a relevant reference for setting up a single purpose ssh key.I have setup a single purpose key for rsync, where I have command="/path/to/rsync-secure" associated with the public key in .ssh/authorized_keys, and the rsync-script checks to make sure incoming commands begin with 'rsync --secure', What I would like to do is do something similar to allow sshfs access, and have the server path that can be mounted locked down to a particular location. Does anyone have any suggestions as to how this could be done?As an aside, I might also want to restrict the above rsync script to only allow synchronization to a particular path.
View 1 Replies
View Related
May 25, 2011
install sshfs in centos 5.5 but i was not able to get the correct package to install.
View 5 Replies
View Related
Jan 12, 2010
I'm a comparative newbie, especially with using WINE. I installed it through the F12 package installer. I then found that the Applications menu entries were inoperative. Just plain dead. I tried uninstalling, then reinstalling. No improvement. Tried again from terminal using yum no change. The only way I've got anything to work is if I run from terminal as root. I know that if the .wine directory is created with root it may only work with root. I've tried deleting that directory, but I'm not sure I succeeded. I don't see the .wine directory but nothing runs with a non-root login.
When I do see errors, they are mostly that the program can't be found in a WINE "DOS" directory. I did get two MS Office apps installed (as test cases) but, again, F12 menu items don't work and I can only run them as root. I think internet access is cut off as well (can't get them to activate). I guess my overall question is: How do I install WINE in F12 such that the menu items work for non-root logins? If there's already a guide, wiki or FAQ, I'd be happy to know where it is.
View 1 Replies
View Related
Nov 11, 2010
Running from F-14-i686-LIVE CD to test before I install. I have a Transcend 640GB USB-3 external drive connected through a Transcend pci/express adapter, chipset NEC D720200.
lspci yields: USB Controller: NEC Corp uPD720200 USB 3.0 Host Controller Rev 03.
I see no activity nor any log entries in /var/log/messages when I plug in the USB-3 drive. If I plug the same drive into a USB-2 port on the mainboard, all works as expected.
View 2 Replies
View Related
Jan 24, 2011
I have two entries (identical ones) of the same app under Applications on my gnome panel. How can I remove one of them?
View 5 Replies
View Related