![]() |
2007-08-08
, 04:09
|
Posts: 19 |
Thanked: 0 times |
Joined on Jul 2007
|
#32
|
![]() |
2007-08-08
, 04:54
|
Posts: 14 |
Thanked: 0 times |
Joined on Aug 2007
|
#33
|
![]() |
2007-08-08
, 12:19
|
Posts: 19 |
Thanked: 0 times |
Joined on Jul 2007
|
#34
|
![]() |
2007-08-08
, 12:50
|
Posts: 53 |
Thanked: 3 times |
Joined on Jul 2007
|
#35
|
middguy,
Did you turn virtual memory on from Tools->Control Panel->Memory->Virtual tab? How much did you enable (default seems to be 64MB)?
# apt-get install e2fsprogs # umount /media/mmc1 # umount /media/mmc2 (for N800 only!) # sfdisk /dev/mmcblk0 /dev/mmcblk0p1:1,15000,6 /dev/mmcblk0p2:15001,, /dev/mmcblk0p3: /dev/mmcblk0p4:
# apt-get install e2fsprogs # umount /media/mmc1 # umount /media/mmc2 (for N800 only!) # sfdisk /dev/mmcblk0 /dev/mmcblk0p1:1,52500,b /dev/mmcblk0p2:52501,, /dev/mmcblk0p3: /dev/mmcblk0p4:
![]() |
2007-08-08
, 13:45
|
Posts: 19 |
Thanked: 0 times |
Joined on Jul 2007
|
#36
|
Yes that's the way. Pickup 64 MB. You can lower it or disable it or even keep it after tar is over successfully.
While you are at it, use the partition type as 'b' instead of '6' for /dev/mmcblk0p1
Use
Code:
# apt-get install e2fsprogs
# umount /media/mmc1
# umount /media/mmc2 (for N800 only!)
# sfdisk /dev/mmcblk0
/dev/mmcblk0p1:1,52500,b
/dev/mmcblk0p2:52501,,
/dev/mmcblk0p3:
/dev/mmcblk0p4:
That will make mmc1 partition as FAT32 instead of FAT16. Believe me you will realise its imprtance later. ALSO NOTE: that the above numbers are for 2 GB ard. The 52500 will put about 1.68 GB in MMC1 and 320 MB in mmc2 which is for dual boot partition on your mmc.
![]() |
2007-08-08
, 14:15
|
Posts: 53 |
Thanked: 3 times |
Joined on Jul 2007
|
#37
|
Thanks, I will try this shortly. How far would you recommend I back up in the sequence? Go back to re-partition and format, clearly, but do you think that I need to reflash the dual-boot initfs_flash from fanoush, or skip that step; and go directly into the mount and TAR step?
Thanks for your help, all
#unmount /opt #unmount /floppy #unmount /media/mmc1 #unmount /media/mmc2
Skip this, as you already have this. # apt-get install e2fsprogs
# umount /media/mmc1 # umount /media/mmc2 (for N800 only!) # sfdisk /dev/mmcblk0 /dev/mmcblk0p1:1,52500,b /dev/mmcblk0p2:52501,, /dev/mmcblk0p3: /dev/mmcblk0p4:
# mkdosfs /dev/mmcblk0p1
# mkdosfs -s 2 -F 32 /dev/mmcblk0p1 # shutdown -r now
# mke2fs /dev/mmcblk0p2 # shutdown -r now
# insmod /mnt/initfs/lib/modules/current/ext2.ko # mount /dev/mmcblk0p2 /media/mmc2
# cd /home/user/MyDocs/.documents/ # tar zxvf initfs_flasher.tgz # cd initfs_flasher/ # ./initfs_flash
# mkdir /opt/ # mkdir /floppy/
# apt-get -d install tar # cd /var/cache/apt/archives/ # mkdir /tar-temp/ # dpkg -x tar*.deb /tar-temp/
(for N770 skip this) # insmod /mnt/initfs/lib/modules/2.6.18-omap1/mbcache.ko
# insmod /mnt/initfs/lib/modules/current/ext2.ko # mount /dev/mmcblk0p2 /opt # mount -t jffs2 /dev/mtdblock4 /floppy
# /tar-temp/bin/tar cf - -C /floppy . | /tar-temp/bin/tar xvf - -C /opt
# umount /opt # umount /floppy # chroot /mnt/initfs cal-tool --set-root-device ask:mmc2 # shutdown -r now
![]() |
2007-08-08
, 14:33
|
Posts: 19 |
Thanked: 0 times |
Joined on Jul 2007
|
#38
|
![]() |
2007-08-08
, 17:00
|
Posts: 14 |
Thanked: 0 times |
Joined on Aug 2007
|
#39
|
![]() |
2007-08-08
, 17:14
|
Posts: 19 |
Thanked: 0 times |
Joined on Jul 2007
|
#40
|
No red pill or anything. Where are you having problems?