Difference between revisions of "Run Multiple WebOS Versions"
Jump to navigation
Jump to search
(more) |
|||
Line 18: | Line 18: | ||
Later | Later | ||
<pre> | <pre> | ||
− | lvcreate -L 256M var2 | + | lvcreate -L 256M -n var2 store |
lvcreate -L 40M -n log2 store | lvcreate -L 40M -n log2 store | ||
lvcreate -l 100%FREE -n root2 store | lvcreate -l 100%FREE -n root2 store |
Revision as of 05:26, 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 -n var2 store 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