How to raise max partitions number seen by Maemo
I have repartitioned my eMMC and now I have 10 partitions on it.
Partition managers like sfdisk and parted correctly see all partitions but unfortunately Maemo recognizes only first seven partitions (no /dev/mmcblk0p8, /dev/mmcblk0p9, /dev/mmcblk0p10). I think it is something related to udev's configuration, but where is the value to change ? |
Re: How to raise max partitions number seen by Maemo
10 partitiions! Whoosh why?
|
Re: How to raise max partitions number seen by Maemo
Quote:
Another option is to use dm (device mapper) which can move all partitioning to user space. See kpartx. |
Re: How to raise max partitions number seen by Maemo
Quote:
|
Re: How to raise max partitions number seen by Maemo
Quote:
So since one partition slot is lost by extended partition the max number under N900 is six partitions.:mad: This is a big problem for my plans:mad: |
Re: How to raise max partitions number seen by Maemo
I have changed my partition table to this layout (but I am unhappy for this):
|
Re: How to raise max partitions number seen by Maemo
Quote:
look in my sig |
Re: How to raise max partitions number seen by Maemo
Quote:
|
Re: How to raise max partitions number seen by Maemo
Quote:
|
Re: How to raise max partitions number seen by Maemo
I am afraid you don't understand.
Device mapper is a kernel subsystem that allows creating virtual block devices and mapping them to real devices. You can for example create a device called /dev/dm9 which is a device of size 4GB starting at 24GB of /dev/mmcblk0. This way, even if you don't have an mmc block device for this partition, you can still use it. kpartx is a tool that automates this. You point it to a block device, and it creates a dm device for each partition on the device, regardless of partition number limitations of the underlying block device driver. |
Re: How to raise max partitions number seen by Maemo
Quote:
Unfortunately device mapper add an extra layer of complexity that i prefer to avoid. kpartx exists compiled for N900 ? Can I boot from dm device ? Response is yes, but on Maemo (power kernel) dm device is a external module so I need an initrd or a custom kernel with dm device embedded to boot from a dm device When I want to boot an alternative os (like Nitdroid, Kubuntu, ...etc), others problems will appear ? U-Boot can see these partitions (i.e for loading a kernel from mmcblk0p8) ? |
Re: How to raise max partitions number seen by Maemo
1 Attachment(s)
kpartx needs more than device mapper lib's, it needs as Matan stated device mapper(driver) a la kernal.
Edit: im using power46 |
Re: How to raise max partitions number seen by Maemo
Did you try
modprobe dm-mod |
Re: How to raise max partitions number seen by Maemo
Quote:
|
| All times are GMT. The time now is 21:57. |
vBulletin® Version 3.8.8