patrickc

Untitled

May 3rd, 2011
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.87 KB | None | 0 0
  1. I first deleted many things in my media partition to have space, then I did the backup thing
  2.  
  3. cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make backup
  4. Unmounting partitions ...
  5. Unmounting /tmp/var
  6. Unmounting /tmp/root
  7. Unmounting /tmp/media
  8. Unmounting /tmp/boot
  9. Reading all physical volumes. This may take a while...
  10. Found volume group "store" using metadata type lvm2
  11. 8 logical volume(s) in volume group "store" now active
  12. Mounting partitions ...
  13. Mounting /dev/mapper/store-var
  14. Mounting /dev/mapper/store-root
  15. Mounting /dev/mapper/store-media
  16. Mounting /dev/mmcblk0p2
  17. Backuping all your device...
  18. Creating backup/5137e110/mmcblk0p1.bak
  19. 8192+0 records in
  20. 8192+0 records out
  21. 4194304 bytes (4.0MB) copied, 0.804749 seconds, 5.0MB/s
  22. 7958+468 records in
  23. 8192+0 records out
  24. 4194304 bytes (4.2 MB) copied, 0.794759 s, 5.3 MB/s
  25. Creating backup/5137e110/varfs.tar.gz
  26. Total bytes written: 38205440 (37MiB, 3.4MiB/s)
  27. Creating backup/5137e110/rootfs.tar.gz
  28. Total bytes written: 359526400 (343MiB, 4.3MiB/s)
  29. Creating backup/5137e110/boot.tar.gz
  30. Total bytes written: 10383360 (10MiB, 5.5MiB/s)
  31. Creating backup/5137e110/media.tar.gz
  32. Total bytes written: 754872320 (720MiB, 5.3MiB/s)
  33.  
  34. Then I did the resize thing
  35. cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make lvm-resize
  36. Unmounting partitions ...
  37. Unmounting /tmp/var
  38. Unmounting /tmp/root
  39. Unmounting /tmp/media
  40. Unmounting /tmp/boot
  41. Unmounting FSO partition ...
  42. Reading all physical volumes. This may take a while...
  43. Found volume group "store" using metadata type lvm2
  44. 8 logical volume(s) in volume group "store" now active
  45. Now we are resizing lvm partition to get some space for FSO/SHR ...
  46. Reducing logical volume media to 5.50 GB
  47. Logical volume media successfully resized
  48. mkdosfs 2.11 (12 Mar 2005)
  49. Logical volume "fso" created <---------- HERE IT CREATES THE NEW PARTITION
  50. Filesystem label=
  51. OS type: Linux
  52. Block size=4096 (log=2)
  53. Fragment size=4096 (log=2)
  54. 548864 inodes, 2193408 blocks
  55. 109670 blocks (5.00%) reserved for the super user
  56. First data block=0
  57. Maximum filesystem blocks=2248146944
  58. 67 block groups
  59. 32768 blocks per group, 32768 fragments per group
  60. 8192 inodes per group
  61. Superblock backups stored on blocks:
  62. 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
  63.  
  64. Writing inode tables: make restore-mediadone
  65. Creating journal (32768 blocks):
  66. done
  67. Writing superblocks and filesystem accounting information: done
  68.  
  69. This filesystem will be automatically checked every 30 mounts or
  70. 180 days, whichever comes first. Use tune2fs -c or -i to override.
  71. cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$
  72.  
  73. Then I restored my media data
  74. cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make restore-media
  75. Restoring your data to /media/internal ...
  76. novacom -w run file://bin/mkdir -- -p /tmp/media
  77. novacom -w run file://bin/mount -- /dev/mapper/store-media /tmp/media -o rw
  78. bin/tar: ./android/AoP.sh.txt: time stamp 2011-04-29 02:32:04 is 59846.679992676 s in the future
  79.  
  80. bin/tar: .: implausibly old time stamp 1970-01-01 00:00:00
  81.  
  82.  
  83. I got "the latest unstable kernel" as the page says
  84.  
  85. cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make wget-kernel
  86. Downloading kernel for your device ...
  87. wget -N --directory-prefix=downloads/ "http://build.shr-project.org/shr-unstable/images//palmpre"/uImage-palmpre.bin
  88. --2011-05-03 16:50:58-- http://build.shr-project.org/shr-unstable/images//palmpre/uImage-palmpre.bin
  89. Resolving build.shr-project.org... 78.40.125.6
  90. Connecting to build.shr-project.org|78.40.125.6|:80... connected.
  91. HTTP request sent, awaiting response... 200 OK
  92. Length: 2341700 (2.2M) [application/octet-stream]
  93. Saving to: `downloads/uImage-palmpre.bin'
  94.  
  95. 100%[======================================>] 2,341,700 420K/s in 6.4s
  96.  
  97. 2011-05-03 16:51:06 (358 KB/s) - `downloads/uImage-palmpre.bin' saved [2341700/2341700]
  98.  
  99.  
  100. I flashed the kernel
  101.  
  102. cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make flash-kernel
  103. Unmounting partitions ...
  104. Unmounting /tmp/var
  105. Unmounting /tmp/root
  106. Unmounting /tmp/media
  107. Unmounting /tmp/boot
  108. Reading all physical volumes. This may take a while...
  109. Found volume group "store" using metadata type lvm2
  110. 9 logical volume(s) in volume group "store" now active
  111. Mounting partitions ...
  112. Mounting /dev/mapper/store-var
  113. Mounting /dev/mapper/store-root
  114. Mounting /dev/mapper/store-media
  115. Mounting /dev/mmcblk0p2
  116. Starting to flash the given kernel file 'downloads/uImage-palmpre.bin' to the device ...
  117. novaterm put file://tmp/boot/uImage-palmpre.bin < downloads/uImage-palmpre.bin
  118.  
  119. I got my Image that I had downloaded earlier and flashed it to the Plus
  120.  
  121. cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make IMAGE=~/Documents/webOS/SHROnPre/full-palmpre.tar.gz flash-image
  122. Unmounting FSO partition ...
  123. Erasing old image. This may take some time ...
  124. novacom -w run file://sbin/mkfs.ext3 -- /dev/store/fso &> /dev/null || true
  125. Erasing done!
  126. Reading all physical volumes. This may take a while...
  127. Found volume group "store" using metadata type lvm2
  128. 9 logical volume(s) in volume group "store" now active
  129. Mounting FSO partition ...
  130. Starting to flash the given image file '/home/cnegrete/Documents/webOS/SHROnPre/full-palmpre.tar.gz' to the device ...
  131. novacom -w run file://bin/rm -- -rf /tmp/fso/*
  132. novaterm put file://tmp/fso/full-palmpre.tar.gz < /home/cnegrete/Documents/webOS/SHROnPre/full-palmpre.tar.gz
  133. novacom -w run file://bin/tar -- -xzf /tmp/fso/full-palmpre.tar.gz -C /tmp/fso 2> /dev/null || true
  134. novacom -w run file://bin/rm -- /tmp/fso/full-palmpre.tar.gz 2> /dev/null || true
  135.  
  136. That's it, I just connected to reboot
  137.  
  138. cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ novaterm
  139. root@palm-webos:/# sync
  140. root@palm-webos:/# tellbootie
  141. novacomd socket was closed prematurely
  142. novacom: unexpected EOF from server
  143.  
  144.  
  145.  
  146. There, remember that I had bootr from the other installation, and I didn't install it this time
Advertisement
Add Comment
Please, Sign In to add comment