Thank a lot to lovejoy777 i finally got the dualbooting working
my mistake i was using wrong boot.img compiling command.
Finally, 10 posts so I can finally get help in the correct thread...
What is the command? Because I think that might be why I cannot get mine to work.
My partitions:
Code:
Model: MMC MMC08G (sd/mmc)
Disk /dev/block/mmcblk0: 7818MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 131kB 262kB 131kB xloader
2 262kB 524kB 262kB bootloader
3 524kB 11.0MB 10.5MB dkernel
4 11.0MB 212MB 201MB dfs
5 212MB 229MB 16.8MB recovery
6 229MB 296MB 67.1MB ext4 backup
7 296MB 307MB 10.5MB boot
8 307MB 312MB 5243kB splash
9 312MB 849MB 537MB ext4 system
10 849MB 2041MB 1192MB ext4 userdata
11 2041MB 2309MB 268MB ext4 cache
12 2309MB 5810MB 3501MB fat32 media msftres
13 5810MB 5821MB 10.5MB boot2
14 5821MB 6357MB 537MB ext4 system2
15 6357MB 7550MB 1192MB ext4 userdata2
16 7550MB 7818MB 268MB ext4 cache2
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p14");
mount("ext4", "EMMC", "/dev/block/mmcblk0p14", "/system");
.......
package_extract_file("boot.img", "/dev/block/mmcblk0p13");
Code:
on fs
mount ext4 /dev/block/mmcblk0p14 /system wait ro
mount ext4 /dev/block/mmcblk0p15 /data wait noatime nosuid nodev errors=continue
# mount ext4 /dev/block/platform/mmci-omap-hs.1/by-name/cache /cache wait noatime nosuid nodev errors=contin$
mount ext4 /dev/block/mmcblk0p8 /dropbox wait noatime nosuid nodev errors=continue
Code:
./mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel boot.img-kernel --ramdisk ramdisk-new.gz -o boot-new.img