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


ADVERTISEMENT

Ubuntu :: Can't Write On Fstab Bcz Of Readonly Filesystem

Jul 13, 2010

i was using ubuntu 9.04 . i had changed fstab mount option of my ubuntu partition from exec,utf8 to executf8.now i cant get the gui of my ubuntu . only command line appears and i cant edit fstab even from root. it says that the filesystem is readonly.i tried mount -o remount,rwit does'nt work.if anyone have a methode other than reinstall my ubuntu.

View 3 Replies View Related

Ubuntu :: Home Filesystem Suddenly Goes Readonly

May 23, 2011

I am a new Ubuntu user running Lucid Lynx and since some time suddenly my /home filesystem (mounted as ext3 on /dev/sda2) goes read-only.Is there a way to mount back the filesystem in the correct way without rebooting the system? I assume I won't be able to unmount the filesystem when I am logged on.

View 9 Replies View Related

General :: Updating Busybox From Router (readonly Filesystem)?

Feb 26, 2010

I have a Linksys WRT54G with the Tomato firmware on it. So the system running on the router is Busybox 1.14., which as far as I know is Linux-based. I want to update the busybox to the newest version, using ipkg which is the only package manager it has installed on it. By the way, I use telnet to access the router. So I use # ipkg install (the url to newest busybox release) but at some point it stops and says:

mkdir: cannot create directory '//opt/usr/': Read-only file system

so what can I do? How can I make the filesystem read-write?

View 1 Replies View Related

General :: Recovering Data From Ext3 Partition With Hardware Errors - Recovery Required On Readonly Filesystem

Jan 10, 2010

I have an external 3.5" USB 250Gb HDD which is showing symptoms of hardware problems (repeated /var/log/messages errors of "reset high speed USB device using ehci_hcd"). This was originally plugged in to my NSLU2 running Debian Etch. I have just installed Ubuntu Desktop 9.10 to a spare Pentium-3M laptop and was hoping to copy the contents of this HDD to a fresh drive. However, I cannot mount it even read-only; mount -o ro /dev/sde3 /mnt/disk fails, and the /var/log/messages error is "recovery required on readonly filesystem", "write access unavailable, cannot proceed". I cannot understand why mounting a disk read-only should require write access. Following advice I googled elsewhere, I tried running mke2fs -n /dev/sde3 to try to list the alternative superblocks - but once again I got the error that the device was read-only. How can I go about accessing the data on this disk?

View 11 Replies View Related

General :: Remount Root Filesystem As Read/write After Modify Readonly-root File?

Dec 21, 2010

My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:

# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs

[code]...

View 3 Replies View Related

Debian Configuration :: System Does Filesystem Check On Every Boot After Upgrade

Jul 5, 2015

A few days ago I upgraded my debian sid system, and since then systemd does a filesystem check on every boot which takes over two minutes, disobeying the existing settings I had. How can I set systemd to do a filesystem check only once every a set number of mounts, like I had set up before the upgrade?

View 5 Replies View Related

Debian Configuration :: Copying / Moving Root Filesystem To Another Partition?

Mar 4, 2010

My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?

View 8 Replies View Related

Debian Configuration :: Create An Encrypted File And Later Mount It As A Filesystem?

Aug 24, 2010

I am trying to create an encrypted file and later mount it as a filesystem.

KEY=`tr -cd [:graph:] < /dev/urandom | head -c 79`
echo $KEY | openssl aes-256-cbc > container.key
dd if=/dev/urandom of=~/container.img bs=1G count=10
losetup /dev/loop0 ~/container.img

[code]....

The luksOpen command asks me for my passphrase, but always rejects it. I have retried this several times and written down the passphrase - and even tried with a very simple one just to check. And I never can make it work.

View 2 Replies View Related

Debian Configuration :: Keyboard Layout Used At Boot For Encrypted Filesystem?

Jun 28, 2011

how can I set the keyboard layout used by Debian to enter the password of my encrypted filesystem?

After my recent "aptitude upgrade", I have not been able to mount my encrypted filesystem anymore. I have discovered that the keyboard layout used to enter the password has changed. Problem is that with such layout I can't enter some of the characters composing the password. The encrypted filesystem looks intact, since I have been able to mount it and backup my files by means of a live CD. That means that I can edit any system file, if needed.

Every technique I have found to change layout cannot be employed in this case, since they rely on the system being up and running. I've tried editing /etc/default/keyboard, but that does not work.

View 2 Replies View Related

Debian Configuration :: Fastest Partition Scheme Filesystem For Flash Media?

Nov 11, 2010

I thought this might interest someone out there:[URL].. I used SD cards with MBR formatted as ext2 for backup. After I read these articles, I reformatted my cards with GUID Partition Table and ext4 format. Now I make my backup in half the time!

View 2 Replies View Related

Debian Configuration :: Permissions & Fuse - Mount A Remove Filesystem Onto Own Server

Feb 10, 2011

I'm trying to mount a remove filesystem onto my own server. I am able to do this, however I can only access it as root, or if I chmod 777 the lot. Obviously I want to be as secure as possible, so I'd like to avoid either one of those options. Another option is to mount it directly into my home directory, but previously when I was trying out Ubuntu this caused Samba problems - and I was advised mounting in my home dir was a workaround rather than a proper fix.

I have root access with sudo on my own server. I've not set a root pasword, and until I need to I'll avoid it. I have a user account with full control over my own home directory on the remote server. I am mounting using fstab - sshfs#username@remoteserver:/media/sdk/home/username/ /media//remote/ fuse    user,idmap=user 0 0

What I would like to do is without changing the permissions on the remote server change the permissions when they are mounted on my own server. I would like them to be in the group sambausers for example. Instead they are owned by root and in the group of 1024 (which I have not set). Additionally for this to work they would have to have 770 on my home server and 700 on the remote server....

View 1 Replies View Related

Debian Configuration :: Bad Superblock On Ext4 Filesystem - Everytime - Computer Powered Off - Clock Resets To 1999

Jan 15, 2010

I added an ext4dev filesystem to my hard drive as /dev/sda3 and mounted at /share with the goal of putting all of my multimedia files on it and sharing it through NFS. I followed this guide: [url]

Of course, this was from lenny (hence the -dev). The partition was fine, and I mounted it numerous times. I also performed a dist-upgrade to squeeze. I shutdown that computer with the usual 'shutdown -h now' and disconnected the AC power cord from it, because I wasn't planning on using that machine for awhile. As far as I could determine, everything was fine before I unplugged it.

Every time that computer is powered off, the clock resets to 1999 because the battery is bad. So I am used to getting the "last mount time is in the future" error.

Three weeks after halting, I powered the computer back on. It was unplugged until this point. I got an error message when it attempted to mount /dev/sda3

I then removed its line from /etc/fstab, rebooted. and tried to check it, but I just keep getting the same error-- even with the '-b 8193' option.

The machine is still using the 2.6.26 kernel from lenny. I am building a new one right now (2.6.30), hoping that the problem is caused by the ext4dev/ext4 module. Otherwise I don't know what to do.

View 14 Replies View Related

General :: Bash - HISTSIZE - Readonly Variable -bash - HISTFILESIZE - Readonly Variable

Dec 8, 2009

On one of my servers I see this when I log in. What does this mean and how can I get it to go away? Everything seems to work fine, but none of my other machines give this error.

View 5 Replies View Related

Debian Configuration :: Lvm Partition - Warning "Unable To Detect Filesystem"

Dec 21, 2010

/dev/sda 74.53gb. Here are two partitions sda1 243.13mib (33.92 used), flags 'boot', and sda2 74.29gb flags 'lvm'. Filesystem for sda1 is ext2, for sda2 'unknown' and it gives a warning "Unable to detect filesystem". At last shut down I also notices red text that said something about logical volumes and lvm.

[Code]...

View 5 Replies View Related

Debian Multimedia :: When Open An Open Office Document From An NFS Share It Always Opens As Readonly

Apr 27, 2010

When I open an open office document from an NFS share it always opens as readonly. This was a problem I had on Arch linux and the fix was to change the locking options in the soffice script but I've tried that fix here and it doesn't work. I've seen a lot of discussions but they all go back to changing the locking options in soffice, has anyone got any alternative fixes or one that definitely works with locking?

View 4 Replies View Related

Debian Configuration :: "Squeeze" - Trigger "Check Disk" During Boot (before Filesystem Is Mounted)?

Nov 20, 2010

as far as i know Debian "Squeeze" has a disk check utility, but you can't run this on a mounted filesystem. Is there a way to trigger this during boot (before filesystem is mounted) ? I can run this once a month to keep filesystem healthy....

View 2 Replies View Related

Red Hat / Fedora :: How To Convert Root Filesystem Into LVM2 Configuration?

Jan 22, 2009

i want to know that if i install linux on to my pc with SWAP/ boot as partition and after that i want to convert them to LVM2 type configuration .how can i do that.i want to create a system having logical volumes from that system without reinstalling these partitions should convert into two LV's
LV 0 for root
LV 1 for swap

both in one volume group.

View 1 Replies View Related

Red Hat / Fedora :: Filesystem Check After Power Outage - WARNING: "Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage"

May 18, 2011

I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:

*/dev/sda1 contains file system w/errors, check forced it then goes on to say..

*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message

*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)

Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.

Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?

View 2 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 :: 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 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

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 :: 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 :: 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

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

Ubuntu :: SD Card Only Opens In Readonly?

Jul 12, 2010

I am trying to write a file to a SD card in my card reader.When Ubuntu first boots in and I open up the SD card It gives the option to create folders and files. However after a second or two the window closes and then will only let me vew the files.Does anyone know how I can fix this so that the SD card is able to be written to?The lock is not on the SD card, and under permissions it states that I have permission to create and delete files.I am using an up to date version of Ubuntu Lucid Lynx 10.04I have tried searching for a solution but cannot find anything relevant that works

Edit :
output of syslog from removing and reinserting the SD card
Jul 12 19:19:19 p0is0n-desktop kernel: [ 1122.332963] sd 10:0:0:0: [sdd] 3970048 512-byte

[code]....

View 9 Replies View Related

Programming :: Perl Can't Find The Readonly.pm

May 18, 2010

I am following a gtk2-perl tutorial, so I wrote the test program, installed gtk2-perl, and got this error:

Code:

Can't locate readonly.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1 /usr/share/perl5/site_perl/5.10.1 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current .) at ./test.pl line 7. BEGIN failed--compilation aborted at ./test.pl line 7.

I googled readonly.pm, and figured out it's part of some Readonly module.But how do I install it? Preferably using the Arch package manager?

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

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







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