Difference between revisions of "Run Multiple WebOS Versions"
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
lvcreate -l 100%FREE -n root2 store | lvcreate -l 100%FREE -n root2 store | ||
dd if=/media/internal/mb/root1.img of=/dev/mapper/store-root2 bs=1048576 | dd if=/media/internal/mb/root1.img of=/dev/mapper/store-root2 bs=1048576 | ||
+ | dd if=/media/internal/mb/var1.img of=/dev/mapper/store-var2 bs=1048576 | ||
resize2fs /dev/mapper/store-root2 | resize2fs /dev/mapper/store-root2 | ||
− | |||
resize2fs /dev/mapper/store-var2 | resize2fs /dev/mapper/store-var2 | ||
− | |||
mkfs.ext3 /dev/mapper/store-log2 | mkfs.ext3 /dev/mapper/store-log2 | ||
</pre> | </pre> |
Revision as of 05:29, 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 dd if=/media/internal/mb/var1.img of=/dev/mapper/store-var2 bs=1048576 resize2fs /dev/mapper/store-root2 resize2fs /dev/mapper/store-var2 mkfs.ext3 /dev/mapper/store-log2