Reply
Thread Tools
Posts: 41 | Thanked: 19 times | Joined on Jul 2010
#1
Hello,

I am trying to format microSD to have 2 partitions.

My sfdisk shows the following

/dev/mmcblk1p1 64 3905599 3905536 c W95 FAT32 (LBA)
/dev/mmcblk1p2 3905600 15685631 11780032 83 Linux
...


I have two empty directories mmc1 and mmc2 in /media. I made a vfat filesystem on the first partition and ext4 on the second, then fscked both.

When I tried to mount I keep gettin the error
mount: mounting /dev/mmcblk1p2 on /media/mmc2 failed: Invalid argument

I installed the power kernel to add ext4 support. I changed /etc/fstab (I know it gets overwritten on reboot) to have different options and no options, it never works. I tried changing the filesystem to ext3 and ext2 but no success with mounting still. Then I changed the second partition to vfat and it was able to be mounted.

I have an 8GB Kingston microSD, the partitions show up fine on gparted, linux and (the vfat only, of course) on windows. So why doesn't it work on the N900?

Thnks.
 
Posts: 41 | Thanked: 19 times | Joined on Jul 2010
#2
Right, took a while to figure out that the 2.6.28 kernel can't mount ext4 without journal. Oh well.

All the information about custom kernels is in a real mess, is there any place where things are explained simply and with a list of various kernels that people have used?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:17.