Quantcast
Channel: Complitly debricking guide (draft)
Viewing all articles
Browse latest Browse all 58

Re: Complitly debricking guide (draft)

$
0
0

Some feedback:

I used this thread tonight to rebuild a 2Tb MBL from scratch after I bricked it by unplugging from the mains without shutting down. I can confirm that everything works and I have a factory fresh install working again. Thank you megadoz and others…

I used Ubuntu 10. I concatenated all the shell files together into a single shell executable because for some reason the variables from disk-param were not getting shared with the other shell programs. Happy to post it here if it helps someone but I don't want to confuse this thread so I won't unless asked (it does not contain any new information).

I had some problems…
At first I commented out the formatting of sda4 to try to preserve my data partition but this had the side effect of not writing a disk label to the raid volume /dev/md0. Things started to go wrong until I cleaned my system, So I had to stop the volume, remove it, and then delete the superblocks from the two partitions that make the volume (in my case /dev/sdb1 and /dev/sdb2). I used these commands:
mdadm —stop /dev/md0
mdadm —remove /dev/md0
mdadm —zero-superblock —force —verbose /dev/sdb1
mdadm —zero-superblock —force —verbose /dev/sdb2

I found that these two lines in freshinstall.sh result in errors when it is run, maybe because the individual partitions are not visible and are already combined in a raid device by this time?
mdadm —zero-superblock —force —verbose ${rootfsDisk1} > /dev/null
mdadm —zero-superblock —force —verbose ${rootfsDisk2} > /dev/null
When I ran these commands manually, followed by the script, everything worked fine.

Good luck.


Viewing all articles
Browse latest Browse all 58

Trending Articles