Quantcast
Viewing latest article 1
Browse Latest Browse All 60

Re: Debricking Script That Can Keep Data

I had several problems with /mnt/md0 and /dev/md0 being mounted or not — mostly /dev/md0. I used an Ubuntu 12.04 LiveCD so I had a pristine Linux system booted from a CD. I had to install mdadm and curl each time I tried it. I probably did this a dozen times before I got it to work.

 sudo apt-get install curl sudo apt-get install mdadm sudo ./debricker.sh /dev/sdb destroy 

I deleted all partitions on MyBookLive drive with gparted before I started the LiveCD. Make sure you have anything like a filemanger closed when you run the script, so it doesn't try to mount the drive. I closed everything but the terminal.

Boot the LiveCD, mount the place upgrade/rootfs.img is located, do ctr-alt-T to open a terminal, install mdadm and curl, then run the script.
If I got the /dev/md0 error, I typed:

 sudo ./mdadm --stop /dev/md0 

and tried running the script again before rebooting the LiveCD.

Viewing latest article 1
Browse Latest Browse All 60

Trending Articles