What is this
These are backups of a brand new, never booted, Western Digital MyBook World Edition 500GB (single drive not II) Since the only way people as of creating these have to restore a bricked MB WE is to rebuild a Debian edition using the sources available which takes a long time and is confusing to many. I decided to open up an brand new one and rip the hard disk images, partition table, master boot record, and complete file systems keeping all permissions. The Firmware is 01.01.18. I used System Rescue CD, to obtain access to the drives. Running PartImage fails, so I used DD.
I have not tested that these work to restore a bricked system or if they will work on other sizes or the two disk version. So in essence, you screw it up by using any part of this… it's your fault, I take no blame. I would suggest you have Linux knowledge prior to using or attempting to use these. Of course, if you took the risk of hacking your MyBook World, then you should have already known this. I guestimate that these should be able to recreate a fresh out of the box MyBook World Edition. I am not your tech support, so don't try to contact me for it. Post to the forum, and if I can I will try to help.
Conversion Table from Mounted Drive to Actual WD FS
|Name||Partition Type||Partition Size||File System||Mounted On|
|sda1||ext3fs||2.80 GiB||/dev/root and rootfs||/|
|sda2||swap (v1)||101.98 MiB|
- Master Boot Record -
This was acquired by running "dd if=/dev/sda of=sda_mbr bs=512 count=1"
You would restore this by "dd if=sda_mbr of=/dev/sda bs=512 count=1"
- Partition Table -
This was acquired by running "sfdisk -d /dev/sda > sda_ptable"
You would restore this by "sfdisk /dev/sda < sda_ptable"
- BitByBit Disk Copies -
(These are exact copies of the partitions and will extract to be the partition size)
These were acquired by running "dd if=/dev/sda1 | bzip2 > sda1_image.bz2" on each partition where sda1 is sda1-sda4
You would restore this by "dd if=sda1_ima of=/dev/sda1", however since I piped them out as bzip2 files you will need to pipe in the std out of bzip into dd. I can't remember the command line options at this time.
WARNING: SDA4_IMA.BZ2 will extract to 461.89 GiB, as each file will extract to its original partition size.
- File System Dump Containing Permissions -
(These contain the file system for each partition while keeping full fs permissions)
This is acquired by mounting each partition as read-only as ext3 and tar/gzipping them with permissions. I can't quite remember which command options I did at the time.
You would restore these by mounting the partition and just extracting and writing over your files in your partition as root. You may need to delete other files you have created that are not in the archive, especially in your init.d.
You can also grab the files you may have corrupted individually as this is a copy of the files and structure. When mounting the FS you need to specify the type as ext3. Auto will detect the raid configuration and is unable to mount.
Since I am not positive about storing these files and Western Digital's EULA, I posted them on rapidshare.
Please mirror and post here. Posting back to rapidshare is pointless unless you reencode them in another compression format, as once a file is deleted, so is it's hash.
This first link is probably the one everyone will probably use. It contains the file structures (with the files) with the mbr and partition table.
This link will probably not be used by many. It contains the raw disk images with the mbr and partition table.
WARNING: These expand to the 500GB, mostly of empty space.