Red Hat / Fedora :: Corrupt /share - All Files Missing And Can't Lstat?
Nov 8, 2010
Discovered today that my /share directory is missing or corrupt. All fields (permissions, ownership, inode, etc) read '?'. Will a fsck from single user mode fix this? Tried rebooting several times, etc. All other system functions see to be ok, except all the files in /usr/share are missing, the directory 'share' blinks red and obviously dovecot will not run - which is keeping our IMAP from running.
So, onto my question. I kind of messed up my desktop computer trying to remove Ubuntu 8.10. I had installed 8.10 as a dual boot with Windows XP a few years back and now wanted to remove it mainly because of my mother, who can BARELY even turn a computer on. Plus, I can't connect to the internet anyway with Ubuntu (I need the Netzero dial up application in windows, since all I have right now is dial up).
Here's what I did. I downloaded the program "MBRFIX" so I could directly fix the mbr inside of Windows XP, since I don't have an XP recovery disc. I downloaded MBRFIX because I needed to get rid of GRUB. I fixed the mbr, and Windows XP directly booted. All was said and good, except Ubuntu still existed. I poked around on the internet and found something that said for me to use the Ubuntu Live CD and go to gpartition. It said to delete the Ubuntu partitions. So, I tried that, but it said something about unmounting something (I honestly don't remember what it said).
So, I continued following instructions. It said if you couldn't delete the partitions, to go to the terminal and type in "sudo swapoff" and then "sudo umount -a". So I did that. A bunch of stuff popped up in the terminal, mainly stuff that said "cannot unmount". I tried to delete the partitions once again, but that still failed. Finally, I just went back to Windows XP. I went to my computer, manage, and deleted the Ubuntu partitions from there. Finally, Ubuntu was gone! Of course, I wanted my 50GB space back on my XP, but I still had no clue how to go about putting that back. ........
Code: sudo -s my password then ; gedit /boot/grub/grub.cfg
My windows (system) disk is in /dev/sda5 but when I look grub.cfg file windows system disk is in /dev/sda1. When I want to save this file I take an error. Could not save the file /boot/grub/grub.cfg. You are trying to save the file on a read-only disk. Please check that you typed the location correctly and try again.
annotation : error in windows is : missing or corrupt <windows root>system32hal.dll.
I used to have Windows XP Professional on my computer, then I decided to install Ubuntu but it didn't work for me it gave me really weird errors, I thought I uninstalled it, and then I installed Debian on my computer, Debian ran smoothly but when I tried to start Windows the GRUB from ubuntu appeared and when I tried to start windows again it showed and that the hal.dll was missing, I reinstalled Windows but still the same error appeared, this also affected my Debian GRUB so I had to install it again, I don't know what I should do in this case. How can I delete ubuntu's GRUB for good? I've already formatted my windows partition but it keeps using Ubuntu's GRUB.
I am trying to reinstall ubuntu on my asus eee netbook. When I try to open ubuntu an error message appears saying that this file <windowsroot>system32hal.dll.> is corrupt or missing. How to I reinstall this file/what happened?
This morning I attempted to 'clean' up some old files/programs from my dual mounted (Vista/10.04) laptop. All seemed ok until I tried to run Vista and I got the following: /windows/system32/winload.exe status Oxc000000F missing or corrupt
I then tried to reboot into Ubuntu but it keeps trying to load windows. It looks like I have somehow lost my grub, so now I have lost Ubuntu and Vista. I tried my Vista Start Up disk and at the command prompt I entered: Bootrec.ext /fixboot Bootrec.exe /fixmbr on restart it went back to the 'missing or corrupt' information. Is there some way I get get back to normal?
For some reason, my latest Fedora 11 install + yum update does not seem to have the option to connect to a Windows Share in the drop down list when I select Connect to Share. I'm using gnome.Does anyone have any ideas which packages provide this functionality.
So I have a single hard drive with two partitions, and I am trying to install a dual boot of Windows XP and Ubuntu. However, I am having an issue installing the Windows XP component.
I keep getting an error along the lines of a missing/corrupt hal.dll after the first restart in the install. This has happened every time I tried to install windows XP, from several different discs, all of which I have confirmed to work on another computer.
I have tried several things for fixing this, from repairing the MBR and boot.ini to replacing hal.dll from hal.dl_, and nothing works. However, Ubuntu 10.04 installs and boots properly.
I installed lilo and it boots. How do I installed grub again. Do I just use synaptic manager to uninstall lilo and install grub?
[code]....
I know grub2 does not work, giving me error: ntoskrnl.exe missing or corrupt. I did install grub-legacy and it worked, but I had to re-install squeeze due to other problems. So, now I want to replace lilo with grub legacy.
I have currently installed Xubuntu via wubi on my windows XP. When I try to boot, it displays an error message stating that wubildr.mbr is missing or corrupt and I cannot boot into xubuntu.
First off I must state that I am basically completely foreign to linux. I have 2 hard drives, one with windows 7 and storage partitions, and the other with my linux partition, linux swap, and unpartitioned space.I initially partitioned my drives with Disk Management in Windows 7. I created an NTFS partition on sda and installed Ubuntu from within Windows (a Wubi install I suppose). I originally intended to install by booting from the iso I burned onto a CD,but the installer was failing to load (fonts would change and it would error message). LiveCD was failing to load too in the same fashion. After hitting alt and tweaking the F6 settings, LiveCD successfully loaded (my very first taste of Ubuntu, albeit somewhat bland). I then decided to reinstall Ubuntu with proper linux partitions from within LiveCD. Now when I select Ubuntu in the Windows Boot Manager, a WBM screen says the file:
ubuntuwinbootwubildr.mbr is missing or corrupt. I do not know if this file is the problem or merely a symptom of it Below I have copied my Boot Summary (my apologies for the length and extra partitions):
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> No boot loader is installed in the MBR of /dev/sda[code]....
I am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network.
How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files?
I hope it's not so difficult and that I have to change i config-files.
I recently copied about 1TB of videos from one drive to another. Now it seems like my videos(a lot but not all) are choppy or just end up freezing(mkv files seem to be the ones freezing).Is it possible that the transferring of a large amount of data could have damaged my videos?
im running beta 2 of 10.04 x64 and ive noticed a problem where for some reason whenever I download a file it always gets corrupt even though its a 100% complete.
Ive tried using wget instead to download the file and that worked fine
ive removed ubufox package and its now working fine
Is anyone else having this problem?
I wanna be 100% sure that its not my fault and is really a bug before I submit it
have virtualservers on virtual harddisk due to system crash when im trying to access the servers its giving the error as failed to start virtual machine fileserver medium /rootfiles/vdi/fileserver.vdi is not accessiblevd:error verr_media_not_recognized opning image file /rootfiles/vdi/fileserver.vdi (verr-media-not-recognized)result code:ns-error-failureour company network gone down.no internet is coming.so if i want to install dhcp i need dhcp rpm package for fedora12 2.36.31.9-174fc12x86_64
I recently installed the latest version of Ubuntu to setup a home media server. Previously, I was running a Windows Home Server. I added a new HD and mounted it during installation. This was ext2. I think mounted my 2 drives that had NTFS partitions on them from the Windows home server and copied all of my files over to the new ext2 partition. Everything looked great. I then re-partitioned by two old Windows Home Server Drives to ext3 partitions to setup a new file system for storage.
This is when the bad news became evident. While all of my .jpg, .mpeg, etc. files are there on my ext2 file system, I can not open them anymore. All programs (IE, paint, windows media player, Itunes, Photoshop, MS Office, etc.) are unable to open files they normally process. Did I somehow lose part of the files (a header, attribute or something) during this copy process?
I have a Win XP host machine where I am running a Redhat virtual machine using VMplayer. I have a tool in the VM that I need to run using some input data located on the host machine. How can I share files between the host and the VM? I need to be able to read/write files from within the VM.
Someone mentioned "Samba" to me and it looks like it's installed on the VM, or at least I see files and folders on the VM containing "samba" in their names. So how do I use it for sharing? Are there other approaches?
I've just installed Ubuntu 9.10 and Samba 3.4. I've shared a folder and have accessed the share from a Windows 7 client. However, I've struggled to configure the share and folder so that the Win7 client can create files and/or folders in the share. Kept getting Permission Denied errors. Finally, (using Webmin) I set the permissions on the file folder so that "Other" had write access. I don't understand why this was necessary (and how unsecure this is). I already had the write access checkbox ticked for "User" but it wasn't enough.
1. I have Ubuntu 10.04.1 installed alongside Windows Home premium 7 on a Compaq CQ5110f with 2 dual processors, 320 GB HDD, 4 gb Ram, less than a year old/ It is giving me some error messages. It is wanting to lock the drive or various programs after being left unused for a few minutes, I have not found where I can disable this. I do not need passwords, really. I am the only user. I reinstalled it once, on top of itself (Ubuntu) and it worked fine briefly, then started doing it all again.
I use to sometimes install Ubuntu as a windows app. on a previous version, maybe 9.04 - 9.10, but think I can not do it on this version?
So, Can I install as WIndows app on this version of Ubuntu? CAn I install Ubuntu on one drive alone, and windows on the other drive alone, install both in same computer and get dual booting? I think before, to do that I had to reset boot drives in BIOS to whichever I had the OS I wanted to use?
Or MUST they be installed on same drive for dual booting to be available?
I am attaching screen shots of the messages I get, etc. I have tried to share files and folders, but it does not allow me to select Share this folder as some security thing is not installed, And the time I am required to enter password to use comp[iter after being idle a few minutes, seems to be tied to my folder, which is JOHN. I may have to think about removing Ubuntu from this drive, add a SATA drive and use two, one for Windows and one for Ubuntu.
I downloaded the first Lenny DVD for amd64, wrote it but on trying the install on my laptop (Gateway NV5389u) I cant get past the installing base system step: I get an error that some files are corrupt / cannot be read from the DVD. I am wondering whether there's a way I can download a minimal version or just the files needed for the base system installation then use the same DVD to install the packages, coz I have a terribly slow internet connection it took me a whole 2 days to download, and I surely cant stand any more of it.
I plugged my external hard disk into my computer and it gives me this message: Quote:Unable to Mount:Error mounting: mount exited with exit code 13: ntfs_attr_pread_i: ntfs_pread
failed: Input/output error Failed to read of MFT, mft=6 count=1 br=-1: Input/output error Failed to open inode FILE_Bitmap: Input/output error
I've been using Ubuntu on my fileserver for quite a while now, and I've always really had this problem, but I want to finally address it and get it fixed. At seemingly random points (when my fileserver is under stress - typically while I'm writing lots of data to it), my fileserver will crash. It generally completely crashes, not responding to any further file requests or any of my SSH commands, and must be reset hard (typically by flipping the power switch). After such an occasion, I end up with some corrupted files. It seems to corrupt a large array of files (it's not an isolated issue - for example, it corrupts files that were not being accessed anywhere near the time it crashed, including files that had never been accessed during that period of uptime). The files don't get completely smashed, but they're definitely corrupted (artifacts in images, skips in audio and video files, often complete failure of binary files such as virtual hard drives or disc images).
I'm using Ubuntu Server 11.04, but similar issues to this happened for me in 10.04 LTS (in fact, I upgraded to try to solve them). I'm using mdadm to create an 8-drive raid6 array. The drives are 1.5 TB each, mostly Samsung HD154UI, but with a WD drive in there too (sorry, I can't find the model number at the moment). The hard drives themselves appear to be working fine - SMART reports no issues with any of them, mdadm says they're all up, and I have no reason to believe that the drives are at fault here (although I can conduct further tests if necessary). I've posted about this problem before here and here. In these cases, the issues seemed to be with XFS - in fact, I switched from XFS to ext4 on my RAID array because I simply believed XFS to be unstable. Unfortunately, this issue occurs with ext4 as well, so I'm fairly certain it's an mdadm issue. Here is the output of "cat /proc/mdstat", for those interested:
I have a system with Voyage-Linux (Debian based) as my OS running on a compact flash card. Some files appear to be corrupt on it. Whenever I do a ls,cp,mv,rm command on these files I get the message Stale NFS file handle. I actually had the problem on 2 identical systems. I fixed the first one by attaching the CF card to another linux system and then running e2fsck -f -v /dev/sdb1. It got rid of the bad file.
My problem is I won't be able to do that all the time. I'm gonna have several of these systems in different places and won't have direct access to them, therefore I'm looking for a solution that would work on the system itself. Now running e2fsck on a mounted filesystem seems to be a bad idea from what I read, but I tried anyway and it did not get rid of the file. I tried running tune2fs -c 1 /dev/hda1 and rebooting, which is supposed to run e2fsck after the next boot (not 100% sure here) but that didn't seem to work.
write a script that scans a folder to see which files are corrupt and if they are move them to another folder.All files have in it's filename CRC32 hash that I want to check if it's correct.Something like this:
Code: Filename: . . . . .filename S01.E01 [CRC32Sum].mkv Should have CRC: . CRC32Sum [code]...
I'm trying to setup file sharing between computer A and computer B on the following diagram.
The green waves denote a wireless connection. The black lines are standard cat5. The grey lines are what happens via the electrical lines in the house.
I labelled them, "There be Dragons here..." since something odd happens that prevented the PS3 from connecting when attached directly, or through a switch, to these adapters. Computers attached to the same connection had dns problems, but manually setting the dns servers resolved the issue for them.
This same approach did not help with the PS3. Installing the router resolved the issue for both computers without manual dns's and the PS3.
So, any ideas how to get this working? I've looked through a few file sharing guides between fedora systems and none of them I can find mention setting anything up across network segments. Both systems are running fedora 11.
Networking Problem Fedora 14 2.6.35.12-90.fc14.i686. I am trying to share files between 2 Fedora 14 computers , a desktop and a laptop, both located on my local DSL server. The laptop sees its public files and the public files folder on the desktop computer - looks fine. The desktop computer acts differently. Both systems show an entry of "unknown type" in the directory listing, for the public files directory. But whereas a right click on the directory entry on the laptop offers "open" the same operation on the desktop computer offers "open gedit". When I double click the entries on the laptop, entries appear on the main screen. If I double click the entries on the main screen, the directory contents are displayed. But, if I doubleclick the directory entries on the desktop computer 1- I get a black box that says there has been a crash in gvfs-1.6.6-1.fc14 and an error message box tells me Dbus error org.freedesktop.DBus.ERROR.NoReply: Message did not received a reply.
In order to download files from a particular website, I have to include a header containing the text of a cookie, to indicate who I am and that I am properly logged in. So the wget command ends up looking something like:Code:wget --header "Cookie: user=stringofgibbrish" http://url.domain.com/content/porn.zipNow, this does work in the sense that the command does download a file of the right size that has the expected name. But the file does not contain what it should--the .zip files cannot be unzipped, the movies can not be played, etc Do I need some additional option, like the "binary" mode in the old FTP protocols?I tried installing gwget; it is easier to use, but has no way to include the --header stuff, so the downloads never happen in the first place
My main pc is this Fedora 10 pc. I have two other pcs that run different Linux distros from time to time. What is the basic setup to share and transfer files between the 2 or 3 pcs? They are connected through a 2wire modem/router.
Do I need Samba installed? or is that only if to need to network with a Windows pc?