Difference between revisions of "Linux: BIOS Raid Metadata"

From Define Wiki
Jump to navigation Jump to search
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
There are three possible ways to erase Bios Raid metadata:
+
There are four possible ways to erase Bios Raid metadata:
  
 
==LINUX (May not work) ==
 
==LINUX (May not work) ==
Line 10: Line 10:
 
<syntaxhighlight>
 
<syntaxhighlight>
 
dd if=/dev/zero of=/dev/sdb bs=1 count=16384
 
dd if=/dev/zero of=/dev/sdb bs=1 count=16384
 +
</syntaxhighlight>
 +
 +
<syntaxhighlight>
 +
# If installing off the PXE server or CD Append the below to the end of the kernel command line and it will skip the error.
 +
nodmraid
 +
</syntaxhighlight>
 +
 +
<syntaxhighlight>
 +
# Known good: metadata appears to be at the end of the drive.
 +
DEVICE=/dev/sdb
 +
dd if=/dev/zero of=$DEVICE bs=512 seek=$(( $(blockdev --getsz $DEVICE) - 1024 )) count=1024
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Latest revision as of 10:39, 6 October 2016

There are four possible ways to erase Bios Raid metadata:

LINUX (May not work)

dmraid -r -E /dev/disk
dd if=/dev/zero of=/dev/sdb bs=1 count=16384
# If installing off the PXE server or CD Append the below to the end of the kernel command line and it will skip the error. 
nodmraid
# Known good: metadata appears to be at the end of the drive.
DEVICE=/dev/sdb
dd if=/dev/zero of=$DEVICE bs=512 seek=$(( $(blockdev --getsz $DEVICE) - 1024 )) count=1024

Windows

Load up a version of window and get a command line (shift + f10)

diskpart 
select disk [x] 
clean