[Watford] Hexedit - Recovery of ReiserFs

Walt walt at helvatron.co.uk
Fri May 29 07:18:29 UTC 2009


Sorry to have bothered you.  I have figured it out and it worked.  All my
stuff is back.  I knew Linux would get me out of a very big hole.

Many thanks, Walter

-----Original Message-----
From: watford-bounces at mailman.lug.org.uk
[mailto:watford-bounces at mailman.lug.org.uk] On Behalf Of Walt
Sent: 29 May 2009 07:25
To: watford at mailman.lug.org.uk
Subject: [Watford] Hexedit - Recovery of ReiserFs

Hi Guys,

I recently lost my HP MediaVault  (not sure what happened but it has some
irrecoverable hardware fault) which uses ReiserFS with HP modifications as
the file system.  I figured there would be a solution under Linux to recover
my stuff so I started googling and came up with this:
--------------------------------------------------------------
Here is how I used your instructions with my MV drive in a USB
housing connected to a laptop booted from Ubuntu CD:
1. Get an Ubuntu boot CD (I'm using 8.04 beta)
2. Boot from CD into Ubuntu, making sure the MV drive is in a USB
housing and already connected to the system
3. System -> Administration -> Software Sources
* Check Community-Maintained Open Source software (universe)
* Click Close
* Click Reload
4. Applications -> Accessories -> Terminal
* Type: sudo apt-get update && sudo apt-get install hexedit
5. Get into hexedit for /dev/sdb
* Type: hexedit /dev/sdb
6. In HexEdit, search for ReIsEr
* Hit the Tab key (Toggles to the ASCII column)
* Hit Ctrl-S (puts you in search mode)
* Type: ReIsEr
* Hit ENTER
7. When you find the line (ex. 1E859830), change the last two digits of the
line number to 00 (ex. 1E859800).
8. Convert Hex to Decimal (ex. 512071680)
9. Mount it up (loop0 was already taken on my system, so I moved to
loop1)
* Type: sudo losetup -o $[ 512071680 - 65536 ] /dev/loop1 /dev/sdb
* Type: sudo mkdir /mnt/tmp1
* Type: sudo mount -r -t reiserfs /dev/loop1 /mnt/tmp1
You should now be able to see contents on /mnt/tmp1

Link:
http://blog.stevecoinc.com/2007/12/recovering-data-from-hp-media-vault.html 

Well I tried it and it worked like a charm up to point 7.  I cannot figure
out how to change a line number in Hexedit.  I must be misunderstanding the
instruction.  The guy who wrote this is unreachable.  I can see the HDD,
Hexedit finds 'ReIsEr' and then I am stuck.

Hope you can help.  Many thanks in advance.

Walter


_______________________________________________
Watford mailing list
Watford at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/watford




More information about the Watford mailing list