15 Apr 2014 @ 12:17 PM 

Sometimes its a big problem to install OS on hdd’s after hardware raid. Because hdd contains RAID metadata and OS can’t be installed.

To remove RAID metadata, do following:

dd if=/dev/zero of=/dev/sda bs=512 count=20 – removing first 20 sectors of the drive

then check number of sectors via command fdisk -s /dev/sda

dd if=/dev/zero of=/dev/sda seek=(number_of_sectors – 20) bs=1k – removing last 20 sectors of the drive

or

dd if=/dev/zero of=/dev/sda seek=$(( $(fdisk -s /dev/sda) -20)) bs=1k

Do this on all drives with RAID metadata

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 03:53 PM

EmailPermalink
Tags
Tags: , ,
Categories: How to?


 

Responses to this post » (None)

 

Sorry, but comments are closed. Check out another post and speak up!

Tags
Comment Meta:
RSS Feed for comments

 Last 50 Posts
Change Theme...
  • Users » 1
  • Posts/Pages » 35
  • Comments » 0
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.

Need Help?



    No Child Pages.

Check your IP



    No Child Pages.