Talk:How To Recover

From WebOS Internals

Jump to: navigation, search

Doctor disconnects at 8%

One thing I feel that should be mentioned, relative to the "Doctor disconnects at 8%" issue:

It IS possible to get data off the Pre before reformatting the USB drive. I know because I went through this process myself.

What you'll need is the Palm PDK. In the /share/jars/ directory is a file called DeviceBrowser.jar. Once you've done the 'lvm.static' steps, you can open the DeviceBrowser program and you should be able to see the directory tree for the Pre.

As far as I can tell, you can only perform file operations on one file at a time, but you will be able to select and save (to another volume) nearly any file you find. I did this with the pictures and videos that I did not want to lose.

There are other, more complicated ways to try to create a tarball file and save it to the computer that's connected to the Pre, but this might be simpler for some folks.

*** NOTE:  this must be done BEFORE the 'mkdosfs' command is issued.

I hope this helps someone who is going through this issue and wants to have some way to preserve the contents of their USB drive.


Complete filesystem creation for a 16GB Pre2

Here is how to recreate the filesystem for a Pre2 (still in testing)

lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgremove store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static vgcreate -s 8M store /dev/mmcblk0p3
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
lvm.static lvcreate -L 465M -i 1 -M y --major 254 --minor 0 -n root store
lvm.static lvcreate -L 64M -i 1 -M y --major 254 --minor 1 -n var store
lvm.static lvcreate -L 16M -i 1 -M y --major 254 --minor 2 -n update store
lvm.static lvcreate -L 24M -i 1 -M y --major 254 --minor 3 -n log store
lvm.static lvcreate -L 144M -i 1 -M y --major 254 --minor 4 -n mojodb store
lvm.static lvcreate -L 136M -i 1 -M y --major 254 --minor 5 -n filecache store
lvm.static lvcreate -L 13.84G -i 1 -M y --major 254 --minor 6 -n media store
lvm.static lvcreate -L 104M -i 1 -M y --major 254 --minor 7 -n swap store
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
mkdosfs -f 1 -s 64 /dev/store/media

Then you need to doctor.

PatrickC 01:45, 28 January 2012

Personal tools
Google AdSense