Playing with the Box, I deleted a Raid-0 partition intentionally, saved it, and reboot drops me to (Repair Filesystem#) prompt. I notice during boot-up that the box didn't find /dev/md0, which is expected.
So what's the recovery procedure, since I can't edit #/etc/fstab, permission denied.
shows all other partitions.
Not much familiar with fsck/e2fsck, yet like to give it a try.
I have a following problem: Recently my drive with Ubuntu 9.4 has mysteriously stopped working, i.e. when I switch the computer on it informs me that GRUB didn't find the filesystem. Well, I suppose it happens.
First, I though it was due to the drive dying, but I popped it in an external enclosure and HDTune told me the drive was fine. Wanting to recover the files on the drive before reinstalling I first tried to mount it in said external enclosure under Windows (I have Win Ext2 driver installed which used to work just fine). This time, however, drive gets assigned a letter but upon opening it Windows popped up an error saying that the drive was not formatted and whether I would like to format it then.
Unfazed by this streak of failures I tried to mount it under Linux but, alas, to no avail. I might have tried every single -t operator under mount command but it still won't budge and let me mount.
Original disk: XP NTFS primary Linux / ext4 logical Linux /home ext4 logical Win 7 NTFS logical NTFS data logical swap space NTFS recovery partition
I tried to install linux, as there was a problem with XP overwriting grub, I chose write grub to /dev/sda8 (which is where the linux install was appearing earlier).
I guess this borked the filesystem somehow. Now the NTFS data partition and the swap space are appearing as one free space. Well actually before that some linux live CDs (including gparted were seeing the entire drive as unpartitioned). I had to go into XP and delete the /ext4 partitions.
Is there any way for me to recover the NTFS data partition ?
Odd question I know and this is more out of curiosity then out of real usage. Background:
I have a bit of a script that creates a xen image and within I check if the partition that is given contains a filesystem and if this filesystem has inodes in use. (This is all under ext2). After one run of the script which I had to abort there was a filesystem on the partition and my script refused to create a new one. Simple solution was just to create a new filesystem on the very partition and the script went on. I also thought of recreating the partition but this would not be very applicable on a running system with the partition on the same disk like root paritition.
So I'm looking for a way to delete a filesystem or at least set it's used inode number to zero.
I am running Suse 11.0 and the system had stopped working. I booted from the disk and chose repair system. Now I can get to the Give root password for login and it accepts the password, but I get the line (repair filesystem) #
I am using Fedora core 10. I have changed my partition size of Linux from windows. After I finished resizing the partition, I rebooted my system to the Linux platform. While booting it gave me an error: repair filesytem #1: I don't know what to do?
I had to recently reinstall ubuntu because 10.04 started acting up on me. I reinstalled 9.04 but I don't know how to mount my RAID drive without messing with the data that's already on there. I have the UUID for the RAID but fstab isn't able to find it. I also previously used RAID software but I don't remember which one I used. how to mount my drive so that ubuntu can see it?
I edited /etc/fstab and after that the computer won't boot up. I got as far as (Repair filesystem) 32 #mount -w -o -remount / and it says already mounted or busy. I type (Repair filesystem) 32 #mount And it looks like all mount points are (rw) I try to edit /etc/fstab but when I save it I get told that the filesystem is READ ONLY.
I have just moved my /home to a 1TB, 2 disk, raid 1 setup (using btrfs). I benchmarked the individual disks using the Gnome Disk Utility, but how do I go about benchmarking, specifically the read speed of the file system?
I wonder how to attach new sata hard disk to software array where are two disk and one is crashed (this is a mirroring mode=Raid 1).Situation like this:I unpluged crashed disk and I buy the similar one and plug in What Next should I do?
I'm a bit of a Linux newbie, but I did manage to set up the following RAID-5 system:1x 500GB system drive on ATA IDE4x 1TB SATA drives in software RAIDLinux = Fedora 13So here's what happened. I set up the system to send me an email every time the mdadm stat file changed, so it would send me emails when in periodically ran a self-test. I was away and noticed that the self-test was going incredibly slow (usually took 8 hours...was on course for taking 250 days!) A colleague decided to just reboot the system.Afterwards, the system would not boot and, while all 5 drives were connected, would stop at an endlessly scrolling error message of: Code: ata4.01: exception Emask 0x0 SErr 0x0 action 0x0
ata4.01: BMDMA stay 0x64 ata4.01: failed command: READ DMA ata4.01: (a bunch of hex numbers)
I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
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?
Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.
Now the array is (logically) no longer able to start:
mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]
Code: mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2 As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.
I have hard disk contain Windows 7 and Ubuntu 11 so I cloned it to new one but when I replaced it no OS working just dell mark appearing then restart by itself. In the past started up by Ubuntu menu to select Windows or Ubuntu so now how can I fix Ubuntu boot to avoid reinstall everything.
This partition belongs to a virtual machine, the partition is not visible when booting this VM using a live CD or attaching it to another VM. When booting anything with this partition attached it takes hours to boot.
Would it be possible to use a Linux Distribution on a USB to repair a windows registry problem, or to use Linux to change some files in the Restore files? If so can anyone recommend a version? I have a laptop running windows Xp that has no cd drive, keyboard, or mouse function due to a registry error. I have a good restore point with the correct registry entries that I could change if it would be possible to boot from a USB version of Linux.
I want to use the live cd (Linux mint 9) to do a repair install on my system, but when I start, it says that it has detected another instance of linux and this must be removed before I can continue. I don't want to do this as I have a lot of data on this system and I don't want to lose it. The error occurred when I did a dist-upgrade and installed new kernels. Before I installed the kernels, a message came up saying the following packages are already installed but are no longer required. Use apt-get autoremove to remove them. I did this and now when I boot, I get as far as the five changing dots on the screen and it just stays there. I went into command line and ran apt-get mint-meta-main mint-meta-gnome, and at the end it came up with problem with /etc/utilities/desktop.
I have forget the root password of Red Hat Enterprise Linux 5. Please tell me how to recover it from the other linux account of the same version. I also want to know that after setting the new password did I have to repair the grub or grub will be as usual.
I had previously installed windows xp. Then I installed ubuntu and dual booting was fine. Now my windows is corrupted. I need to either repair or reinstall it, and I think my mbr will be affected. I will test all this on vmware first.