help with new OS

Inizio della pagina
Allegati:
Messaggio come e-mail
+ (text/plain)
Delete this message
Reply to this message
Autore: William Lindley
Data:  
Oggetto: help with new OS
der.hans wrote:
> # dd if=/dev/zero of=/dev/hda bs=512 count=10
>
> That should wipe it.


Another trick is that the kernel will automagically regard the Disk
Manager partition table offset trick, so the above may not work..

UNLESS you tell the kernel NOT to play along with the magic trick.

At the LILO prompt, type:

    LILO>   linux hda=noremap


or hdb=noremap as appropriate. That tells the kernel to ignore the Disk
Manager foolishness, so Hans's command above will *really* overwrite the
MBR (sector zero) and not the Disk Manager mapped one.

\\/
http://www.wlindley.com