Difference between revisions of "Linux: BIOS Raid Metadata"

From Define Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user 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 15: Line 15:
 
# 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.  
 
# 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
 
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