Difference between revisions of "Run Multiple WebOS Versions"
Jump to navigation
Jump to search
(added important missed step) |
(more) |
||
Line 13: | Line 13: | ||
dd if=/dev/mapper/store-root of=/media/internal/mb/root1.img bs=1048576 | dd if=/dev/mapper/store-root of=/media/internal/mb/root1.img bs=1048576 | ||
dd if=/dev/mapper/store-var of=/media/internal/mb/var1.img bs=1048576 | dd if=/dev/mapper/store-var of=/media/internal/mb/var1.img bs=1048576 | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | Later | ||
+ | <pre> | ||
+ | lvcreate -L 256M var2 | ||
+ | lvcreate -L 40M -n log2 store | ||
+ | lvcreate -l 100%FREE -n root2 store | ||
+ | dd if=/media/internal/mb/root1.img of=/dev/mapper/store-root2 bs=1048576 | ||
+ | resize2fs /dev/mapper/store-root2 | ||
+ | dd if=/media/internal/mb/var1.img of=/dev/mapper/store-var2 bs=1048576 | ||
+ | resize2fs /dev/mapper/store-var2 | ||
+ | e2resize /dev/mapper/store-root2 | ||
+ | mkfs.ext3 /dev/mapper/store-log2 | ||
</pre> | </pre> |
Revision as of 05:25, 31 January 2010
THIS IS A WORK IN PROGRESS AND WILL DESTROY YOUR PRE
And especially your /media/internal filesystem
stop LunaSysMgr pkill cryptofs umount /media/internal lvresize -L -800M /dev/mapper/store-media mkdosfs -F 32 /dev/mapper/store-media mount /media/internal mkdir /media/internal/mb dd if=/dev/mapper/store-root of=/media/internal/mb/root1.img bs=1048576 dd if=/dev/mapper/store-var of=/media/internal/mb/var1.img bs=1048576
Later
lvcreate -L 256M var2 lvcreate -L 40M -n log2 store lvcreate -l 100%FREE -n root2 store dd if=/media/internal/mb/root1.img of=/dev/mapper/store-root2 bs=1048576 resize2fs /dev/mapper/store-root2 dd if=/media/internal/mb/var1.img of=/dev/mapper/store-var2 bs=1048576 resize2fs /dev/mapper/store-var2 e2resize /dev/mapper/store-root2 mkfs.ext3 /dev/mapper/store-log2