View Single Post
Posts: 39 | Thanked: 3 times | Joined on May 2009
#27
Originally Posted by nhanquy View Post
Everything looks clean and good. Your mmc2 (internal) has 2 partitions; your mmc1(external) has one big FAT32 partition. Now you can put OS into your mmc2, the 2nd partition.

With this configuration you have the choice put the OS into the mmc2 not the mmc1.

Your thread title "trying to boot from flash card" is misleading. It should say "trying to boot from the 2G internal flash of the N810".
thanks. ill edit the title right away too


Originally Posted by Bobbe View Post
Okay, now that I know which one you own that made more sense to me. Since you have 8gb to store your files on your external slot, I recommend you use some of your internal space for swap (virtual memory for your system to use as cache when you run out of RAM). You can use the external one, too, but you would lose swap when you removed the card for any reason. Anyways, up to you.

Your solutions are as follows:
Create a swap file from inside the menu. Just go to Settings -> Control Panel. In the 'memory' section you can create a virtual swap file. That's the easiest solution, but it limits your amount of swap to 128mb.

Another solution is to create a swap partition manually and start it on boot. To do that you'd have to re-run the sfdisk command while booting from the original OS (not the cloned one) and re-partition your disk. When I did this with my N800 and informed the EXACT SAME size and type to one of my partitions, it didn't destroy any of the data in it. For example, I had a 5gb vfat partition right in the beginning of my 8gb card. When I had to clone my system a second time I ran sfdisk, informed the exact same beginning, size and partition type and it re-wrote the partition table. All the other partitions changed size, except for my vfat. And the files stood there. I dunno if that's what normally happens or if I 'got lucky', but I think it's what's supposed to happen. So if you re-run sfdisk, leave the same 900-sth megabytes for the cloned maemo partition, but instead of leaving the whole rest for files you leave, say, 350-400 mb for swap and the rest for files, it should be fine. Then again, do it at your own risk if you choose to.

There have been discussions about which one is better, swap file or swap partition, or how much swap actually helps, but in my personal experience a swap partition with more than 128mb (the maximum you can set easily in control panel) has worked considerably better.

Once again, up to you! Let me know if you want to make some swap and need some help doing it.

And about penguinbait's tools, isn't it like not-supported for Diablo 43-7 and above?
Id definitely rather make a swap partition since you say yours worked better, might as well .


so i would just re run this command:
Code:
apt-get install e2fsprogs
umount /media/mmc1
umount /media/mmc2
sfdisk /dev/mmcblk0
/dev/mmcblk0p1:1,30000,6
/dev/mmcblk0p2:30001,,
/dev/mmcblk0p3:
/dev/mmcblk0p4:
but like this:

Code:
apt-get install e2fsprogs
umount /media/mmc1
umount /media/mmc2
sfdisk /dev/mmcblk0
/dev/mmcblk0p1:1,30000,6
/dev/mmcblk0p2:30001,45000,
/dev/mmcblk0p3:45001,,
/dev/mmcblk0p4:
??

and how would i go about assigning that partition as the swap partition?



would this work:
http://talk.maemo.org/showthread.php?t=17209

Last edited by arekieh; 2009-05-27 at 22:54.