Ubuntu :: Disk Corruption After Hard Reset?

Feb 12, 2011

I'm facing a big problem with a corrupted disk on my wife's computer after she hard resetted the box after it froze up solid.Upon restarting it dropped into Busybox reporting something like

Quote:No init found. Try passing init= boot arg BusyBox v1.10.2 (Ubuntu 1:1.10.2.2ubuntu7) built-in shell (ash) (initramfs) ...This is VERY similar to a problem I had just a few weeks back with my own computer - see this thread for details of that. From that problem I learnt a lot, so I thought this would be quite straight forward, but I've ran into problems.The first thing I did was get a live disk, I chose Ubuntu Rescue Remix. It's a command line interface, which I am ok with, but I can't copy/paste the outputs here....so I am currently downloading System Rescue CD.sda1 is the root partition, it is corrupted. I used dd to make a back up of that by mounting sda7, and dding the whole partition image into /mnt/sda7/sda1.img .This seemed to complete properly, but, when I ran e2fsck on that img file, it wouldn't complete, throwing up a lot of errors.

Code:
ubuntu@ubuntu:/mnt/sda7temp$ sudo e2fsck sda1.img e2fsck 1.41.12 (17-May-2010)
Error reading block 2129920 (Invalid argument). Ignore error<y>? yes
Force rewrite<y>? yes[code]....[code]....

When I download and boot into System Rescue CD, I'll be able to run some more tests, in the mean time,I really want to save this disk otherwise my wife will be back on Windows permanently.

View 8 Replies


ADVERTISEMENT

Ubuntu :: Disk Corruption After Power Failure?

Jan 14, 2011

While using my computer the other day (I was sending an email) it suddenly turned off. I didn't get any low power warning, but I was running on battery and had my iphone charging from a USB port.

As I didn't think there was low battery, I just turned it back on again. As it was booting I saw the battery light flashing, indicating low power. I went to get the charger, but before I got it, mid boot-up it turned off again.

This seemingly damaged something hard-disk-wise.

Upon turning it on again it dropped into busy box with some message similar to this:

Quote:

No init fount. Try passing init= bootarg.

BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu7) built in shell (ash) Enter 'help' for a list of build in commands

(initramfs)

That's not the actual message (copy pasted from another post) but the message is VERY similar to that.

If I "exit" busy box, I get a load of message about "kernel panic" before it freezes up.

I have booted a live USB (what I am using now). I thought since it wasn't cleanly unmounted, simply mounting and unmounting would do the trick. I was wrong.

Code:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code].....

I had previously ran e2fsck (after checking it was unmounted) but it wouldn't run also because it was reporting that the device was already mounted, busy, or being exclusively used by a process.

I don't want to do any more for fear of causing further damage.

I am astounded that such damage can be caused so easily!

View 9 Replies View Related

Hardware :: Master Hard Disk Error After Installing Ubuntu 8.10 / Hard Disk Died

Apr 8, 2009

after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work

View 3 Replies View Related

Ubuntu Installation :: Copy Hard Disk Have 10.04 And Ext4 To 1000 Hard Disk?

Sep 23, 2010

I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000

View 2 Replies View Related

General :: Ubuntu Server - Random Hard Drive Corruption

Feb 28, 2010

So I built a new system few months to act as a development/"mess around with" server with an Asus Mobo and a Q6600 processor and 8 gigs of ram. Along with file, web and app hosting, I also do some virtualization on it... or atleast I had hoped to.

Ever since the first install, I've been randomly getting crashes and lockups. Sometimes it would just dump an error to the screen but stay alive, and sometimes it would dump an error and then lock up fully. The error mentions something about "kernel not tainted" etc. I will post the detailed error once it comes up again, as I have just formatted it again.

Other problems include downloaded files becoming corrupt. Files downloaded through any means (wget, torrents, ssh, ftp etc.) seem to randomly get corrupted (ie: the hashes are wrong).

I currently have one WD 150GB raptor as my primary OS partition, and 3 WD 1TB greens as my storage in an mdadm raid 5 array. At first, I had thought it was the raid array or it's drives causing issues. After painfully transfering the data off of it, I took the drives out and tried to run ubuntu with just the OS drive for a while. This still had the same issues. I then put in only one of the 1TB greens and had the same issue...

I downloaded WD's hardware diagnostic tool and ran full scans on all the drives. They all check out fine.

I left memtest running overnight and it had no errors either.

Most recently, ubuntu would not even install. It would get stuck at the stage of partitioning, and the keyboard lights would flash. After much googling, I tried popping in "noapic nolapic" to the end of the grub string, and it managed to install.

Now, I'm in a fresh system and just wgetted vmware server. However, it wont untar, I just realized the MD5 hash doesn't match!

So definately not the memory or the hds... I'm assuming it has to do with the APIC? From what I found on google, it seems as though this is only needed for the install.

Do I really need this to be on the boot string too? From what I understand, APIC allows processes to be divided out to the least loaded CPU. Having a quad core, I'd rather leave this on since it seems somewhat beneficial... I have yet to try putting this into the grub yet since I'm offsite and need

As a side note, this latest install is using just the WD Raptor as an OS drive.

And I'll post up the dumped errors if I get them again. There were none dumped out when the vmware download corrupted. The message format is very similar to the one here: [url

However, sometimes it mentions ext3 (or one of the other filesystem types I had tried with thinking it was a problem with ext3) Again, the error message is not the EXACT same, however the format is very similar...

View 13 Replies View Related

Debian Multimedia :: Disk Corruption On New Install

Mar 7, 2010

I installed Debian Lenny on a friend's computer which is an older Dell workstation. The install went well. I delivered the machine last week, got it set up in there house and all was fine. 2 days later they said it crashed with a black screen and lots of words they didn't understand. I get there today and rebooted. X would not start but it ran a whole bunch of automatic self tests but could not recover. I was able to log in as root and run fsck. That made the necessary repairs. I was able to reboot and log into the KDE Desktop. Hopefully they don't break it again.

I asked them what they did to it to cause it to freak out like that and they had no idea. So, as to my question, what causes something like that? I know there must be a log file somewhere on the computer that will give me some insight into the matter, but I'm not sure where to find the file.

View 1 Replies View Related

Hardware :: Adding Second Hard Disk With Windows To Boot With Grub On First Hard Disk

Jul 7, 2009

I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.

View 3 Replies View Related

General :: Changing GRUB From An External Hard Disk To The Internal Hard Disk?

May 14, 2010

I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?

View 2 Replies View Related

Slackware :: Prevent File System Corruption On Hard Lock-up?

Apr 5, 2010

I've recently had my file system irrecoverably corrupted after a hard lock-up. This has happened to me before, a couple weeks ago, and both times I've had to reinstall. I don't know what is causing the lock-ups (possibly the binary nvidia driver..), but I would like my file system to be intact or at least recoverable next time it happens.What is the "safest" way to mount things?

I'll be using ext3 with data=journal, but I've read that disk write caching combined with a kernel crash or power loss can still screw things up. Supposedly, mounting with barrier=1 helps some, but doesn't work with LVM? Would it be wise to turn off disk write caching completely? I understand there's a performance penalty, but if it helps keep the file system consistent in case of disaster.

View 9 Replies View Related

Hardware :: Check Hard Disk For Errors. Possible Hard Disk Failure?

Jun 21, 2011

I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:

Code:
$ sudo hdparm -I /dev/sdb
[sudo] password for brian:

[code]...

View 6 Replies View Related

Hardware :: Permanent Filesystem Corruption On Reiserfs - Ext3 And Ext4 - Disk Failure?

Feb 9, 2010

I have been having problems with filesystem corruption on my eeepc 1000H for a long time now. I have tried using different filesystems, kernels and distributions (arch, slackware) to no effect. I am starting to grow suspicious that this problem lies somewhere else, as I haven't seen anyone else having similar problems in such a variety of scenarios.

I have tried testing my ram using memtest86+, didn't come up with anything after a full run through. I also have tried using e2fsck -c to check for bad blocks, it finds none. I had a go at using smartctl but wasn't really sure what I was doing. I did a long test and it came up with nothing anyway.

This problem is in addition to the problems I've been having with my intel graphics chip and KMS. A lot of the time there are lockups when booting into X, which can only be gotten out of by a hard reset. This is sometimes what causes the original filesystem errors. I've stopped messing around with KMS for now to eliminate this but my current system in unbootable. I'm guessing my disk is wrecked but have as yet seen no definitive proof. Can anyone recommend anything that I should do?

I am currently on ext4 with a custom kernel 2.6.33-rc6 (the stock kernel shipping with slackware does not have the elantech extension for psmouse included). When I was using arch, I was just using the stock kernels.

View 9 Replies View Related

General :: Use Hard Disk Image Like A Regular Hard Disk?

Apr 6, 2010

If you have a hard disk image (including partition table, multiple partitions,...), is it possible to let Linux treat it as a regular hard disk?

By "regular hard disk" I mean I would like to have the image show up as, for instance, /dev/hdx and its partitions as /dev/hdx1,...

(I know I can mount one of the partitions in the image using "mount -o loop,offset=x ..." but I don't really like this option.)

View 2 Replies View Related

General :: Mount From The Old Hard Disk To The New Hard Disk

Jun 30, 2010

mount from the old hdd to the new hdd i mean (Hard disk)

View 2 Replies View Related

Server :: Copy Of IBM Server Hard Disk Data To Another USB External Hard Disk?

Sep 1, 2009

Copy of IBM Server hard disk data to Another USB External Hard disk?

View 2 Replies View Related

Ubuntu :: Laptop Frequently Freezes Up And Has To Be Hard-reset

Jan 20, 2010

Under 9.10, my laptop frequently freezes up and has to be hard-reset. At first I thought it was a Firefox issue because it happens most often when I'm on the web, but the computer also crashed on me while doing things in Synaptic, so it must be something else. I have an HP Pavilion z5000 with an Ati Radeon 9600 Mobility, 1.25 GB of RAM and 120 GB hard drive.

View 6 Replies View Related

Ubuntu :: Reset The System Which Will Also Format The Hard Drive?

Jan 28, 2010

I've currently got 9.10 and have (somehow) managed to mess the system up already!It's a new computer so I'm not fussed about data loss etc, but is there a way to completely reset the system which will also format the hard drive (as it was a download that has messed it up!) without losing the O/S?

View 9 Replies View Related

Ubuntu Installation :: How To Check For Hard Reset Damage?

Feb 26, 2010

I feel a little awkward in this Control Panel: first time user. I installed the latest version of Ubuntu yesterday. All went smooth until I got to installing printer drivers. The setup went online and my system froze...everything froze. I had to do a hard reset. The printer installation went smooth the second time. So far this is the only problem I've had. No details needed. What I was wondering is if there's any way to check if the hard reset did any damage.

View 3 Replies View Related

Ubuntu :: Xubuntu Hard Reset Stuck At Grub

Sep 17, 2010

I currently have a problem where when xubuntu is restarted using the power button, it will prompt the user with grub asking which selection to boot (xubuntu recovery or xubuntu) this feature itself is fine, but for some reason there is no timer, which means that unless you hit enter, it will always be stuck on the GRUB selection screen. I am wondering if there is any way to change this, is there anyway to enter a timer into the system so no matter what, after x seconds it will boot xubuntu?

View 1 Replies View Related

Ubuntu :: Shutdown Or Restart Requires Hard Reset

Apr 30, 2011

[URL]

Basically, when I do a reboot or shutdown and then the system tries to start I get a blank screen thus I have to hit the reset button and then I'm showed a grub menu (not sure why I have it set to autoboot) and then I can boot properly.

View 9 Replies View Related

Ubuntu :: Unable To Boot After Hard-reset After Using Rm -r As Root / Enable It?

Apr 6, 2010

First of all, i'll just say this myself. I'm a dumbass and tried to fix somethings that wasn't even a problem from the start and now my 9.10 installation is totally fubar. There, done, now let's move on.

Ok, so I tried to delete a folder after compiling two binaries to the wrong folder and used the
Code:
rm -r
command on what I thought was the folder /home/lars/bin. And to add to the dumbass-ering, I was root while doing this. The computer hangs and leaves me with no other options than doing a hard-reset via power-button.

After rebooting I can't even see the login screen, it just hangs at the Ubuntu symbol.

So I give the recovery mode option in my grub menu a try and it gives me a bunch of lines, all looking good until I get this and the boot just stops with a blinking underscore. code...

Should I just beat myself for a while and then reinstall the OS or what...?

The hardware involved is a Asus EEEpc 1000h.

ps. I'm new to Linux and have so-far managed to get around by following guides and tips, just a heads-up.

View 9 Replies View Related

Ubuntu :: External Hard Disk /Hard Drive Mounts As Read Only (Suddenly)?

Jan 17, 2011

I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.

Code:
sundar@sundar-sundar:~$ fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes

[code]...

View 7 Replies View Related

Ubuntu :: Keep Connect Both Hard-disks / At Start Select From Which Hard-disk To Boot?

Mar 9, 2011

I have two internal harddisk. Harddisk 1 has ubuntu, fedora installed and harddisk 2 has ubuntu installed. I normally connect either one, and use it. How can i always keep connect both harddisks, and at the start, select from which harddisk to boot? Or it's not possible?

View 7 Replies View Related

Ubuntu :: Add Hard Disk Expand Disk Space For /home

May 23, 2010

ran out of space in my /home dir. Have a second hard drive to install and would like to designate it as additional space for /home. I do not want to mount it as a dir inside my home I would like it to simply work as though my /home simply has more space available to it.

View 1 Replies View Related

Fedora :: 11 Crashes - Computer Hangs And Have To Do A Hard Reset ?

Aug 11, 2009

My Fedora 11 installation was a breeze but i have been experiencing crashes sometimes. the computer hangs and i have to do a hard reset.

Here is what /var/log/messages say before the crash:

View 5 Replies View Related

General :: How To Reset Root Password Using Bootable Disk

Oct 6, 2009

Does anyone knows "How to recover a root password using bootable fedora Linux 11 disk?

View 1 Replies View Related

Debian :: Jessie Screen Freeze - Requires Hard Reset

Apr 26, 2016

I'm running Jessie 64bit, and after installing the latest image and fully updating it, I get screen freezes using gnome, most oftenly when i press the start button to access gnome app grid. System becomes unusable and I have to hard reset. Just in case, I installed linux firmware from nonfree repos, but the issue persists. I don't use any exotic hardware:

Code: Select all00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)

[Code] ....

I'd say it's related to graphics, but I don't know how to get around it...

View 11 Replies View Related

OpenSUSE Install :: 11.1 - Boot System Forces Hard Reset

May 6, 2009

I'm new to Linux, tried Ubuntu, had slow boot problems, tried openSUSE 11.1, still have slow boot problems. The issue seems to be that the ata.0 device is slow to respond (ERROR= -16), the boot system forces a hard reset, then a soft reset, configures for UDMA 133, says the drive is ready, then does it again, three times, and then configures the drive for UDMA 100. It's a brand new Western Digital Caviar drive, and windowsXP likes it just fine. Once SUSE boots, everything seems to work just fine. I thought the problem might be with the drive jumpers, so I reset them from cable detect to master/single. No change in the problem.

View 9 Replies View Related

Hardware :: C840 Laptop Chronically Overheating - Hard Reset

Feb 19, 2010

I have blown-out and dusted the interior of the case with a feather brush, reseated the heat-sink with lots of paste, reseated the heatsink with a thin layer of paste, I've disabled speedstep in the BIOS to get the thing to run @ 1.2ghz instead of its' rated 2.0ghz, I've cleaned and lubed the fans with 3-in-1 oil. Yet, It still overheats. It goes like this. I'm running Slack -current BTW.

Boot ok...
XFCE4 starts ok...
gkrellm starts ok...
THM shows anywhere from 28 to 44C at this point...
Konsole starts ok...THM kicks up to 48C
Seamonkey starts...THM kicks to 50C
Load a ..... video to give the processor a workout
Within 2 mins THM spikes to 74C and fans start.
THM drops to 50C within a minute or so and then fans stop...
just let the machine sit for a minute...and...lockup
Hard reset
THM shows 66C during boot sequence
this pattern repeats every time I try to use this machine.

View 1 Replies View Related

Software :: Write / Unpack .qcow2 Hard Disk Image Directly To Real Hard Drive

May 22, 2011

is there a way to write/unpack .qcow2 hard disk image directly to real hard drive in Linux?(I know it's possible to unpack .qcow2 to .raw and then dd to drive, but I'd like to skip .raw since its large)

View 2 Replies View Related

OpenSUSE Hardware :: Hard Disk Frequent Head Unloads - Disk Clicking Whilst Idle?

Jun 2, 2010

I created a thread about a problem a I had with my hard disk clicking whilst idle little while ago and I may now have stumbled upon a possible solution. The strange thing with the problem is that Ubuntu/Kubuntu didn't cause this problem but Opensuse 11.2 does.

I installed Fedora 13 to have a glimpse of what all the fuss was about and noticed that I had the same problem (hard disk clicking whilst idle ~ every 20 secs or so). Now there's a wiki on this subject and a few bug reports: [url]

Problem Description

Some ATA harddrives perform very frequent head unloads under Linux significantly shortening their lifespans. Root cause

The inactivity timer for head unload is configured too aggressively either via ATA APM (Advanced Power Management) feature or other non-standard means. Such aggressive settings are very fragile to changes in IO pattern and under Linux many such drives unload their heads only to re-load them shortly. Note that this relentless unloading/reloading cycle can also be triggered under Windows by installing programs which can alter the IO pattern (e.g. certain vaccine programs which runs in background).

Now two of the listed models with this problem are basically identical to my model (Dell Inspiron 1520) and basically share the same hardware: Dell Vostro 1500 and XPS 1520.

The workaround listed is to:

set APM to 254

Furthermore, there is a script: Storage-Fixup which can also be downloaded from opensuse software search. Indeed there is a report of this for a Vostro 1500: Gmane Loom

The report suggests looking at: Disk Power Management - openSUSE which lists a method to create a configuration file to management disk power management:

My question is whether I could download the storage-fixup rpm [url] has a description of it and it can be found: Software.openSUSE.org) and install it to (hopefully) solve the issue or should I follow the method given in: Disk Power Management - openSUSE

to set APM to 254:

Code:

View 3 Replies View Related







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