[Comm] Зачистка грузового сектора на винте

Michael Shigorin mike на osdn.org.ua
Пн Июл 10 12:46:31 MSD 2006


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/


Подробная информация о списке рассылки Community