Ubuntu :: Understand Hard Disk Diagnosis Result / "read Error " While Booting?
Apr 3, 2011
I face "read error " while booting. sometimes it start normally. someone told me to check hard disk for errors. i used gsmartcontrol for this. but from its result i am unable to decide is this hard disk failure or just minor errors. can somebody tell me do i require to change my hd or it just something else to cause such error.
View 5 Replies
ADVERTISEMENT
Aug 25, 2010
I have just started using Valgrind,which really is great. Most of the reported errors look kinda weird, though I can't really understand what's going on here, for example:
==00:00:02:52.033 7754== Invalid read of size 4
==00:00:02:52.033 7754== at 0x80B0987: MyCls::MyPrintf(long, char*, ...) (MyCls.cpp:270) ...
==00:00:02:52.033 7754== Address 0x47a5ee8 is 0 bytes after a block of size 296 alloc'd ...
==00:00:02:52.033 7754== by 0x809A6C1: ClsMain::taskRun(int, char**) (ClsMain.cpp:177)
==00:00:02:52.033 7754== by 0x816CFE8: main (main-C.cpp:2060)
==7754== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- Y
==00:00:02:57.410 7754== starting debugger with cmd: /usr/bin/gdb -nw /proc/7765/fd/1014 7765
GNU gdb Red Hat Linux (6.5-25.el5rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as
"i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /proc/7765/fd/1014, process 7765
MyCls::MyPrintf (this=0x47a5dc0, iPrm=3,
sMsg=0x6974320 "blablabla"...) at MyCls.cpp:270
270 cout<<endl<<"m_FilePtr="<<hex<<m_FilePtr<<dec<<endl;
Basically, Valgrind reported the "Invalid Read" error at line 270 of file MyCls.cpp, which is simply a cout of the m_FilePtr variable, which is a member variable of the MyCls class. It's a FILE* variable I use to write repeatedly on a text file. The address reported (0x47a5ee8) is 296 bytes after the "this" pointer (0x47a5dc0),as Valgrind correctly tells me but I honestly don't understand that. And of course, I need to read that variable, not only for the cout (indeed,the error is reported at every reading attempt). Besides, the application doesn't crash, but still I would like to understand if I really have to worry about this "error".
View 10 Replies
View Related
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
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
Mar 25, 2010
My new fedora 12 often freeze up for new reason. Not heavily loaded, no back end servers running. I suspect maybe my new harddrive has some problem. Could someone recommend a good hard drive diagonise tool?
View 3 Replies
View Related
Feb 26, 2010
I have just freshly installed Karmic on hardware that was previously running Intrepid without any problems. I have not installed anything beyond a few bog-standard applications. I am now running into regular system lock-ups because the / partition is becoming read-only. Once this happens I am unable to start any application or to shut down, because there is no write access. If I happen to have a terminal open, then it is apparent that the disk has become read-only because I can not remove, create or modify any file. If I do not have a terminal open, then I can not open one. Obviously there is nothing written to any log.
View 2 Replies
View Related
Jul 19, 2010
I have newly installed Ubuntu 10.04 lts. Everytime when I am boot my system, Ubuntu try to check my harddisk. I am stopping that by pressing "c" key.Why it is so? anything problem with my hard disk or I need to disable anything for avoiding it for everytime?
View 2 Replies
View Related
Jul 2, 2010
I have a little/big problem. This morning, I dont know why, but suddently my hard disk was full. I thougt that the temporary space grew too mucho and I thought if I restart my machine, everything would be nice but no. Now in the logging screen comes messages that some components cant be load and so I can't go in my Fedora
I tried to access to my partition with Knoppix-livecd and free some space, but it seems that Knoppix can't access to that partition. I have installed fedora 12.
View 5 Replies
View Related
May 24, 2009
i had installed fedora and windows on my internal Harddisk earlier,then tried to install fedora on external USB hard disk,now my computer failed to boot from internal hard disk,when i unplugged the hard disk.
View 9 Replies
View Related
Apr 28, 2010
I have 2 IDE drives, Windows XP is on the Master drive & Fedora 12 is on a partition the other drive. I purposely installed the Linux boot loader on the same drive as Fedora because want to use NTLDR as the primary boot loader. According to a guide I found [URL], I should be able to copy the Linux boot sector to a file & put that copy on the Windows drive & then modify boot.ini, so I am prompted to with an OS choice a startup.
The problem is the command the guide gives to copy the Linux boot sector (dd if=/dev/hdb1 of=bootsect.lnx size=512 count=1) has outdated syntax and does not work. What syntax would make this command work in Fedora 12? Another guide I found ([URL]-vista-already) suggested using: Grub4Dos & modifying boot.ini. This method almost worked until grub gave an error that there was no kernel loaded. What would I type into the grub prompt to load the kernel? How would I automate the loading of the kernel, so I don't have to specify the kernel each time?
View 6 Replies
View Related
May 20, 2011
My computer acts strange - sometimes reboots spontanousely, sometimes does not want to boot. When I isse command "mcelog", I receive such info:
[Code]..
How can I read and understand it? Could somebody point me to some documentation?
View 1 Replies
View Related
Sep 12, 2010
So my hard drive crashed. (i was running Linux 10.4)so i put in another hard drive, installed Ubuntu 10.4, and on boot up i get that error. I've tried reinstalling it with the server edition. different hard drives. all I get is that message.
View 9 Replies
View Related
Feb 23, 2010
Can't mount or read ddrescue result file
View 1 Replies
View Related
Jul 16, 2010
I am fully aware that these following photo's are not all required for a full understanding of my issue, but I will post them regardless. Checklist to see if my computer meets best results possible for the installation. Screenshot.jpg These photos showing here are where I plan on Installing Ubuntu
Screenshot-1.jpg
Screenshot-2.jpg
NOTE: The installation has started, but only to shortly be stopped by my error message.
Screenshot-3.jpg
This is my ERROR!!! message
Screenshot-4.jpg
No matter what I try to click on, the window simply ignores the command, regardless of the amount of times I issue the command.
View 1 Replies
View Related
Dec 17, 2010
I have just assembled my computer and installed Fedora 13. After rebooting I get Error 25: Disk read error, Press any key to continue. When I do that the systems goes back to the GRUB window where I continue to press enter and it goes back to the error after a while.
View 4 Replies
View Related
Apr 8, 2011
I have multi-version Kernels on a Dual Boot WinXP / openSUSE 11,3 box. It's been a LONG time since I needed to boot to Win XP and now that I find that I can't get to it, I can not say for sure what I did to break it. Looking back, I suspect that the method I used for the recent removal of one of the Kernel versions may have been innappropiate. Rather than unchecking in versions/package groups I may have just removed the unwanted kernel in the package list. Not sure. I've tried dinking around with menu.lst and Yast Boot Loader to no success. I get errors depending on what I messed with. Didn't try to reinstall grub until I checked here for help with a fix.
Here's some info:
Code:
View 9 Replies
View Related
Oct 27, 2010
2 months ago, I built a dedicated backup server using 4 2TB SATA drives for software RAID5 (6TB total). A few days ago, smartd sent out mail saying it found an unreadable sector on one of the drives. I ran selftest using smartctl and the error persisted. So far, neither software RAID nor ext4fs running on top of the RAID volume have reported errors.
MOST OPTIMISTIC: It is normal to have a few bad sectors among billions. Software RAID takes care of alternatives. Keep using the system until RAID spits a more serious warning in the future.
MOST PESSIMISTIC: It is a really bad sign to lead a disaster. No good disk drive should have bad sectors especially when it is only 2 months old. The error is simply not detected by software RAID and ext4. Replace the drive immediately and return the bad drive to the supplier.
View 8 Replies
View Related
Jul 27, 2010
I dual booted xp home ed with ubuntu netbook remix10.4 and in the grub loader (i did side by side install) it shows xp at the bottom (after ubuntu, ubuntu recovery mode, memcheck64 , xp
All of the loaders work fine (ubuntu loads fine, im typing this from ubuntu.) but xp will just say: Disk Read Error. Press Ctrl+Alt+Del
One hard drive is partioned 500GB HD ([440gb XP partition] + [60gb ubuntu])
View 9 Replies
View Related
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
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
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
Feb 27, 2011
My system decided to crash on me, hard. It was humming along happily for about 2 months and now doesn't boot. If I boot from hard-disk, I get grub. Launching the first kernel choice hangs. I thought maybe the install was corrupt, so I booted from usb install disk. The usb hdd didn't boot; something about an error trying to access /dev/sda . Unplugging the internal disk and plugging in the usb install disk does result in the system booting. Plugging in the internal disk in a running system usb-booted system does not result in the system detecting the disk.
How do I know if the disk is physically broken? This seems unlikely since it does manage to launch grub consistently. Or is this still possible? How can I try to mount whatever is left? The usb install disk doesn't even list the /dev/sd*. Any pointers on how to reformat the drive if it's not being mounted?
View 1 Replies
View Related
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
Mar 13, 2010
I have a qzd notebook with an rdc 1010 flash drive. I have downloaded the new 11.2 version of opensuse and it now recognises it, so thanks for that.Only trouble is I get an error message of:Failure occured during following action: Setting disk label of disk /dev/sda to msdos. System error code was: -1013A little history is required in orderI had windows xp installed to begin with (fool me ay!) and when I installed the adobe flash player 10, it always crashed my internet explorer, so i managed to find flash player 7, which I installed and it worked (kind of; it played videos, but stallingly; although this might be to do with the fact that i was also upgrading to IE 8 at the same time) but after a few seconds of it playing a video the computer reset and the message DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER appears. It seems that this flash player was some kind of virus and I worry that it may of damaged the flash drive, or is it that it's just messed up the MBR.
View 1 Replies
View Related
Oct 18, 2010
I have about 170 Gigabyte free at the last of my hard. I have windows 7 and suse linux installed on the machine. When I try to install ubunto. I start to create the partitions manually because I want to add it as a third operating system on my PC. Anyway I create the 4 partitions /boot - / - /var - /home. Automatically it choose to install the boot on sda not sda 9 as the /boot was sda9. I click install.
It gives me this message "The installer encountered an error copying files to the hard disk:
[Errno 5] Input/output error
This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of replacement, or to move the system to a cooler environment." I burn another cd and do the same ... the same problem.
I try to create the partitions at the end of the hard disk not the beginning although I am sure that there is no error in the hardware but the same message. Lastly I change the boot to be created in sda 9. The same problem, when I do everything. I download Linux mint another operating system and do the same points. The same error message appeared by the way the boot is being damaged after restarting and I have to fix it from suse linux cd.
View 1 Replies
View Related
May 9, 2011
My system has Windows XP Pro SP2 installed on /sda1 and originally a 10.04 on /sdb1-3, now upgraded to 11.04. The Ubuntu system works fine (teething troubles with nvidia drivers on upgrade but fixed now), and the Windows system shows up in the grub menu, but when it's selected, I just get `GRUB Hard Disk Error' and nothing else. Windows installed properly, and booted successfully until I installed Ubuntu in the first place. I can still access the files on that drive from within Ubuntu.
I've tried fixboot in the Win Recovery Console, which sounded like it did something, but didn't fix the problem. This problem isn't new to grub2, by the way - I just haven't needed Windows in a year.
View 9 Replies
View Related
Oct 1, 2010
I have a dual boot System with Ubuntu 10.04 Netbook Remix and Windows XP SP3 on an Asus eeePC 1000HE. I had some troubles with updating kernels etc. and I ended up with following problem:
After grub reinstall, I am able to boot Ubuntu, also I can mount the windows partition properly. Trying to boot into Windows, I get the error:
Code:
It's all on one hard drive which doesn't show any errors:
Code:
Partition table entries are not in disk order
Code:
Some partitions don't show a file system because they are luks-encrypted.
As I mentioned earlier, I am able to mount sda1. I think the problem is that the Partition Boot Sector is corrupted, even though I am not sure if the ntfs partition is damaged at all or if GRUB is the problem.
As I said I had problems with a kernel update and therefore had to reinstall GRUB. I think, but I am not sure, that I accidentally installed GRUB on sda1 (the windows partition) instead of on sda. After I installed GRUB on sda again, I was able to boot linux and fixed sda1 with testdisk. Before, sda1 showed as four partitions (sda1p1, ... , sda1p4). I was not able to mount sda1 till I fixed it with testdisk. testdisk says the Boot Sector of sda1 is OK, so does ntfsfix.
Finally, an extract from my /boot/grub/menu.lst:
Code: ...
The Windows XP entry is added by myself. I don't know much about grub, so there might be the error.
I tried to keep it as short as possible (this is only the end of the story), I hope I didn't forget anything important. Please ask if there is something not clear.
I am in Tanzania with this netbook, so it is not possible to boot Windows CD and fix the windows partition with it, also I don't have a very fast Internet connection.
Is there a way to fix this without a Windows CD? Maybe it is just a dumb mistake in the menu.lst?
View 9 Replies
View Related
May 23, 2011
This problem is occurring on Red Hat EL 5 WS. However, I have two CentOS 5 systems, with similar configuration to RH EL 5, where this problem does not occur.
I am getting this error:
Can't exec "sendmail": No such file or directory at ./0logwatch line 1018, <TESTFILE> line 1.
Can't execute sendmail -t: No such file or directory
View 3 Replies
View Related
May 21, 2009
I am a novice in Linux but due to my academic requirement I had to install Linux (Fedora 8). I have 2 hard disk's (80GB & 20GB), on the first HD which is 80GB I have Windows XP and the other one I partitioned and installed Linux. Now the first problem is that, whenever I start my PC I get a error which says "GRUB hard disk error", however when I restart the machine it's fine and gives me the boot options.
Secondly, the HD containing windows was affected by virus so I had to format & reinstall XP. Strangely after that I am not getting any boot options and it's like windows is the only 1 OS running. But on windows the partition on which Linux is installed in intact. So I assume something is deleted maybe the Linux boot file.
View 5 Replies
View Related
Jun 28, 2010
I am using an embedded platform in which I have connected an external harddisk (/dev/sda). The SCSI driver is present and I am using the SG_IO interface for performing the SMART commands with the Hard Disk. (Unfortunately not all the HDIO ioclts are present. So I opted for the SG_IO ioctl). But the data transfer (reading/write data from/to sector) is not working with the SG_IO ioctls. So I searched for some other options. Later in one of the places, I found that we can actually mount the /dev/sda to some mount point in /mnt and then make a XFS file system (mkfs.xfs) of this.
And then we can create the directories and do file operations on this mounted directory. Here the simple read/write systems calls can be used for this. I was thinking about this implementation. But I am confused how I can map the actual LBA (Logical Block Address) to the device file offset. I mean if I want to write to the sector 5, there will be a LBA for it. So I can do lseek on my device and then write the data there. So how the mapping between LBA and device file offset can be calculated.
View 4 Replies
View Related