ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Konstantin S. Uvarin" <khedin@mail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] bad block на загрузочном секторе usb-драйва
Date: Sat, 15 Mar 2008 09:08:46 +0300
Message-ID: <200803150908.46432.khedin@mail.ru> (raw)
In-Reply-To: <47DAE40C.2090105@gmail.com>

Приветствую! 

> Testdisk прекрасно видит сам раздел, все данные, реконструирует
> правильный boot sector, но записать его не может - write error, видимо
> из-за этих самых сбойных блоков.

> Собственно, вопрос: можно ли как-то линуксовыми средствами (желательно
> Alt) решить проблему? Ну типа пометить эти блоки как плохие, чтобы
> загрузочный сектор на них не пытался записываться. 

Вот это сомнительно -- сектор за нумером ноль не особо-то сдвинешь... Разве 
что самому диску в мозгах что-то поправить. 

> Или по крайней мере есть ли способ извлечь с винчестера данные, ведь они-то 
целы?

Ну, первое что приходит в голову -- сделать dd conv=noerror if=/dev/$disk 
>image и потом образ прогнать testdisk-ом и смонтировать с -o loop. Но это 
много места надо, а оно не всегда есть. 

Можно еще попробовать что-то типа mount /dev/sdX /mnt/smth -o 
loop,ro,offset=многобайт -- так, чтобы offset пришелся на начало раздела

-- 
Konstantin S. Uvarin
"Добрый волбешник" (c) А.Кнышев

  reply	other threads:[~2008-03-15  6:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14 20:46 Andrey Kutuzov
2008-03-15  6:08 ` Konstantin S. Uvarin [this message]
2008-03-15  6:25   ` Konstantin S. Uvarin
2008-03-21 19:48   ` Andrey Kutuzov
2008-03-22  5:57     ` Konstantin S. Uvarin
2008-03-22  6:58       ` Konstantin S. Uvarin
2008-03-29 20:20         ` Andrey Kutuzov
2008-03-15  8:59 ` ABATAPA
2008-03-21 19:52   ` Andrey Kutuzov
2008-03-29 10:19     ` ABATAPA

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200803150908.46432.khedin@mail.ru \
    --to=khedin@mail.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git