how to fix hard derive on Linux
Правила форума
Пожалуйста, ознакомьтесь с правилами данного форума
Пожалуйста, ознакомьтесь с правилами данного форума
- dima
- Житель
- Сообщения: 690
- Зарегистрирован: 19 фев 2003, 19:26
- Откуда: Хабаровск->Toronto
how to fix hard derive on Linux
Hello all.
I have WD 160Gb hard drive with Kubuntu 9.10 installed on it. HD has bad sectors (or some defects).
Questions:
1. how to check and mark bad sectors on HD?
2. how to format disk (and hopefully check and mark each sector)?
I am ready to loose all data on HD.
thx
I have WD 160Gb hard drive with Kubuntu 9.10 installed on it. HD has bad sectors (or some defects).
Questions:
1. how to check and mark bad sectors on HD?
2. how to format disk (and hopefully check and mark each sector)?
I am ready to loose all data on HD.
thx
- Stanislav
- Mr. Minority Report
- Сообщения: 45331
- Зарегистрирован: 19 окт 2005, 16:33
- Откуда: Moscow - Richmond - New Wesт - Burnaby - PoCo
Re: how to fix hard derive on Linux
fsck - проверка файловой системы, но не уверен насчет бэд блоков.
mkfs / mkfs.ext3 / mkfs.ext4 - форматирование.
А с чего вы решили, что у вас бэд блоки?
Комп вообще работает? Посмотрите репозиторий - может там есть что-нить, да еще может и с ГУем...
mkfs / mkfs.ext3 / mkfs.ext4 - форматирование.
А с чего вы решили, что у вас бэд блоки?
Комп вообще работает? Посмотрите репозиторий - может там есть что-нить, да еще может и с ГУем...
- dima
- Житель
- Сообщения: 690
- Зарегистрирован: 19 фев 2003, 19:26
- Откуда: Хабаровск->Toronto
Re: how to fix hard derive on Linux
Before installation I checked DVD for errors (no errors).Stanislav писал(а):fsck - проверка файловой системы, но не уверен насчет бэд блоков.
mkfs / mkfs.ext3 / mkfs.ext4 - форматирование.
А с чего вы решили, что у вас бэд блоки?
Комп вообще работает? Посмотрите репозиторий - может там есть что-нить, да еще может и с ГУем...
During installation (use all drive option) I got error "Failed to write to disk", "Skip" button was available, so I skipped.
It was OK until yesterday, then I got some signals from KDE, apt-get, bash crashed ....
fsck checks only file system integrity. I already runs it (when boot from live CD), It found some nodes issues and "fixed", didn't help.
- Stanislav
- Mr. Minority Report
- Сообщения: 45331
- Зарегистрирован: 19 окт 2005, 16:33
- Откуда: Moscow - Richmond - New Wesт - Burnaby - PoCo
Re: how to fix hard derive on Linux
Вспомнил! Norton GHost.
- dima
- Житель
- Сообщения: 690
- Зарегистрирован: 19 фев 2003, 19:26
- Откуда: Хабаровск->Toronto
Re: how to fix hard derive on Linux
I downloaded iso with diagnostic tools from WD site.Stanislav писал(а):Вспомнил! Norton GHost.
- Groundhog
- Графоман
- Сообщения: 5099
- Зарегистрирован: 20 авг 2005, 16:36
- Откуда: Vancouver
Re: how to fix hard derive on Linux
Ищещ где блохие секторы сидят и ждут вас.
Делаещ партишон так чтобы минимумом покрыть
зону с плохими секторами.
НЕ используешь ЭТОТ раздел.
Делаещ партишон так чтобы минимумом покрыть
зону с плохими секторами.
НЕ используешь ЭТОТ раздел.
- dima
- Житель
- Сообщения: 690
- Зарегистрирован: 19 фев 2003, 19:26
- Откуда: Хабаровск->Toronto
Re: how to fix hard derive on Linux
hmm. this is what happened.
I check disk manufacture info and downloaded from WD site diagnostic tool. I made bootable diskette using this tool and boot machine up.
I run quick test - no errors reported (6 minutes).
I run full test - no errors reported (50 minutes)
I swap the disk (write 0x00 into all disk) - no errors reported (runs overnight)
This morning I try to install kubuntu 9.10 from DVD (run test media first - no errors) and got same error (failed to write to disk).
This time it was using ext4 partitions.
Also message suggested that it could be problem with media and as possible solution to download image again and burn with low speed.
It looks like I will wait for 1-2 days for 10.04 release and try whole story again.
Any suggestions are welcome.
I check disk manufacture info and downloaded from WD site diagnostic tool. I made bootable diskette using this tool and boot machine up.
I run quick test - no errors reported (6 minutes).
I run full test - no errors reported (50 minutes)
I swap the disk (write 0x00 into all disk) - no errors reported (runs overnight)
This morning I try to install kubuntu 9.10 from DVD (run test media first - no errors) and got same error (failed to write to disk).
This time it was using ext4 partitions.
Also message suggested that it could be problem with media and as possible solution to download image again and burn with low speed.
It looks like I will wait for 1-2 days for 10.04 release and try whole story again.
Any suggestions are welcome.
- Stanislav
- Mr. Minority Report
- Сообщения: 45331
- Зарегистрирован: 19 окт 2005, 16:33
- Откуда: Moscow - Richmond - New Wesт - Burnaby - PoCo
Re: how to fix hard derive on Linux
Я знал (с) Юрийdima писал(а):hmm. this is what happened.
I check disk manufacture info and downloaded from WD site diagnostic tool. I made bootable diskette using this tool and boot machine up.
I run quick test - no errors reported (6 minutes).
I run full test - no errors reported (50 minutes)
I swap the disk (write 0x00 into all disk) - no errors reported (runs overnight)
Попробуйте ехт3 - ехт4 еще слишком свеженькая... Возможны глюки...dima писал(а): This morning I try to install kubuntu 9.10 from DVD (run test media first - no errors) and got same error (failed to write to disk).
This time it was using ext4 partitions.
Also message suggested that it could be problem with media and as possible solution to download image again and burn with low speed.
It looks like I will wait for 1-2 days for 10.04 release and try whole story again.
Any suggestions are welcome.
Возможны также глюки с дровами или их отсутствием для данного чипсета в данной версии - оно пытается юзать что-то подходящее и пролетает.

Попробуйте последнюю Убунту.
- Groundhog
- Графоман
- Сообщения: 5099
- Зарегистрирован: 20 авг 2005, 16:36
- Откуда: Vancouver
Re: how to fix hard derive on Linux
Не в тему.
А зачем вам вообще DVD в современном
Линуксовском компе?
Скрепки что-ли хранить?
А зачем вам вообще DVD в современном
Линуксовском компе?
Скрепки что-ли хранить?
- Stanislav
- Mr. Minority Report
- Сообщения: 45331
- Зарегистрирован: 19 окт 2005, 16:33
- Откуда: Moscow - Richmond - New Wesт - Burnaby - PoCo
Re: how to fix hard derive on Linux
Лицензионные кино смотреть!Groundhog писал(а):Не в тему.
А зачем вам вообще DVD в современном
Линуксовском компе?
Скрепки что-ли хранить?
-
- Частый Гость
- Сообщения: 21
- Зарегистрирован: 16 июл 2008, 18:33
- Откуда: Toronto
Re: how to fix hard derive on Linux
На bad blocks можно сканировать и с помощью fsck:
сканирует и помечает бэды в режиме рид-онли.
сканирует в рид-райт.
Про инсталяцию не подскажу
Может контроллер или рам(?)
Код: Выделить всё
fsck -c
сканирует и помечает бэды в режиме рид-онли.
Код: Выделить всё
fsck -c -c
Про инсталяцию не подскажу

-
- Графоман
- Сообщения: 5103
- Зарегистрирован: 18 авг 2008, 14:51
Re: how to fix hard derive on Linux
man -k badblocks
google "linux badblock"
google "linux badblock"
- dima
- Житель
- Сообщения: 690
- Зарегистрирован: 19 фев 2003, 19:26
- Откуда: Хабаровск->Toronto
Re: how to fix hard derive on Linux
I got it work now. The problem was in RAM.