|
Question:
Compare boot sectors MBR of two disks in raid1I have 2 disks in software raid1 on linux (/dev/sda and /dev/sdb) and the second one is hot added and recovered. Is there a way to see if the system is able to boot from second disk? Can I compare the MBR (master boot records) of two hard drives?
You can extract first 512 bytes from each hard drive and compare them.
This two lines will produce two files /tmp/bootsectorSDA.txt and /tmp/bootsectorSDB.txt - you can compare them. If they are different then probably you don't have MBR on second hard drive. Vote:
Please vote! Your opinion matters!
If you haven't found what you've looking for, post a question
|
|