error writing read only file system ubuntu Aaronsburg Pennsylvania

Address 257 S Pennsylvania Ave, Centre Hall, PA 16828
Phone (814) 364-9913
Website Link

error writing read only file system ubuntu Aaronsburg, Pennsylvania

I tried it out, but when I get to the login screen, the keyboard doesn't work. I have used a seperate partition of my hard disk to mount the writable layer instead of using tmpfs. up vote 0 down vote favorite 1 I do find /media/masi/FAT32/ -type f -name '._*' -delete but I get find: cannot delete '/media/masi/FAT32/._booklet.pdf': Read-only file system I do not know how sudo: Can't open /var/lib/sudo/ryanmcclure/0: Read-only file system I also use xpad (a sticky note program) and if I edit the notes, there is never a problem until about 4 minutes later

If they have confidence that the underlying hardware is fine, then it's an issue between the kernel and the hardware, ie, the virtualisation layer. If you don't need any persistence between boots, it is pretty easy to use tmpfs. How to mount a disk image from the command line? I say it is a bug.

In order to maintain access to these mounts, we'll have to bind them to a new mount point under ${rootmnt}. Forest February 23, 2009 Philip: Sorry to hear you had problems. I assume that that is the kernel that you are running. Terminal says after entering any sudo command that it is a read-only file system.

I changed: mount -bind "${ro_mount_point}" "${rootmnt}/ro" mount -bind "${rw_mount_point}" "${rootmnt}/rw" to mount -move "${ro_mount_point}" "${rootmnt}/ro" mount -move "${rw_mount_point}" "${rootmnt}/rw" I found this prevents having extra entries in mtab and prevents errors Is it "eĉ ne" or "ne eĉ"? For us, the most critical (and expensive) component in our virtual infrastructure is storage. (We're now using HP LeftHand with 1 Gbps iSCSI connections, and have not had any storage issues For more thorough checks see also the -t and -V options, as well as -f to try saving the content of damaged files.

Try to save valuable data from the drive by copying it to some other drive or your home directory. Richard share|improve this answer answered Dec 8 '15 at 11:51 Richard Moore 62 add a comment| up vote 0 down vote Note that sometimes this can be caused by the computer Additionally, we may want to have access to the read-only and read/write layers independently from the union. Great answer.

How do I explain that this is a terrible idea? Matt Anderson January 28, 2011 This worked great for me on Ubuntu 10.04.01 LTS. Can an ATCo refuse to give service to an aircraft based on moral grounds? User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License.

Edit: the smartctl command I gave is correct as written. Purusothaman September 23, 2010 Good article, I have tried and i was able to successfully make the rootfs as read-only using unionfs.But i have following two issues: 1.Unable to unmount the This allows us to continue to use the standard Ubuntu configuration mechanisms for specifying the device that contains the real root filesystem. Thanks for the great write-up.

Going to blog this and use it to roll out 6 full Ubuntu PCs in a public area. Once seting up Java to allow unsigned certificates--hint: under the Java Control Panel click the "Security" tab, and slide the "security level" to the bottom "Medium". Never thought this kind of task could ever be that simple. How to mount a disk image from the command line?

Results 1 to 2 of 2 Thread: Read Only File system problem Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded That will potentially corrupt your data. Is there a place in academia for someone who compulsively solves every problem on their own? One good advantage of having this system is you can now merge squashfs file to your root at real time without rebooting the system.

share|improve this answer edited Oct 22 '13 at 13:47 answered Oct 22 '13 at 8:06 MadHatter 57k8107166 I edited question - I tried this command with sda/sda2 but it Hot Network Questions Are independent variables really independent? I believe most of these kinds of issues are now a thing of the past, but if you find yourself troubleshooting mysterious failures, keep it in mind. Is intelligence the "natural" product of evolution?

The primary boot method can be configured in initramfs.conf by changing the value of variable "BOOT." By default, it is "local," a boot method that mounts the root filesystem on local This usually means there is a single writable layer in the union. You should probably get your VPS provider to confirm that the distro, and the exact kernel version, that you're running are fully supported on their VPS system. Will update if I see some error.

dmesg | grep "error" gave me: ext3-fs (sda2): error: couldn't mount because of unsupported optional features (240) ext2-fs (sda1): error: couldn't mount because of unsupported optional features (240) ext4-fs (sda2): mounted Write accesses are performed similarly, but files that are written to are stored in the top-most writable filesystem. share|improve this answer answered Nov 4 '10 at 15:43 hotei 3,42421224 I might not have been in a root by accident when I did that, but I think that Forest April 28, 2009 Hi Mark, That's definitely the right way to do it.

Setting up a read-only Debian system? Make sure your HDD is working properly and/or backup your data before doing anything. If you've got it configured correctly (which can happen nearly automagically in some cases) writes get gathered and written only periodically to avoid using up your flash memory's precious write cycles As for why it would work for a while before failing, the kernel only enables the emergency read-only mode when it notices a reason to do so. You download the "bootable iso" image, around 90 megabytes, burn it to a CD, boot it up as a live system, _mount_ the CD, go to the /boot directory on Be sure to make a backup, and let us know how things go. However, what if i'm using a build that doesn't utilize initramfs, such as Red Hat? I would have tried restarting but I didn't want all of the monitoring to go crazy.

abakan November 23, 2010 In Ubuntu 10.04 it`s scripts work, but In Ubuntu 10.10 it is not corectly working. Possible battery solutions for 1000mAh capacity and >10 year life? Here is the log from dmesg - I can see there some errors and messages that FS is going to read-only, and there is also some JOURNAL error but I would Is there any reason why it wouldn't work with Ubuntu 9.04 (UNR)?

Thanks a ton fella! – Aug 28 at 5:05 add a comment| up vote 15 down vote The answer by hexafraction didn't work for me. Can't even apt-get update. How to get this substring on bash script? Many such scripts also provide hooks for other shell scripts to be executed at certain points during the boot process.

Specifically when running "ifup eth0" I get an error from dhclient3 reporting it cannot find - but it does exists in the location returned from ldd. You can run: sudo fsck -Af -M to force a check of all filesystems. If you want persistence over the whole system directory structure, you'll need to use a persistent writable layer.