Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I first deleted many things in my media partition to have space, then I did the backup thing
- cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make backup
- Unmounting partitions ...
- Unmounting /tmp/var
- Unmounting /tmp/root
- Unmounting /tmp/media
- Unmounting /tmp/boot
- Reading all physical volumes. This may take a while...
- Found volume group "store" using metadata type lvm2
- 8 logical volume(s) in volume group "store" now active
- Mounting partitions ...
- Mounting /dev/mapper/store-var
- Mounting /dev/mapper/store-root
- Mounting /dev/mapper/store-media
- Mounting /dev/mmcblk0p2
- Backuping all your device...
- Creating backup/5137e110/mmcblk0p1.bak
- 8192+0 records in
- 8192+0 records out
- 4194304 bytes (4.0MB) copied, 0.804749 seconds, 5.0MB/s
- 7958+468 records in
- 8192+0 records out
- 4194304 bytes (4.2 MB) copied, 0.794759 s, 5.3 MB/s
- Creating backup/5137e110/varfs.tar.gz
- Total bytes written: 38205440 (37MiB, 3.4MiB/s)
- Creating backup/5137e110/rootfs.tar.gz
- Total bytes written: 359526400 (343MiB, 4.3MiB/s)
- Creating backup/5137e110/boot.tar.gz
- Total bytes written: 10383360 (10MiB, 5.5MiB/s)
- Creating backup/5137e110/media.tar.gz
- Total bytes written: 754872320 (720MiB, 5.3MiB/s)
- Then I did the resize thing
- cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make lvm-resize
- Unmounting partitions ...
- Unmounting /tmp/var
- Unmounting /tmp/root
- Unmounting /tmp/media
- Unmounting /tmp/boot
- Unmounting FSO partition ...
- Reading all physical volumes. This may take a while...
- Found volume group "store" using metadata type lvm2
- 8 logical volume(s) in volume group "store" now active
- Now we are resizing lvm partition to get some space for FSO/SHR ...
- Reducing logical volume media to 5.50 GB
- Logical volume media successfully resized
- mkdosfs 2.11 (12 Mar 2005)
- Logical volume "fso" created <---------- HERE IT CREATES THE NEW PARTITION
- Filesystem label=
- OS type: Linux
- Block size=4096 (log=2)
- Fragment size=4096 (log=2)
- 548864 inodes, 2193408 blocks
- 109670 blocks (5.00%) reserved for the super user
- First data block=0
- Maximum filesystem blocks=2248146944
- 67 block groups
- 32768 blocks per group, 32768 fragments per group
- 8192 inodes per group
- Superblock backups stored on blocks:
- 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
- Writing inode tables: make restore-mediadone
- Creating journal (32768 blocks):
- done
- Writing superblocks and filesystem accounting information: done
- This filesystem will be automatically checked every 30 mounts or
- 180 days, whichever comes first. Use tune2fs -c or -i to override.
- cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$
- Then I restored my media data
- cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make restore-media
- Restoring your data to /media/internal ...
- novacom -w run file://bin/mkdir -- -p /tmp/media
- novacom -w run file://bin/mount -- /dev/mapper/store-media /tmp/media -o rw
- bin/tar: ./android/AoP.sh.txt: time stamp 2011-04-29 02:32:04 is 59846.679992676 s in the future
- bin/tar: .: implausibly old time stamp 1970-01-01 00:00:00
- I got "the latest unstable kernel" as the page says
- cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make wget-kernel
- Downloading kernel for your device ...
- wget -N --directory-prefix=downloads/ "http://build.shr-project.org/shr-unstable/images//palmpre"/uImage-palmpre.bin
- --2011-05-03 16:50:58-- http://build.shr-project.org/shr-unstable/images//palmpre/uImage-palmpre.bin
- Resolving build.shr-project.org... 78.40.125.6
- Connecting to build.shr-project.org|78.40.125.6|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 2341700 (2.2M) [application/octet-stream]
- Saving to: `downloads/uImage-palmpre.bin'
- 100%[======================================>] 2,341,700 420K/s in 6.4s
- 2011-05-03 16:51:06 (358 KB/s) - `downloads/uImage-palmpre.bin' saved [2341700/2341700]
- I flashed the kernel
- cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make flash-kernel
- Unmounting partitions ...
- Unmounting /tmp/var
- Unmounting /tmp/root
- Unmounting /tmp/media
- Unmounting /tmp/boot
- Reading all physical volumes. This may take a while...
- Found volume group "store" using metadata type lvm2
- 9 logical volume(s) in volume group "store" now active
- Mounting partitions ...
- Mounting /dev/mapper/store-var
- Mounting /dev/mapper/store-root
- Mounting /dev/mapper/store-media
- Mounting /dev/mmcblk0p2
- Starting to flash the given kernel file 'downloads/uImage-palmpre.bin' to the device ...
- novaterm put file://tmp/boot/uImage-palmpre.bin < downloads/uImage-palmpre.bin
- I got my Image that I had downloaded earlier and flashed it to the Plus
- cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ make IMAGE=~/Documents/webOS/SHROnPre/full-palmpre.tar.gz flash-image
- Unmounting FSO partition ...
- Erasing old image. This may take some time ...
- novacom -w run file://sbin/mkfs.ext3 -- /dev/store/fso &> /dev/null || true
- Erasing done!
- Reading all physical volumes. This may take a while...
- Found volume group "store" using metadata type lvm2
- 9 logical volume(s) in volume group "store" now active
- Mounting FSO partition ...
- Starting to flash the given image file '/home/cnegrete/Documents/webOS/SHROnPre/full-palmpre.tar.gz' to the device ...
- novacom -w run file://bin/rm -- -rf /tmp/fso/*
- novaterm put file://tmp/fso/full-palmpre.tar.gz < /home/cnegrete/Documents/webOS/SHROnPre/full-palmpre.tar.gz
- novacom -w run file://bin/tar -- -xzf /tmp/fso/full-palmpre.tar.gz -C /tmp/fso 2> /dev/null || true
- novacom -w run file://bin/rm -- /tmp/fso/full-palmpre.tar.gz 2> /dev/null || true
- That's it, I just connected to reboot
- cnegrete@cnegrete-laptop:~/Downloads/Pre/SHR$ novaterm
- root@palm-webos:/# sync
- root@palm-webos:/# tellbootie
- novacomd socket was closed prematurely
- novacom: unexpected EOF from server
- 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