* [Comm] Зачистка грузового сектора на винте @ 2006-07-10 6:11 Вадим Илларионов 2006-07-10 6:27 ` ABATAPA ` (2 more replies) 0 siblings, 3 replies; 24+ messages in thread From: Вадим Илларионов @ 2006-07-10 6:11 UTC (permalink / raw) To: community Напомните, пожалуйста, как это сделать. ________________________ С уважением, Вадим Илларионов системный администратор Усолье-Сибирский почтамт JID: см. <mailto:> UIN: 7899517 Телефоны: Мобильный +7 904 658-4154 Рабочий +7 39543 444-00 ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-10 6:11 [Comm] Зачистка грузового сектора на винте Вадим Илларионов @ 2006-07-10 6:27 ` ABATAPA 2006-07-10 7:30 ` Вадим Илларионов 2006-07-10 7:36 ` Вадим Илларионов 2006-07-10 8:46 ` Michael Shigorin 2 siblings, 1 reply; 24+ messages in thread From: ABATAPA @ 2006-07-10 6:27 UTC (permalink / raw) To: master, ALT Linux Community 10 июля 2006 10:11, Вадим Илларионов написал: > Напомните, пожалуйста, как это сделать. Вадим, у Вас вопрос - 1 строка, и ДЕВЯТЬ строк подписи. При этом и в вопросе, и в подписи нужной информации - минимум. Научитесь задавать вопросы, если хотите получать ответы. Что значит "зачистить"? Заполнить нулями (при этом "снеся" и таблицу разделов)? Удалить LILO? Или восстановить LILO? Или Grub? Поставить штатный загрузчик от Win98? Или от WinXP? Что имеено Вы хотели узнать? -- ABATAPA ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-10 6:27 ` ABATAPA @ 2006-07-10 7:30 ` Вадим Илларионов 2006-07-10 8:11 ` ABATAPA 2006-07-11 11:04 ` [Comm] Зачистка грузового сектора на винте Motsyo Gennadi aka Drool 0 siblings, 2 replies; 24+ messages in thread From: Вадим Илларионов @ 2006-07-10 7:30 UTC (permalink / raw) To: community ABATAPA wrote: > 10 июля 2006 10:11, Вадим Илларионов написал: >> Напомните, пожалуйста, как это сделать. > Вадим, у Вас вопрос - 1 строка, и ДЕВЯТЬ строк подписи. Извините, конечно, но часто ль Вы за мной такое замечали? Просто срочно понадобилось грохнуть GRUB для замены винта (со свежекупленной тачки с офтопиком взять побольше, туда воткнуть поменьше) - штатный установщик ВинХР не потёр его. А поскольку делал подобное последний раз давным-давно, то запамятовал. > При этом и в вопросе, и в подписи нужной информации - минимум. > Научитесь задавать вопросы, если хотите получать ответы. "Умный любит учиться, а дурак - учить." (с) А.П. Чехов. Это так. Пальба в воздух, не по Вам. > Что значит "зачистить"? Заполнить нулями (при этом "снеся" и таблицу > разделов)? Именно. > Удалить LILO? А после этого там может что-то остаться? Что ж это за зачистка тогда? > Или восстановить LILO? Или Grub? > Поставить штатный загрузчик от Win98? Или от WinXP? Даже не предполагал, что из такого простецкого вопроса можно сделать столь парадоксальные выводы. > Что имеено Вы хотели узнать? См. выше. Хотя, не беспокойтесь. Может, кто поуравновешенней ответит. ________________________ С уважением, (да-да) Вадим Илларионов системный администратор Усолье-Сибирский почтамт JID: см. <mailto:> UIN: 7899517 Телефоны: Мобильный +7 904 658-4154 Рабочий +7 39543 444-00 ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-10 7:30 ` Вадим Илларионов @ 2006-07-10 8:11 ` ABATAPA 2006-07-10 9:03 ` Вадим Илларионов 2006-07-10 10:11 ` [Comm] Administrativia Michael Shigorin 2006-07-11 11:04 ` [Comm] Зачистка грузового сектора на винте Motsyo Gennadi aka Drool 1 sibling, 2 replies; 24+ messages in thread From: ABATAPA @ 2006-07-10 8:11 UTC (permalink / raw) To: master, ALT Linux Community 10 июля 2006 11:30, Вадим Илларионов написал: > > Вадим, у Вас вопрос - 1 строка, и ДЕВЯТЬ строк подписи. > Извините, конечно, но часто ль Вы за мной такое замечали? Подпись в 9 строк? Часто. В каждом посте. :) > > Что значит "зачистить"? Заполнить нулями (при этом "снеся" и таблицу > > разделов)? > Именно. 1. Только "затереть" нулями MBR (0 сектор). ПРИ ЭТОМ БУДЕТ УДАЛЕНА ТАБЛИЦА РАЗДЕЛОВ! dd if=/dev/zero of=/dev/нужное_устройство count=1 2. Полностью стереть диск. ПРИ ЭТОМ БУДУТ УНИЧТОЖЕНЫ ВСЕ ДАННЫЕ НА ДИСКЕ! dd if=/dev/zero of=/dev/нужное_устройство bs=8k (размер блока для записи спорен, его можно увеличивать до мегабайт, но я исхожу из "стандартного" размера "мультиблока" при записи - 16 секторов) > Даже не предполагал, что из такого простецкого вопроса можно сделать столь > парадоксальные выводы. Можно. Из неверно заданного вопроса. Это как спросить "а как забацать". > См. выше. Хотя, не беспокойтесь. Может, кто поуравновешенней ответит. Вы грубы, Вадим. Вам не только указали на Ваши недостатки (видимо, Вы не читали никогда FAQ из серии "Как правильно задавать вопросы на форуме"), но и ответили. Хотя Ваш вопрос есть в FAQ на сайте поддержки любого дистрибутива, в документации и краткой справке к LILO, Grub, в HOWTO, Wiki... Но Вы не сумели (или не захотели) искать там, спросили здесь. Я уточнил вопрос и Вам ответил. -- ABATAPA ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-10 8:11 ` ABATAPA @ 2006-07-10 9:03 ` Вадим Илларионов 2006-07-10 10:11 ` [Comm] Administrativia Michael Shigorin 1 sibling, 0 replies; 24+ messages in thread From: Вадим Илларионов @ 2006-07-10 9:03 UTC (permalink / raw) To: community ABATAPA wrote: >> > Вадим, у Вас вопрос - 1 строка, и ДЕВЯТЬ строк подписи. >> Извините, конечно, но часто ль Вы за мной такое замечали? > Подпись в 9 строк? Часто. В каждом посте. :) Кто фортунки вставляет, кто контактные данные. А некоторые - о ужас! - и то, и другое. Многие и чрезмерным цитированием не гнушаются. >> > Что значит "зачистить"? Заполнить нулями (при этом "снеся" и таблицу >> > разделов)? >> Именно. > 1. Только "затереть" нулями MBR (0 сектор). > ПРИ ЭТОМ БУДЕТ УДАЛЕНА ТАБЛИЦА РАЗДЕЛОВ! > dd if=/dev/zero of=/dev/нужное_устройство count=1 > > 2. Полностью стереть диск. > ПРИ ЭТОМ БУДУТ УНИЧТОЖЕНЫ ВСЕ ДАННЫЕ НА ДИСКЕ! > dd if=/dev/zero of=/dev/нужное_устройство bs=8k > (размер блока для записи спорен, его можно увеличивать до мегабайт, но я > исхожу из "стандартного" размера "мультиблока" при записи - 16 секторов) Спасибо. Вероятно, моё предположение в соседнем посте могло дров наломать. Впрочем, могло и не наломать. >> Даже не предполагал, что из такого простецкого вопроса можно сделать >> столь парадоксальные выводы. > Можно. Из неверно заданного вопроса. > Это как спросить "а как забацать". Мне казалось, вопрос достаточно прозрачен. Возможно, я себе льстил. >> См. выше. Хотя, не беспокойтесь. Может, кто поуравновешенней ответит. > Вы грубы, Вадим. Извините. Не хотел обидеть. Но и Вы в достаточно жёсткой манере отвечали. > Вам не только указали на Ваши недостатки Скорее, окунули... > (видимо, Вы не читали никогда FAQ из серии "Как правильно задавать вопросы > на форуме"), Читал. И полагаю, длина темы не выбивается за рамки читабельности, а вопрос достаточно прост, чтобы раздувать в теле лишние пузыри. > но и ответили. Было больше похоже на отповедь. > Хотя Ваш вопрос есть в FAQ на сайте поддержки любого дистрибутива, в > документации и краткой справке к LILO, Grub, в HOWTO, Wiki... Но Вы не > сумели (или не захотели) искать там, спросили здесь. Залез в ман по дд, но не вдруг дошло. Дабы не наломать дров, как уже сказано выше, счёл достаточно безобидным посоветоваться с более опытными коллегами вживую. > Я уточнил вопрос и Вам ответил. Ещё раз спасибо. Правда. ________________________ С уважением, Вадим Илларионов системный администратор Усолье-Сибирский почтамт JID: см. <mailto:> UIN: 7899517 Телефоны: Мобильный +7 904 658-4154 Рабочий +7 39543 444-00 ^ permalink raw reply [flat|nested] 24+ messages in thread
* [Comm] Administrativia 2006-07-10 8:11 ` ABATAPA 2006-07-10 9:03 ` Вадим Илларионов @ 2006-07-10 10:11 ` Michael Shigorin 2006-07-10 23:56 ` Вадим Илларионов 1 sibling, 1 reply; 24+ messages in thread From: Michael Shigorin @ 2006-07-10 10:11 UTC (permalink / raw) To: ALT Linux Community On Mon, Jul 10, 2006 at 12:11:33PM +0400, ABATAPA wrote: > > См. выше. Хотя, не беспокойтесь. Может, кто поуравновешенней > > ответит. > Вы грубы, Вадим. Дядьки, извинитесь, простите и не подавайте такого огорчительного примера. Спасибо на терпении. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Administrativia 2006-07-10 10:11 ` [Comm] Administrativia Michael Shigorin @ 2006-07-10 23:56 ` Вадим Илларионов 0 siblings, 0 replies; 24+ messages in thread From: Вадим Илларионов @ 2006-07-10 23:56 UTC (permalink / raw) To: community Michael Shigorin wrote: > Дядьки, извинитесь, простите и не подавайте такого огорчительного > примера. Спасибо на терпении. Аватара, мировая? ________________________ С уважением, Вадим Илларионов системный администратор Усолье-Сибирский почтамт JID: см. <mailto:> UIN: 7899517 Телефоны: Мобильный +7 904 658-4154 Рабочий +7 39543 444-00 ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-10 7:30 ` Вадим Илларионов 2006-07-10 8:11 ` ABATAPA @ 2006-07-11 11:04 ` Motsyo Gennadi aka Drool 2006-07-11 11:40 ` Re[2]: [Comm] úÁÞÉÓÔËÁ ÇÒÕÚÏ×ÏÇÏ ÓÅËÔÏÒÁ ÎÁ ×ÉÎÔÅ Yuri 1 sibling, 1 reply; 24+ messages in thread From: Motsyo Gennadi aka Drool @ 2006-07-11 11:04 UTC (permalink / raw) To: master, ALT Linux Community Вадим Илларионов <master@usib.irkps.ru> wrote: > Просто срочно понадобилось грохнуть GRUB для замены винта (со свежекупленной > тачки с офтопиком взять побольше, туда воткнуть поменьше) - штатный > установщик ВинХР не потёр его. А поскольку делал подобное последний раз > давным-давно, то запамятовал. С ДОС-дискеты fdisk /MBR убивает MBR наповал, все остальное остается ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re[2]: [Comm] úÁÞÉÓÔËÁ ÇÒÕÚÏ×ÏÇÏ ÓÅËÔÏÒÁ ÎÁ ×ÉÎÔÅ 2006-07-11 11:04 ` [Comm] Зачистка грузового сектора на винте Motsyo Gennadi aka Drool @ 2006-07-11 11:40 ` Yuri 2006-07-11 16:21 ` [Comm] Зачистка грузового сектора на винте ABATAPA 0 siblings, 1 reply; 24+ messages in thread From: Yuri @ 2006-07-11 11:40 UTC (permalink / raw) To: ALT Linux Community Здравствуйте, Motsyo. Вы писали 11 июля 2006 г., 14:04:39: MGaD> делал подобное последний раз> давным-давно, то запамятовал. MGaD> С ДОС-дискеты fdisk /MBR убивает MBR наповал, все Я использую Hiren's Boot CD. Там запускаю Norton Disk Editor и забиваю нулями нулевой сектор. Диск становится как из магазина :) -- С уважением, Yuri mailto:admin_lmk@luport.com ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-11 11:40 ` Re[2]: [Comm] úÁÞÉÓÔËÁ ÇÒÕÚÏ×ÏÇÏ ÓÅËÔÏÒÁ ÎÁ ×ÉÎÔÅ Yuri @ 2006-07-11 16:21 ` ABATAPA 2006-07-11 17:28 ` Vyatcheslav Perevalov 0 siblings, 1 reply; 24+ messages in thread From: ABATAPA @ 2006-07-11 16:21 UTC (permalink / raw) To: Yuri, ALT Linux Community 11 июля 2006 15:40, Yuri написал: > Диск становится как из магазина :) Мы, по-моему, УЖЕ "кто во что горазд", но... Видел я (в том числе в магазине) такие "как из магазина" диски. Быстро восстанавливаешь разделы (хотя бы тем же gpart'ом), и - вуаля! Смотрим (при желании) чужие фото, письма, логи, пароли, фильмы и т.д. Так что "как из магазина" - это только и лишь частично, скажем, в mhdd делать erase, или `dd if=/dev/zero` (хотя и абсолютно разные вещи). "Частично" - потому что время работы, число включений, запусков шпинделя есть в S.M.A.R.T. Так что... -- ABATAPA ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-11 16:21 ` [Comm] Зачистка грузового сектора на винте ABATAPA @ 2006-07-11 17:28 ` Vyatcheslav Perevalov 2006-07-11 18:38 ` Andrey Rahmatullin 0 siblings, 1 reply; 24+ messages in thread From: Vyatcheslav Perevalov @ 2006-07-11 17:28 UTC (permalink / raw) To: ALT Linux Community В сообщении от 11 июля 2006 23:21 ABATAPA написал(a): >... "Частично" - потому что время работы, число включений, запусков > шпинделя есть в S.M.A.R.T. А как это посмотреть? -- /vip ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-11 17:28 ` Vyatcheslav Perevalov @ 2006-07-11 18:38 ` Andrey Rahmatullin 2006-07-12 5:13 ` mailvisor 0 siblings, 1 reply; 24+ messages in thread From: Andrey Rahmatullin @ 2006-07-11 18:38 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 342 bytes --] On Wed, Jul 12, 2006 at 12:28:19AM +0700, Vyatcheslav Perevalov wrote: > А как это посмотреть? smartctl -a /dev/hda -- WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): > > Логи неудачных сборок были разосланы мантейнерам 14-го января. > В некоторых случаях они бесполезны. Кто? мантейнеры? -- legion in devel@ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-11 18:38 ` Andrey Rahmatullin @ 2006-07-12 5:13 ` mailvisor 2006-07-12 5:30 ` Мерзляков Евгений Анатольевич 2006-07-12 10:39 ` Michael Shigorin 0 siblings, 2 replies; 24+ messages in thread From: mailvisor @ 2006-07-12 5:13 UTC (permalink / raw) To: ALT Linux Community В сообщении от Вторник 11 Июль 2006 22:38 Andrey Rahmatullin написал(a): > On Wed, Jul 12, 2006 at 12:28:19AM +0700, Vyatcheslav Perevalov wrote: > > А как это посмотреть? > > smartctl -a /dev/hda А как на счет SATA? ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-12 5:13 ` mailvisor @ 2006-07-12 5:30 ` Мерзляков Евгений Анатольевич 2006-07-12 6:50 ` mailvisor 2006-07-12 10:39 ` Michael Shigorin 1 sibling, 2 replies; 24+ messages in thread From: Мерзляков Евгений Анатольевич @ 2006-07-12 5:30 UTC (permalink / raw) To: ALT Linux Community On Wed, 12 Jul 2006 09:13:53 +0400 mailvisor <mailvisor@mail.ru> wrote: > В сообщении от Вторник 11 Июль 2006 22:38 Andrey Rahmatullin написал(a): > > On Wed, Jul 12, 2006 at 12:28:19AM +0700, Vyatcheslav Perevalov wrote: > > > А как это посмотреть? > > > > smartctl -a /dev/hda > А как на счет SATA? очевидно /dev/sda -- Мерзляков Е.А. icq: #115657846 ПКБ Акустика ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-12 5:30 ` Мерзляков Евгений Анатольевич @ 2006-07-12 6:50 ` mailvisor 1 sibling, 0 replies; 24+ messages in thread From: mailvisor @ 2006-07-12 6:50 UTC (permalink / raw) To: ALT Linux Community В сообщении от Среда 12 Июль 2006 09:30 Мерзляков Евгений Анатольевич написал(a): > On Wed, 12 Jul 2006 09:13:53 +0400 > > mailvisor <mailvisor@mail.ru> wrote: > > В сообщении от Вторник 11 Июль 2006 22:38 Andrey Rahmatullin написал(a): > > > On Wed, Jul 12, 2006 at 12:28:19AM +0700, Vyatcheslav Perevalov wrote: > > > > А как это посмотреть? > > > > > > smartctl -a /dev/hda > > > > А как на счет SATA? > > очевидно /dev/sda Я знаю про /dev/sda #smartctl -a /dev/sda smartctl version 5.33 [i586-alt-linux-gnu] Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Device: Version: Device type: disk Local Time is: Wed Jul 12 10:49:24 2006 MSD Device does not support SMART Error Counter logging not supported Error Events logging not supported [GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on'] Device does not support Self Test logging ^ permalink raw reply [flat|nested] 24+ messages in thread
[parent not found: <21bd5bb90607112312r6bc8ee09j400b56514c33ad23@mail.gmail.com>]
* Re: [Comm] Зачистка грузового сектора на винте @ 2006-07-12 7:41 ` ABATAPA 2006-07-12 10:41 ` Michael Shigorin 1 sibling, 0 replies; 24+ messages in thread From: ABATAPA @ 2006-07-12 7:41 UTC (permalink / raw) To: ALT Linux Community 12 июля 2006 10:12, Mikhail Pokidko написал: > Local Time is: Wed Jul 12 10:11:24 2006 MSD > Device does not support SMART В последних ядрах, говорят, работает. Нет - включите SATA как IDE. Или загрузитесь, скажем, в mhdd, и посмотрите. -- ABATAPA ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-12 7:41 ` ABATAPA @ 2006-07-12 10:41 ` Michael Shigorin 2006-07-12 11:36 ` ABATAPA 1 sibling, 1 reply; 24+ messages in thread From: Michael Shigorin @ 2006-07-12 10:41 UTC (permalink / raw) To: ALT Linux Community On Wed, Jul 12, 2006 at 10:12:08AM +0400, Mikhail Pokidko wrote: > >smartctl -a /dev/sda > smartctl version 5.33 А, да -- и smartmontools-5.36-alt2 (проверено с 2.6.16-vs26-smp-alt8, NFORCE4 и ST3200827AS). -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-12 10:41 ` Michael Shigorin @ 2006-07-12 11:36 ` ABATAPA 0 siblings, 0 replies; 24+ messages in thread From: ABATAPA @ 2006-07-12 11:36 UTC (permalink / raw) To: ALT Linux Community 12 июля 2006 14:41, Michael Shigorin написал: > А, да -- и smartmontools-5.36-alt2 (проверено > с 2.6.16-vs26-smp-alt8, NFORCE4 и ST3200827AS). Только вот, к сожалению, не работает с USB-HDD. 8( -- ABATAPA ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-12 5:13 ` mailvisor 2006-07-12 5:30 ` Мерзляков Евгений Анатольевич @ 2006-07-12 10:39 ` Michael Shigorin 1 sibling, 0 replies; 24+ messages in thread From: Michael Shigorin @ 2006-07-12 10:39 UTC (permalink / raw) To: ALT Linux Community On Wed, Jul 12, 2006 at 09:13:53AM +0400, mailvisor wrote: > > > А как это посмотреть? > > smartctl -a /dev/hda > А как на счет SATA? Ядро 2.6.16+ из сизифа и smartctl -d ata -a /dev/sda -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-10 6:11 [Comm] Зачистка грузового сектора на винте Вадим Илларионов 2006-07-10 6:27 ` ABATAPA @ 2006-07-10 7:36 ` Вадим Илларионов 2006-07-10 8:11 ` Anton Gorlov 2006-07-10 10:10 ` Andrew Borodin 2006-07-10 8:46 ` Michael Shigorin 2 siblings, 2 replies; 24+ messages in thread From: Вадим Илларионов @ 2006-07-10 7:36 UTC (permalink / raw) To: community Вадим Илларионов wrote: > Напомните, пожалуйста, как это сделать. Кажется, сам нашёл: dd if=/dev/null of=/dev/hda count=16 bs=1 Хотя проверить не могу: пока искал, напарник, стремившийся сделать это из-под Линукса, уже вгрузил DiskEdit и почистил бут-сектор им. Отсюда вопрос: то ли я нашёл?.. ________________________ С уважением, Вадим Илларионов системный администратор Усолье-Сибирский почтамт JID: см. <mailto:> UIN: 7899517 Телефоны: Мобильный +7 904 658-4154 Рабочий +7 39543 444-00 ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-10 7:36 ` Вадим Илларионов @ 2006-07-10 8:11 ` Anton Gorlov 2006-07-10 10:10 ` Andrew Borodin 1 sibling, 0 replies; 24+ messages in thread From: Anton Gorlov @ 2006-07-10 8:11 UTC (permalink / raw) To: ALT Linux Community Вадим Илларионов пишет: >> Напомните, пожалуйста, как это сделать. > Кажется, сам нашёл: > dd if=/dev/null of=/dev/hda count=16 bs=1 У меня на такие случаи лежит загрузочный чидюк с досом.. fdisk /mbr и всё. -- np: silence ( Winamp ушел в Партизаны ;-) ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-10 7:36 ` Вадим Илларионов 2006-07-10 8:11 ` Anton Gorlov @ 2006-07-10 10:10 ` Andrew Borodin 2006-07-10 23:42 ` Вадим Илларионов 1 sibling, 1 reply; 24+ messages in thread From: Andrew Borodin @ 2006-07-10 10:10 UTC (permalink / raw) To: community On Mon, Jul 10, 2006 at 04:36:19PM +0900, Вадим Илларионов wrote: > Кажется, сам нашёл: > dd if=/dev/null of=/dev/hda count=16 bs=1 if=/dev/zero. Из /dev/null ничего считать не получится. И 16 байт маловато будет. bs=512 count=1 -- С уважением, А. Бородин. ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-10 10:10 ` Andrew Borodin @ 2006-07-10 23:42 ` Вадим Илларионов 0 siblings, 0 replies; 24+ messages in thread From: Вадим Илларионов @ 2006-07-10 23:42 UTC (permalink / raw) To: community Andrew Borodin wrote: > On Mon, Jul 10, 2006 at 04:36:19PM +0900, Вадим Илларионов wrote: >> Кажется, сам нашёл: > >> dd if=/dev/null of=/dev/hda count=16 bs=1 > > if=/dev/zero. Из /dev/null ничего считать не получится. > > И 16 байт маловато будет. bs=512 count=1 Спасибо за уточнение! При том, согласно ещё более уточнённым данным, присланным Михаилом Шигориным, для того, чтоб не похерить таблицу разделов, bs следует установить в 446. ________________________ С уважением, Вадим Илларионов системный администратор Усолье-Сибирский почтамт JID: см. <mailto:> UIN: 7899517 Телефоны: Мобильный +7 904 658-4154 Рабочий +7 39543 444-00 ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Comm] Зачистка грузового сектора на винте 2006-07-10 6:11 [Comm] Зачистка грузового сектора на винте Вадим Илларионов 2006-07-10 6:27 ` ABATAPA 2006-07-10 7:36 ` Вадим Илларионов @ 2006-07-10 8:46 ` Michael Shigorin 2 siblings, 0 replies; 24+ messages in thread From: Michael Shigorin @ 2006-07-10 8:46 UTC (permalink / raw) To: community On Mon, Jul 10, 2006 at 03:11:39PM +0900, Вадим Илларионов wrote: > Напомните, пожалуйста, как это сделать. http://www.cpqlinux.com/mbr.html ? (погуглил "dd mbr offset", потом добавил "hda") I want to merge the boot code and boot signature (55 aa) into an MBR without affecting the partitions: dd if=/dev/hda bs=512 count=1 of=mergedmbr dd if=mymbr bs=446 count=1 of=mergedmbr dd if=mymbr bs=1 skip=510 count=2 of=mergedmbr seek=510 cat mergedmbr | xxd -g 1 If satisfied with the merged version of the MBR then push it out to your MBR location -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2006-07-12 11:36 UTC | newest] Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-07-10 6:11 [Comm] Зачистка грузового сектора на винте Вадим Илларионов 2006-07-10 6:27 ` ABATAPA 2006-07-10 7:30 ` Вадим Илларионов 2006-07-10 8:11 ` ABATAPA 2006-07-10 9:03 ` Вадим Илларионов 2006-07-10 10:11 ` [Comm] Administrativia Michael Shigorin 2006-07-10 23:56 ` Вадим Илларионов 2006-07-11 11:04 ` [Comm] Зачистка грузового сектора на винте Motsyo Gennadi aka Drool 2006-07-11 11:40 ` Re[2]: [Comm] úÁÞÉÓÔËÁ ÇÒÕÚÏ×ÏÇÏ ÓÅËÔÏÒÁ ÎÁ ×ÉÎÔÅ Yuri 2006-07-11 16:21 ` [Comm] Зачистка грузового сектора на винте ABATAPA 2006-07-11 17:28 ` Vyatcheslav Perevalov 2006-07-11 18:38 ` Andrey Rahmatullin 2006-07-12 5:13 ` mailvisor 2006-07-12 5:30 ` Мерзляков Евгений Анатольевич 2006-07-12 6:50 ` mailvisor 2006-07-12 7:41 ` ABATAPA 2006-07-12 10:41 ` Michael Shigorin 2006-07-12 11:36 ` ABATAPA 2006-07-12 10:39 ` Michael Shigorin 2006-07-10 7:36 ` Вадим Илларионов 2006-07-10 8:11 ` Anton Gorlov 2006-07-10 10:10 ` Andrew Borodin 2006-07-10 23:42 ` Вадим Илларионов 2006-07-10 8:46 ` Michael Shigorin
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