View Single Post
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#139
Originally Posted by pali View Post
I created configuration for bootmenu-n900 and I moved system to /home/maemo5 So /opt is not same for internal flash system and for system on eMMC.

It needs patches for bootmenu-n900. I testing it now and later I publish my patches.
I tested it a lot and now it works fine without problem. It is good alternative solution to 009N. Scripts are hosted in my bzr branch on launchpad (from can be downloaded):

https://code.launchpad.net/~pali/+junk/maemo_M32GB

It only need lastest version of bootmenu-n900. Maemo5 is installed to /home/maemo5 so /opt is not shared with internal flash. It is now fully dualboot independent system with working bootmenu

For booting it use very ugly hack with overmount, pivot_root and chroot... but it works nice:

Code:
$ mount
rootfs on / type rootfs (rw)
ubi0:rootfs on /mnt/initfs type ubifs (rw,bulk_read,no_chk_data_crc)
/dev/mmcblk0p2 on /home/user type ext3 (rw,noatime,nodiratime,errors=continue,commit=1,data=writeback)
/dev/mmcblk0p2 on / type ext3 (rw,noatime,nodiratime,errors=continue,commit=1,data=writeback)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,noatime,size=1024k)
tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755)
none on /dev type tmpfs (rw,noatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k)
nodev on /sys/kernel/debug type debugfs (0)
/opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind)
/opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind)
/opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind)
/opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind)
/opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind)
/dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir)
Code:
Filesystem            Size  Used Avail Use% Mounted on
rootfs                6.0G  3.5G  2.2G  62% /
ubi0:rootfs           228M  134M   90M  60% /mnt/initfs
/dev/mmcblk0p2        6.0G  3.5G  2.2G  62% /home/user
/dev/mmcblk0p2        6.0G  3.5G  2.2G  62% /
tmpfs                 1.0M   88K  936K   9% /tmp
tmpfs                 256K  108K  148K  43% /var/run
none                   10M   72K   10M   1% /dev
tmpfs                  64M  4.0K   64M   1% /dev/shm
/opt/pymaemo/usr/lib/python2.5
                      6.0G  3.5G  2.2G  62% /usr/lib/python2.5
/opt/pymaemo/usr/share/pyshared
                      6.0G  3.5G  2.2G  62% /usr/share/pyshared
/opt/pymaemo/usr/lib/pyshared
                      6.0G  3.5G  2.2G  62% /usr/lib/pyshared
/opt/pymaemo/usr/share/python-support
                      6.0G  3.5G  2.2G  62% /usr/share/python-support
/opt/pymaemo/usr/lib/python-support
                      6.0G  3.5G  2.2G  62% /usr/lib/python-support
/dev/mmcblk0p1         24G   15G  8.1G  66% /home/user/MyDocs
* Note I have modified size of eMMC partitions
 

The Following 2 Users Say Thank You to pali For This Useful Post: