Ubuntu :: Mangled System Configuration File

Jun 16, 2011

I just installed a 64-bit Narwhal, and wanted to configure part of it the same way I configured my Meerkat. So I started the root terminal, typed "visudo", and added a line to the "sudoers" file which is located in the /etc folder. Unfortunately I made a silly goof when I entered the new line, and now I can't edit the file anymore. I can't even alter the file from my Karmic Koala, which I'm using right now. (I deleted the Meerkat to make way for the Whale, and the purpose of the change to the "sudoers" file was to make Internet access easier.)

How can I either edit the "sudoers" file or replace it with an unaltered copy?

View 5 Replies


ADVERTISEMENT

General :: Reconstructing A Mangled File System?

Sep 6, 2010

so, a few months ago an install-gone-wrong completely trashed both my original disks and my backup disk. If you want the whole gory story, you can read about it, but at this point I've decided that it probably doesn't matter so much how it happened. I've come to accept that there is no quick way to fix this. So now I'm moving on to the slow way.

I'm using hexedit and doing simple text searches. I've recovered a few of the most crucial files, and, after having my life consumed by my computer troubles for a while, my computer troubles got consumed by my life, and I'm just now getting back to this issue. Here's my situation: while searching for files, I've occasionally run across a directory. So the directories are there. I've seen them. And, through various other things I've tried, I feel moderately confident that the inode table is still around, somehow or another. So there's no reason why I couldn't hack together a script or two and read this puppy all day long. I should theoretically be able to recover the entire tree, if I can find a directory entry close enough to the root dir.

What I'd like to know is, what are the resources I can take advantage of to reconstruct the tree from the raw bytes of the disk image? I need to know where to find the ext2 directory structure (like a C struct, I mean) and then I should be able to pick out a block that contains a dir, get the filenames, dates, indoes, etc, and then I can look for the next step of figuring out how to turn an inode number into a disk sector.

View 4 Replies View Related

Debian Configuration :: Can't Copy A File From SMB Share To The Local File System

Aug 17, 2015

There is this bug in the latest version of Ubuntu, which is also Jessie, which is:

Can't copy a file from SMB share to the local file system: Software caused connection abort

The problem, apparently, is that newer versions of Samba hit servers with multiple requests at the same time, and for some reason the Zyxel and Iomega boxes can't handle this. The best solution they've come up with is to modify the smb.conf file on your server to include this setting: "max mux = 1".

Here is the reference material on this bug: [URL] ....

People who develop samba have fixed it in the latest version but neither the ubuntu nor Debian have released the fixed version of nautilus, as of yet. Here, is the reference: [URL] ....

View 0 Replies View Related

Ubuntu :: Display Mangled After Viewing A Video?

Mar 11, 2011

I've just watched a video (on the Australian ABC web site: [URL] with the video at [URL] from inside Firefox (3.0.15), and now my Linux (8.0.4) display is mangled.The entire display is moved left and up about 2 inches on a (I think) 15 inch screen. In the vertical direction it is "wrapped" so I can still see my toolbar. It is not wrapped in the horizontal direction, so there is a black bar down the right hand side of my screen. It is as if the wrong screen size is saved.

This isn't just in my desktop environment - it goes wrong as soon as I boot into Ubuntu Linux. But my monitor itself is OK - the display is correct in GRUB and Windows.Since the problem does not go away on reboot (or power down), I assume some file has been corrupted. Where would that file be and how would I fix it?

View 3 Replies View Related

Ubuntu :: FreeBSD Install Mangled The Boot Process?

May 29, 2010

Earlier today, I tried to install FreeBSD. If anyone here has done this, I think I went wrong at the part where it asked if I wanted to edit the Master Boot Record. In any case, now when I turn the computer on, it boots into FreeBSD instead of into GRUB. Now I have no access to Ubuntu or Windows, and I have no internet on FreeBSD. How can I fix the MBR so that it boots into GRUB instead of FreeBSD? I want my Ubuntu back...

View 2 Replies View Related

Ubuntu :: Indicator Applet Session - Mangled / Unusable

Jun 25, 2010

Windows refugee here trying out different flavors of Linux. I like Ubuntu a lot but have noticed some peculiar behavior sometimes with the Indicator Applet Session becoming mangled and unusable. If I click on it nothing happens. I haven't determined any particular cause yet but it seems to have happened twice after using Google's Chrome browser.

View 2 Replies View Related

Debian Configuration :: Can't Umount Ramdisk After Loading New Root File System

Feb 1, 2010

I have built a kernel with a ramdisk(ramdisk.image.gz) included. Also in the kernel command line I specified root=/dev/ram0. I am trying to use this ramdisk to load a loopback file as the root filesystem off a fat partition. This is /sbin/init from the ramdisk.

#!/bin/sh
mount -n -t msdos /dev/mmcblk0p1 /mnt
losetup /dev/loop0 /mnt/linux/linuxdsk.img
mount -t ext2 /dev/loop0 /mnt2

[Code]....

The problem is both umount and blockdev report "device is busy". I want to free up this RAM any suggestions?

View 1 Replies View Related

Debian Configuration :: Start X Server In A Read Only Root File System?

Apr 27, 2010

For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.

View 3 Replies View Related

Ubuntu Installation :: Error - The Boot Configuration Data Store Could Not Be Opened - The System Cannot Find The File Specified

May 24, 2011

every-time i try to install, i get this

Error executing command
>>command=C:Windowssysnativecdedit.exe /create/d Ubuntu/application bootsector
>>retval=1
>>stderr=The boot configuration data store could not be opened
The system cannot find the file specified
>>stdout=

View 1 Replies View Related

General :: Automating USB Drive Configuration Of Partition Table, Partition And File System

Jan 26, 2011

I have tried to automate the configuration of a usb drive with not much success.

The problem that I have is that I have a large amount of usb drives that have a partition table of type "loop" and I need to change them to "msdos". The size of the drives vary and I need to use FAT32 or FAT16 file system.

I've tried various partitioning commands and gui applications but cant find one that I can give a one line command to to set the partition table, maximum partition size and file system.

View 9 Replies View Related

Ubuntu :: Error Creating File System: Helper Exited With Exit Code 1: Cannot Open /dev/mmcblk0p1: Read-only File System

May 2, 2010

I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.

"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"

Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).

View 9 Replies View Related

Red Hat :: File System Corruption - Super Block Could Not Be Read Or Don't Describe A Clear Ext2 File System

Jul 12, 2010

My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-

[Code]....

The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7

View 2 Replies View Related

Debian Configuration :: No Longer Allowed To Access The System Configuration

Jul 31, 2011

I am using Squessze and Gnome. When I try to use the gui System>Administration>Network or Users and Groups I get the error The configuration could not be loaded. You are not allowed to access the system configuration.Everything was working before. I read around a bit. In some cases,it was caused by mismatching group and password files after using the gui. I do not know how to check if they are matching. Of course I do not know for sure that is the problem in my case.

View 14 Replies View Related

OpenSUSE Install :: Get A 64 Bit File System To Read 32 Bit File System Drives?

Feb 2, 2010

Have just assembled a new computer and thought I would install the 64 bit version of openSUSE 11.2 in a "Windows free zone". After a hiccup or two I have managed to get a system of sorts running but on trying to copy files from my old computer(via a memory stick) it tells me that Vfat is an unknown file system.On my old computer I am running 32 bit openSUSE 11.2 as a dual boot system with Windows XP and have no problems moving files between the two different file systems.Is it possible to get a 64 bit file system to read 32 bit file system drives and if so how do I do it?

View 7 Replies View Related

Debian Configuration :: Fstab Configuration - Failed To Open /proc/filesystems: No Such File Or Directory

Aug 23, 2011

I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail  or so Failed to open /proc/filesystems: No such file or directory

[Code]..

View 14 Replies View Related

Ubuntu :: Convert FAT File System To NTFS File System?

Mar 13, 2010

How to convert FAT file system to NTFS file system via Ubuntu,are there any commands to do this task?

View 2 Replies View Related

General :: What Is The Configuration Of Wind River - Can't Find The Configuration File

Feb 22, 2011

I want to see what is the configuration of my Wind River Linux (actually I want to see what modules are installed in it when it was built). I can't find the configuration file.

View 14 Replies View Related

General :: Partitioning - Difference Between File System Created By Fdisk And File System Created By Mkfs?

Aug 1, 2011

I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:

View 2 Replies View Related

Ubuntu Networking :: Squid Error - Unable To Open Configuration File / No Such File Or Directory

Jan 6, 2010

my squid show like this when i try create swap directory

[Code]....

View 2 Replies View Related

General :: Generated .exe File From C File - Run .exe File When Linux System Starts Up?

Apr 6, 2010

i have generated .exe file from C file (ie filename.c ) after compiling in linux machine with -O option. I wish to know about how to run that .exe file when linux system starts up ?

View 3 Replies View Related

Ubuntu :: Incorrect File System Space Reported By System Monitor?

Apr 3, 2011

In System Monitor, on the File Systems tab, the "Total", "Available" and "Used" columns don't seem to add up, and the "Used" percentage doesn't seem correct either.

My config:
/dev/sda1 = 80 GB SSD drive, / partition.
/dev/sdb1 = 50 GB FAT32 partition of an external 500 GB USB hard disk.
/dev/sdb2 = remainder of the 500 GB USB hard disk encrypted using luks.

Screenshot: The /dev/sda1 figures don't really add up well, but they're close at least (how you get "50% Used" from any of those figures I don't know!).

However, for /dev/sdb2, they're miles off:
"Free" = 146.2 GiB
"Total" = 409.7 GiB
"Available" = 125.4 GiB
"Used" = 263.5 GiB

[Code]...

View 4 Replies View Related

General :: Run System File Checker On Ubuntu 10.10 Without Damaging The System?

Apr 9, 2011

I am getting occasional errors during the boot process.One at the beginning and one or two when I switch to single user mode.I 'd like to run the system file checker to fix any possible errors.But when I run fsck in the terminal I get the message:Code:

mansour@ubuntu-notebook:~$ fsck
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)

[code]...

View 14 Replies View Related

General :: Diagnosis An Unstable System / Seeing File System Is Not Clean During Boot?

Feb 22, 2010

So 2 days ago everything was all fine on my machine. Has been for about a month, but all of a sudden as of yesterday I have no sound, I am seeing IRQ interupts on boot, During boot I am seeing file system is not clean, , and swap space is being used for the first time while doing normal task, etc. These are 2 new hard drives in RAID 1 with ReiserFS. I should have used a newer FS but thats a whole other argument.

Anyways here we go.
The system is Debian Lenny amd64
Physical RAM 4GB + 6GB swap
/var/log/messages

Code:
Feb 21 07:35:09 Sarah kernel: imklog 3.18.6, log source = /proc/kmsg started.
Feb 21 07:35:09 Sarah rsyslogd: [origin software="rsyslogd" swVersion="3.18.6" x-pid="3994" x-info="http://www.rsyslog.com"] restart
code....

View 8 Replies View Related

Ubuntu :: Unable To Create Trashing Info File: Read-only File System

Jul 21, 2010

I plugged in my USb drive into my computer yesterday and tried to delete a folder. I was unable to do so and got the following message

Cannot move file to trash, do you want to delete immediately? The file "my file" cannot be moved to the trash. Show Details Unable to create trashing info file: Read-only file system

So when I click on delete I get another error message:

Error while deleting.
There was an error deleting Case Study Database. Show Details Error removing file: Read-only file system

At this point I can only click on Skip, Skip All, or Cancel.

I have not changed anything on the stick recently so I dont know what is causing the problem.

View 7 Replies View Related

Software :: Reduce Lvm In Size In RHEL5.0 / System Is Not Booting Saying File System Corrupted Error?

May 14, 2009

reducing the size of LVM. I did it by using the commands, lvreduce,fsck,resize2fs.After reducing the lvm size, my system is not booting...it is saying file system corrupted error.

View 1 Replies View Related

Ubuntu Networking :: File 'path Omyfile' Has Been Changed On The File System?

May 28, 2010

I have asked this over on Launchpad and have found bugs filed on the eclipse bug tracker but it seems to be going nowhere so I guess ill ask here.

I am using Eclipse for some development work and having saved a file, defocus the eclipse window (to test changes in a browser) when I refocus the eclipse window I get the following error...

The file 'path omyfile' has been changed on the file system.Do you want to replace the editor contents with these changes?

I have searched and searched and this seems to be a CIFS/SAMBA problem. I even found one solution suggesting that changing his mounts from cifs to smbfs fixed his problem however that would appear not to be an option for me since using smbfs in the fstab causes cifs mounts. This problem would seem to occur in Bluefish as well as some other IDE's so it is not an Eclipse issue.

---------- LINKS TO RELATED ----------
Launchpad Question
Eclipse Bug
--------------------------------------

View 2 Replies View Related

Ubuntu Security :: Can't Install Firmware File Into File System - Not Accessable?

Jul 11, 2010

I'm only just starting out with the Linux ubunto 10.04 OS after yeas of wasted time on Microsoft os's,I hope I'm posting this request for help in the right forum thread, if not please accept my apologies, I have tried searching everywhere for help in installing a firmware file into the File System / lib / firmware directory and each time I get an access denied result. The file is for a DVB board and I have managed to track down the right Linux fw file for this particular piece of equipment, Could some kind helpful person either explain how to get this firmware file into the Root System directory or even send a link to another site that deals with this sort of problemI've downloaded all the programs via the Ubuntu Software Center that should be able to perform this task however all to no avail.The reason why I posted this thread in this forum board is that it (in my own personal opinion which may be wrong) seems to me to be a security problem

View 1 Replies View Related

Ubuntu Servers :: Deciding File System For File Server (samba)?

Jan 7, 2011

I'm planning to add 1tb sata disk to my lovely file-server under ubuntu 10.10,what i want is use this disk as additional storage for network user,indows and ubuntu?I mean when my ubuntu server down (worse case) I can easily take out the disk from ubuntu machine and plug in on windows machine

View 2 Replies View Related

Ubuntu :: Ext4 File System Hosed After 11 Upgrade (duplicate Directory & File Names)?

May 8, 2011

I recently upgraded to Ubuntu 11 and a few days later my ecryptfs filesystem began misbehaving in a weird way. In my home directory, many subdirectory names are duplicated verbatim. Here's an ls -F excerpt:

Desktop/
Desktop/
Documents/
Documents/
Downloads/
Downloads/

I can no longer access files in those directories (if I ls the directory, it appears empty; I can cd to it, but there's nothing inside). Not all of the directories are duplicated/damaged like this, but most are. A few non-directory files are also duplicated in this fashion, so for example:

[Code]...

View 5 Replies View Related

Ubuntu :: Samba - Windows Read Files From A Home File Server With An Ext4 File System?

Jan 28, 2011

Can windows read files from a home file server with an ext4 file system? or do I have to partition the drive with the server (ext4) and an ntfs partition with the files on?

View 4 Replies View Related







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