LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Buffer I/O error on sda2 after Arch Install (https://www.linuxquestions.org/questions/arch-29/buffer-i-o-error-on-sda2-after-arch-install-4175497746/)

Newzslack 03-10-2014 08:28 PM

Buffer I/O error on sda2 after Arch Install
 
hello,

I recently installed Arch on one of my desktops, the first time there was no problems, however I re-installed it later and now everytime I boot I get:

Buffer I/0 error on device sda2, logical block 0

is there anything I can do to format, get rid of bad blocks etc?

i'm assuming my hard drive isn't dead since it happened after an Arch install attempt?

thanks for any advice

pingwinowiewc 03-14-2014 04:53 AM

When you are unable to format your drive and you get blocks errors on rspci at Arch, just connect this hdd to Windows machine and format it from there. If it doesnt solve Arch being unable to read hdd, just report a bug at Arch bugtracker.

And - for time beingf - replace hdd with another one

TobiSGD 03-14-2014 06:55 AM

With those kinds of errors it is likely that your disk is dying. Please post the output of
Code:

smartctl -a /dev/sda

Newzslack 03-14-2014 08:03 AM

thanks for the reply guys, what I ended up doing was booting up Debians installer and allowed that to do a complete and slow format process which seemed to fix it. I'm not sure exactly what it did though as it was the graphical installer.

But i've since re-installed Arch with no problems :)

EDIT: also I should add, I think what caused it was going through the Arch install, but forgetting to do:

grub-mkconfig -o /boot/grub/grub.cfg

TobiSGD 03-14-2014 08:08 AM

I still recommend to check the disks health. Those errors are hardware errors that can't be fixed by software. You may have solved your problems for now, but usually those errors will appear again. Data on that disk is not safe.


All times are GMT -5. The time now is 02:43 PM.