General :: ERROR:can't Find /mnt In /etc/fstab Or /etc/mtab
Sep 22, 2010
I've observed a problem which stops me from mounting my external hard disk into my machine. I used a bash script to perform the mounting operation; but the script faced error, Whereas the mount command works properly correct when I use it directly in command line.
#!/bin/bash
mount_point= fdisk -l | sed -n '$p' | cut -c1-9
mount $mount_point /mnt
the code should have split the mount location of external hard disk in /etc/fstab and pass the mount_point' variable to mount command, but it doesn't.
ERROR:can't find /mnt in /etc/fstab or /etc/mtab
View 4 Replies
ADVERTISEMENT
Nov 9, 2010
I tried to mount my CD Rom drive and got this response: "mount: can't find cdrom in /etc/fstab or /etc/mtab"
I did see the CD Rom drive briefly after I upgraded from 10.04 to 10.10 but I couldn't access the drive and when I logged back in.
View 5 Replies
View Related
Sep 28, 2010
I just installed pysdm so I could configure what drives mount on boot, and now when I go to access my external harddrive, this is what I get:
Unable to mount Hard Drive
Error mounting: mount exited with exit code 1: helper failed with:
[mntent]: line 11 in /etc/fstab is bad
[mntent]: line 12 in /etc/fstab is bad
[mntent]: line 13 in /etc/fstab is bad
[mntent]: line 14 in /etc/fstab is bad
mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
View 7 Replies
View Related
Jul 6, 2010
My HD contains a Windows, Fat32, two Linux & swap partitions. Recently, I had to recover my partition table with "testdisk", due to a foolish attempt to resize a partition.I recovered all partitions, with the exception of my root partition. I left that unallocated, then reformatted it with GParted, to be of a larger size.All data has been recovered & the PC works fine, just as it always has.The wierd thing is that the original "root" partition seems to co-exist on the same partition as my Fat32 data(???)GParted shows my root partition as almost full, when it should only be about half full....then my Fat32 partition shows empty, when it should be about 3GB full. Root should only be about 5GB, not almost 9GB.I believe that my mtab & fstab are corrupt relative to the partitions that GParted lists, and need to be fixed. However, I don't know where to start.?
View 9 Replies
View Related
Apr 21, 2011
I am trying to get a mount in my root directory to a folder on a remote machine so that a log in is not required to access it. I seem to be having some problems with permissions though.
So far I have:
- added the machine to my /etc/hosts file
- added remotemachine:/data /auto nfs ro,soft 0 0 to my /etc/fstab
- added remotemachine:/data /auto nfs rw,soft,addr=10.112.33.4 0 0 to my /etc/mtab file
- added /hostmachinefolder mymachineip(rw) to the host /etc/exports file
However when I mount -a on my machine I get:
mount: remotemachine:/folder failed, reason given by server: Permission denied
View 4 Replies
View Related
Mar 20, 2010
Code:
ubuntu@ubuntu:~$ ls -al /etc | grep resol
ls: cannot access /etc/mtab: Input/output error
ls: cannot access /etc/resolv.conf: Input/output error
[code]....
Quote:
Code:
ls: cannot access /etc/mtab: Input/output error
I don't like the look of this at all!
View 6 Replies
View Related
May 26, 2010
shut down my RHEL 4 system with an error still present in the /etc/fstab file. Current symptom: When I now try to boot, everything hangs when "Enabling swap space". Highly likely, the reason is the failure to "Mount local filesystems" in the previous step (i.e. "mount point 0 does not exist" = error due to my incorrect line in the /etc/fstab file).Question: Is there any way that I can still boot my system, such that I can remove the incorrect line in the /etc/fstab file?
View 6 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
Jun 21, 2010
I'm looking at an rc.sysinit:
# Remove stale backups
rm -f /etc/mtab~ /etc/mtab~~
# Enter root, /proc and (potentially) /proc/bus/usb and devfs into mtab.
mount -f /
mount -f /proc
mount -f /sys >/dev/null 2>&1
mount -f /dev/pts
I can't figure out what those "~"'s are doing. From the comments it's keeping mtab open to write the next (how many?) commands?
View 1 Replies
View Related
Aug 21, 2011
I've got a setup where I need to use 'find' to find 0 or more files in a certain directory, however, 'find' always produces an error when there are no files that match a certain check. Is it possible to run 'find' while having it omit errors when no files match the pattern?
View 2 Replies
View Related
Jan 13, 2010
Gateway m275 laptop with builtin smartcard reader. I've done modeprobe - <mmc module of all types> after having removed modprobe.conf file. I see that there is a pcmcia rules, Do I add all modules to this list so hat it can be probed. Once pccardctl is working, how do I find the volume and mountit or set fstab to create the mount point or to have it automatically mounted in media.
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
Jul 22, 2011
I am having issues with 3d I am trying to start up a game called auteria but it displays this error "Could not find a compatible opengl display resolution. Please check your driver configuration. (Error: Couldn't find a matching GLX visual)" I am on ubuntu 10.10 could anybody give me a solution on how to fix this issue?
View 5 Replies
View Related
Apr 29, 2010
I just ugraded from karmic, and it all went without a hitch. Except now when i boot i get... Error while mounting /etc/fstab press s to skip or m for manual recovery.
Pressing s works and i have a working machine, but i would like to fix this. Not tried the manual recovery yet as i have no idea about fstab and don't want to break it.
View 9 Replies
View Related
May 13, 2010
v10.4 in place, new install. Now this is really weird, my mtab keeps on being replaced with a default mtab (from where?). I loose my NFS mounts and only notice when they cannot be reached. This also happens it seems randomly (just make it easier to debug and fix)
Now what process has the ability/authority to replace my mtab, that process should have sudo authorization, correct? Is there some kind of silly root kit doing this?
View 2 Replies
View Related
Mar 15, 2011
One entry I have put in fstab results in the failure of a partition to be mounted at boot time. I get the message:
Code: The disk drive for /media/WinXP is not ready yet or not present. Continue to wait; or Press S to skip mounting or M for manual recovery If I choose M and enter the command: Code:mount -t ntfs /dev/sdb1 /media/WinXP then I get no error message, but the partition still doesn't seem to be mounted, when boot completes.
I don't understand this failure. I have created my fstab file using UUIDs to boot Ubuntu on my dual boot machine. It works fine, booting from the hard-disk which is Master on my Secondary IDE channel. For Ubuntu booting the MBR and grub menu are on this disk. The default is to boot Ubuntu , but with an option to select Windows Xp.
As an aside, I can set an option in my BIOS to make the Master disk on the Primary IDE channel the first disk, rather than the second disk. Then the system boots from the MBR on this Primary IDE channel and boots only to WinXP. That works fine.
When running Ubuntu I use space on the Windows disk (on the Primary IDE channel) to hold backups of key Ubuntu files in case I loose Ubuntu - as I did for the past few days. So, to mount this partition I inserted this line into my fstab:
Code:
UUID=0e4851c44851ab6b/media/WinXPntfsnosuid, nodev, allow_other00 I know the UUID is correct because I have checked it with blkid. But the partition is not mounted at boot time. I don't even get an icon for the partition on my desk top. It appears in the 'places' menu, as unmounted, but mounts as soon as I click on it. However, this causes some of my linux apps, which want to load and save to this partition, to post an error message until I have manually mounted it via clicking on it in the Places menu. I want to avoid this manual step by having the partition automatically loaded at boot time. What am I doing wrong?
View 9 Replies
View Related
Jan 22, 2010
I have a system in which I want to have /etc in a read-only filesystem. What can I do with mtab? It gets write at /etc/init.d/mountall.sh (that is, /etc/rcS/S35mountall.sh)
View 3 Replies
View Related
Jul 31, 2011
I'm having a problem trying to customize Ubuntu 11.04 LiveCD.Everything went well until I tried to run the system updates on the LiveCD.This is the error message output:
Code:
root@lkjoel-desktop:/# sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
code....
View 3 Replies
View Related
Jul 1, 2010
I am trying to install some software to view/manipulate N-body simulations, Tipsy, and am getting this error: /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status
View 2 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
Jan 7, 2010
I need the original (default) row starting with /dev/fd0 from the /etc/mtab file. I'm using Suse 11.1
View 1 Replies
View Related
May 11, 2011
I've been around the block with this problem and don't know what else to check to compile source for gpsbabel-1.4.2. Other posts on this forum mentioning the same error with no resolution on this specifically. I have looked at the following:
1. The Makefile looks like this for the part compiling with expat options:
Code:
gpsbabel$(EXEEXT): configure Makefile $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -lm -L/lib -lexpat -L/usr/lib -lusb $(OUTPUT_SWITCH)$@
2.Search for library files:
Code:
$find /usr/lib -type f -name "*expat*" -print
/lib/libexpat.so.1.5.2
/lib/libexpatw.so.1.5.2
[code]....
View 1 Replies
View Related
Jul 3, 2010
When i install libdrm, i get the following error:checking for clock_gettime... no.checking for clock_gettime in -lrt... no.configure: error: Couldn't find clock_gettime
It seems that it cannt find clock_gettime function, but i find it as follow:
$ grep clock_gettime /usr/include/time.h
extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __THROW;
View 6 Replies
View Related
Feb 2, 2010
I run a mediaserver on Archlinux, working perfectly (or almost). I have set up NFS v3 and that worked for me on these clients:
- Debian Lenny
- Archlinux 64bit
Now I've upgraded my Lenny-box to squeeze and I see that 2 of my 3 shared folders (tdone and twatch) are mounted like they should and the third one (media) doesn't come up. A 'mount -a' as root gives this error: mount.nfs4: access denied by server while mounting (null) My relevant fstab-lines:
[Code]....
how I can go about debugging this?
View 1 Replies
View Related
May 23, 2011
I just discovered that you can automount an ext4 filesystem with acl enabled by running "tune2fs -o acl". (I knew about tune2fs but did not dare to use it until now). However, the acl mount option does not show up in /etc/mtab and /proc/mounts. Can I ignore this, or is there a way of telling the system about the actual mount options?
Edit: I can do "tune2fs -l <device> | grep acl | awk '{print $4}'" and if that isn't empty I can update /etc/mtab with "mount -f -o remount,acl <device>", but like the udev rule I previously messed with this seems lumberingly unelegant to me.
View 2 Replies
View Related
Oct 12, 2010
I recently installed ubuntu on an external hdd. i tried turning on my laptop w/o the hdd connected and when it went to boot it gave me an error saying that it couldnt find grub. all i wanted to do was boot into windows 7. is there anyway to set it up so i can just boot off my main hdd for windows and use the bios and choose to boot off my external to boot grub and choose what i want to boot like say linux?
View 3 Replies
View Related
Sep 16, 2010
I am trying to run i386 in gcc_test-suite using dejagnu runtest and it fails with error given below. I can see that gcc-dg.exp is in folder gcc-4.6-20100911/gcc/testsuite/lib, but runtest is not searching in this folder.
how to resolve this issue and run only i386 tests.
$ cd /gcc-4.6-20100911/gcc/testsuite/gcc.target
$ runtest -a -tool i386 -verbose
....
....
Looking for library file /usr/local/share/dejagnu/lib/gcc-dg.exp
[Code].....
View 6 Replies
View Related
May 27, 2011
find /var/spool/mqueue -group abc -exec rm -rf {} ;Using above command , I delete all the files belong to group abc.Now the problem i face is that the this command gives error that some files are missing . And this error occur because after creating list of files, it pass that list to rm -rf but till that time sendmail process queue and some of files disapper from /var/spool/mqueue.
View 5 Replies
View Related
Apr 12, 2010
I am trying to install syslog-ng-3.0.2 on Fedora 12 and have run into an issue I don't know how to solve. When runing the "configure --enable-ssl" I get the following "checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.14 checking for GLIB - version >= 2.0... 2.0, bad version string no configure: error: Cannot find GLIB version >= 2.0: is pkg-config in path?" I have glib-2.24.0 installed on this system so I don't understand where this issue is coming from or how to fix it.
Back ground on my system -
[root@syslog-ng]# set PKG_CONFIG=/usr/lib/pkgconfig
[root@syslog-ng]# export PKG_CONFIG
View 8 Replies
View Related
Dec 25, 2009
I need to delete all *.trc files that are older than 30 days and I am getting a "Argument list too long" error. There are other files that should not be deleted which is why I am using the "*.trc" and newer files need to be kept as well. I have seen other postings but they do not cover both of the conditions. Below are 2 of the many attempts at doing this but I cannot get this to work.
find *.trc -mtime +31 -print| xargs rm -f {}
find *.trc -mtime +31 -print -exec rm -f {} ;
View 3 Replies
View Related