help with new OS

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: William Lindley
Dato:  
Emne: 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