Ubuntu :: Fstab & Mtab Don't Match

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


ADVERTISEMENT

Ubuntu :: Mount: Can't Find /dev/sdb1 In /etc/fstab Or /etc/mtab

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

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 View Related

Networking :: Fstab / Mtab Hardmount Remote Machine

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

General :: CD Rom Drive - Mount: Can't Find Cdrom In /etc/fstab Or /etc/mtab

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

Programming :: Match Datetime By The Minute (not An Exact Match By The Second)

Oct 21, 2010

I have the following query:

Code:
$sql="SELECT table1.datetime, table1.user_id, table2.ip, FROM table1,table2 WHERE id='$id' AND (table1.id = table2.id AND table1.datetime = table2.datetime)";

In table2 the datetime fields are about 1 to 2 seconds off due to the source of the data, which I cannot change.

Is it possible via a query match table1.datetime & table2.datetime by HH:MM (ie. to the minute instead of to the second)?

View 1 Replies View Related

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

Hardware :: Changes To Fstab (UUID's) / Revert Fstab's Listings Back To The Old /dev/hd Settings?

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

Ubuntu :: Mtab Being Overwritten ?

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

Ubuntu :: Cannot Access /etc/mtab: Input/output Error

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

Ubuntu :: Rename The Fstab-BAK To Fstab?

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

Debian Configuration :: Readonly Filesystem And Mtab?

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

Ubuntu :: /etc/mtab And /proc/mounts Do Not Show Tune2fs Mount Option

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

General :: Keeping Mtab Open To Write Next Commands?

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

SUSE / Novell :: Getting The Original (default) Row Starting With /dev/fd0 From The /etc/mtab File

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

Slackware :: "Failed To Eject "VZAccess Manager Device To Unmount Is Not In /media/.hal-mtab So It Is Not Mounted By HAL"

Jul 12, 2010

I am running slackware-current and using the Novatel usb760 3G modem. before i use kppp to "dial out" I have to eject the device. It works fine except that i periodically get a popup window with:

"Failed to eject "VZAccess Manager Device to unmount is not in /media/.hal-mtab so it is not mounted by HAL."

it happens every 30 minutes to every 10 seconds. anyone ever experience something like this?

View 1 Replies View Related

Ubuntu :: Set Modem Speed To Match ISP?

Mar 30, 2011

I live in the boonies and I have dial up. Whats worse is the ISP has a limiter on the server which cuts the speed down to 26.4 k. Every time I download and the speed gets over that, the modem pauses then starts again. It sucks. If I could just have a steady stream I would be better off.

I am using a Linuxant type hsfmodem hybrid. How can I slow the speed down on the modem so it doesn't jump over 26k so much ?

I tried adjusting the baud which shortens the duration of the pause, I think, but when I go lower it actually makes it longer.

View 2 Replies View Related

Ubuntu :: Themes Which Can Match Window7 UI?

Jun 19, 2010

Are there any themes on ubuntu which can match win7 UI?

View 2 Replies View Related

Ubuntu :: Desktop Edition - MD5 Files Do Not Match

Jul 10, 2011

Where can I get a good copy of Ubuntu desktop edition. I have a cd of Ubuntu 10.04 but it will not load on my machine. This same cd did load at one time on the same computer.Every time I download ubuntu and check the MD5 files they do not match.

View 2 Replies View Related

Programming :: Use Awk Or Sed To Match ?

Apr 8, 2011

How awk and sed can be used to preg match strings? how would I go about matching a string like:

Code:

View 7 Replies View Related

Ubuntu Installation :: Error: Fixup Signature Not Match?

Mar 29, 2010

Details:Using wubi, just installed 2 weeks ago did an upgrade and got a grub command line "sh:grub>" dealI set the root of everything to my hard drive, and when I told it where the root.disk was located it says "error: fixup signature not match"

View 1 Replies View Related

Ubuntu :: Weird Wire Icon Does Not Match Theme?

Apr 14, 2010

Thats looks like a DSL icon, but I am using wired. It was looking normal before and now this ugly icon keeps showing up.

View 1 Replies View Related

Ubuntu Networking :: Thunar And Terminal Permissions Don't Match?

May 6, 2010

I just upgraded my laptop to Xubuntu 10.4. I have a nfs server I connected to with my old Xubuntu 9.10 set up. I loaded portmap and nfs-common then made a mount point. I chowned and chmodded the mount point in the terminal to my user name. But Thunar (the file manager for Xubuntu) won't let me open subdirectories. So I went back to the terminal and chowned and chmodded again with a -R. In the terminal I can read and write as user. Thunar (as user) says I don't have permissions to see the subfolders. When I start Thunar as root it assigns the permissions to my user name but not when I start Thunar as user. When I start it as user and browse to the folder and select properties it says the owner is root. What the frak? How do I get Thunar to see the permissions I set in terminal as sudo? Or better yet, how can I set the permissions for my mount point so that I can access and write to directories and files on my nfs share. I have no problems with my other computers with this server's shares.

View 2 Replies View Related

Ubuntu :: Program That Can Match Adobe Acrobat 9 Pro Extended?

May 12, 2010

Is their a program in ubuntu that can match adobe acrobat 9 pro extended?Or what is the best ubuntu PDF program, that can allow the most features seen in adobe acrobat 9 pro extended.

View 1 Replies View Related

Ubuntu Security :: Hide System Information How Match RAM

Jun 25, 2010

Im using Ubuntu 9.10.When I use Nessus scan to scan my computer I can receive information about how match RAM, how man CPU etc.

View 1 Replies View Related

Ubuntu :: Regex In Grep - Match With Any Character Combination

Dec 10, 2010

regex in grep? I need to match ANYTHING in the following with any character combination (something like * in findstr in C): grep "Delivery of nonspam" /var/log/mail.log | grep "to [URL]"

View 1 Replies View Related

Ubuntu :: Match Custom Kernel Config To Laptop?

Feb 17, 2010

How do I discover which kernel config parameters are important for my laptop hardware and frequently used applications? I'm not looking for something that is 100(...)% optimized for my hardware. I would prefer to have modules for everything that I don't use at all or often. I would prefer to avoid modules (built-in) for things that I use all the time but then any updates might mean a kernel rebuild. I'm currently running the generic PAE edition of the repository kernel. I think that I'm running the 32-bit flavor at that.

Code: user@host:path$ uname -a Linux mumbles 2.6.31-19-generic-pae #56-Ubuntu SMP Thu Jan 28 02:29:51 UTC 2010 i686 GNU/Linux I know the following from sysinfo

[Code]....

View 7 Replies View Related

General :: Delete Only First Hit /match With Sed?

Jan 23, 2011

$ echo -e "AsometAhingA
somethingA
ASomethiAng"
AsometAhingA[code]....

I know that sed "s/A//" deletes the first match in every line.But i want to delete only the first match in a txt. like: sed -i "MAGIC" file.txt

View 3 Replies View Related

General :: Sed - Match Even Characters Only?

Sep 3, 2010

Say I had a string like so

Let's say I only wanted to grab TAC and BDX the ones in the 2nd, 4th, and 6th spot.

Will grab the lines from the rest of the file assuming these are the only lines with capital letters at the very beginning of each line.

Will delete the first 'T'. What I want to do is learn how to just pick the even characters, T(T)A(A)C(C) & B(B)D(D)X(X).

Is there something like the {1} which can pick just the even or odd character matches?

View 3 Replies View Related

Programming :: Sed - Add A Line After A Match?

Sep 16, 2009

I need to edit the sudo file on lots of machines. I figure the easiest way is to run a for loop to ssh to each box, sed the sudoers file to a new file & copy/move back over the top of the original (and of course, change permissions accordingly)

The problem is, I'm not sure how to add a line after a match with sed.

So if my file looks like:

Code:

I'd like it to add the new sudoer after "other" so the file looks like:

Code:

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved