The Following 6 Users Say Thank You to TXFI For This Useful Post: | ||
|
2008-01-29
, 05:40
|
Posts: 6 |
Thanked: 7 times |
Joined on Jan 2008
|
#3
|
|
2008-01-29
, 05:54
|
|
Posts: 213 |
Thanked: 27 times |
Joined on Oct 2007
@ Detroit, MI
|
#4
|
|
2008-01-29
, 09:03
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#5
|
The wiki had something about using gnu tar rather than the built in one. Is this no longer necessary?
|
2008-01-29
, 11:41
|
Posts: 6 |
Thanked: 7 times |
Joined on Jan 2008
|
#6
|
|
2008-01-29
, 13:20
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#7
|
probably because of the VFAT on the SD card being unable to handle ":" (right?). I rebooted from MMC2 and those had been copied correctly during my previous clone to MMC/Ext2fs. Since there were no other problems I should be okay with my cloned OS2008, right?
The Following User Says Thank You to fanoush For This Useful Post: | ||
|
2008-01-29
, 23:01
|
Posts: 6 |
Thanked: 7 times |
Joined on Jan 2008
|
#8
|
The Following User Says Thank You to TXFI For This Useful Post: | ||
|
2008-02-07
, 23:40
|
Posts: 2 |
Thanked: 0 times |
Joined on Jan 2006
|
#9
|
|
2008-02-08
, 16:18
|
Posts: 53 |
Thanked: 14 times |
Joined on Jan 2008
@ Toronto
|
#10
|
I have problem executing mke2fs command...is there any package I need to install? I have upgraded to OS 2008
-sh: mke2fs: not found
(my first post so be gentle...)
hi,
it took me forever to first _find_ all this stuff and then make it _work_ so I thought I'd record it here. Maybe someone else will benefit from this.
In short, this is what I did to get my N800 to boot OS2008 from MMC. My steps were:
1) upgraded my N800 to OS2008, http://europe.nokia.com/A4305010
2) enabled the Maemo Extras repository in Application Manager and added http://repository.maemo.org, Distribution: (blank) Components: free non-free
3) installed openssh using Application Manager
4) defined a root password (openssh's installer prompted for this)
5) opened xterm and:
# ssh root@localhost
# visudo
Added to following lines to the end of sudoers:
user ALL = (ALL) NOPASSWD: ALL
root ALL = (ALL) NOPASSWD: ALL
6) created two (512 MB and 7 GB) partitions on my 8 GB SD card:
# apt-get install e2fsprogs
# umount /media/mmc1
# umount /media/mmc2
# sfdisk /dev/mmcblk0
/dev/mmcblk0p1:1,16384,6
/dev/mmcblk0p2:16385,,83
/dev/mmcblk0p3:
/dev/mmcblk0p4:
# reboot
7) created file systems on the card:
# umount /media/mmc1
# umount /media/mmc2
# mkdosfs /dev/mmcblk0p1
# mke2fs /dev/mmcblk0p2
# reboot
8) downloaded http://fanoush.wz.cz/maemo/initfs_flasher.tgz using the N800 browser and saved it to: /home/user/MyDocs/.documents/ (default location)
9) unpacked it and ran the script:
# cd /home/user/MyDocs/.documents/
# tar zxvf initfs_flasher.tgz
# cd initfs_flasher
# ./initfs_flash
10) installed the kernel modules:
# insmod /mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko
# insmod /mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko
11) mounted the file systems to be cloned:
# mount /dev/mmcblk0p2 /opt
# mount -t jffs2 -o ro /dev/mtdblock4 /floppy
12) cloned the files from /floppy to /opt:
# ./tar cf - -C /floppy . | ./tar xvf - -C /opt
13) set up the MMC as a boot option and rebooted the device:
# umount /opt
# umount /floppy
# chroot /mnt/initfs cal-tool --set-root-device ask:mmc2
# reboot
and it seems to work perfect for me. Thanks to Marius Gedminas, Milhouse and Maemo Wiki maintainers!
Thnx,
TXFI
Last edited by TXFI; 2008-10-01 at 04:15.