Notices


Reply
Thread Tools
Posts: 40 | Thanked: 4 times | Joined on Jan 2008
#71
I finally was able to figure out how to do these instructions and have cloned my os.

It does seem to boot faster as well as bring up apps faster.

I have another question though. Is there any way to improve the web browser experience when bringing up web pages. It still seems as slow or slower than booting normally (as opposed to booting from the internal SD card) when bringing up web pages.

I have tried setting the web browser to 2048K as well as Auto. I also have the virtual memory extended to 128K in control panel.

Would a swap file on the memory card fix this problem or does the browser still kinda suck (although browsing in Diablo is a little better than Chinook as far as crashing and slowness goes).

How do I create a swap file? I tried following the instructions I searched for in the forum. I think I did it right but how can I be sure I did? Is there any way to check if I did it right?

Or, is there a way to increase the virtual memory more than 128K?

Last edited by Wzrd; 2008-09-08 at 05:02.
 
Posts: 40 | Thanked: 4 times | Joined on Jan 2008
#72
14 days and no response to my post?

Thanks alot! I thought people would be more helpful here but I guess not.

I would like answers to my post please.
 
Posts: 6 | Thanked: 7 times | Joined on Jan 2008
#73
Here are the steps I took to boot my N800 from SD card to Diablo.

Note: All shell commands need to be entered as root.

1) First I removed both of my memory cards and upgraded my N800 to Diablo, http://europe.nokia.com/A4305010
2) Device booted and I went through the Start-up wizard and cancelled the Phone selecting-wizard
3) Created a working WiFi connection using Connection Manager in the Settings-menu
4) Enabled the Maemo Extras repository in Application Manager and added a new repository:

Catalog name: Maemo Chinook
Web address: http://repository.maemo.org
Distribution: chinook
Components: free non-free
Disabled: (unchecked)

5) Installed "rootsh" using Application Manager and shut down the device
6) Installed my 8 GB SDHC card to the internal slot and turned on the device. Activated my WiFi connection and opened "X Terminal" from the Utilities menu to install the filesystem tools:

# root
# apt-get install -y --force-yes e2fsprogs
# umount /media/mmc2

7) Created two (512 MB and 7 GB) partitions on my 8 GB SD card. Adjust the values for mmcblk0p1 and mmcblk0p2 to reflect the SD card you are using. One unit is equal to 32768 bytes so 16384 units/blocks is 512 MB.

# sfdisk /dev/mmcblk0
/dev/mmcblk0p1:1,16384,6
/dev/mmcblk0p2:16385,,83
/dev/mmcblk0p3:
/dev/mmcblk0p4:

(say yes to the question "Do you want to write this to disk?")

# reboot

8) Activated my WiFi connection and opened "X Terminal" from the Utilities menu. Created file systems on the card:

# root
# mkdosfs /dev/mmcblk0p1
# mke2fs /dev/mmcblk0p2
# reboot

9) Activated my WiFi connection and using the N800 web browser I downloaded:

http://fanoush.wz.cz/maemo/initfs_flasher.tgz

and saved it to the default location (/home/user/MyDocs/.documents/)

10) Closed the browser and opened "X Terminal" from the Utilities menu to unpack and install what I just downloaded

# root
# cd /home/user/MyDocs/.documents/
# tar zxf initfs_flasher.tgz
# cd initfs_flasher

Close all applications and disconnect any connections you might have.

# ./initfs_flash
Yes to "Are you sure to continue?"
No to "Create backup of current initfs"
Yes to "Remove unneeded extra (and factory testing) stuff?)
No to "install telnet server for network recovery?"
No to "install dropbear ssh server for advanced network recovery?"
Yes to "Part 2 - Ready for flashing this image?"
hit Enter to reboot

WHEN THE MENU APPEARS, BOOT FROM THE INTERNAL FLASH!

11) Activated my WiFi connection and opened "X Terminal" from the Utilities menu. and installed the kernel modules:

# root
# insmod /mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko
# insmod /mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko

12) Mounted the file systems to be cloned:

# mount /dev/mmcblk0p2 /opt
# mount -t jffs2 -o ro /dev/mtdblock4 /floppy

13) cloned the files from /floppy to /opt:

# tar cf - -C /floppy . | tar xf - -C /opt

Note that the above command takes quite a while to execute (around 3 minutes for me). Observe any errors it might (but shouldn't) display. Change to "tar xvf" if you want verbose output.

14) Set up the MMC as a boot option and reboot the device:

# umount /opt
# umount /floppy
# chroot /mnt/initfs cal-tool --set-root-device ask:mmc2
# reboot

All done!

- - - - - - - - - - - - - - - - - - - - - - - -

If you used an 8 GB card, after reboot you should have over 6 GB of device memory and 512 MB on the internal memory card, to which you can extend virtual memory to.

Enjoy!

Next on my to-do list are:

- booting N800 from a 32 GB SDHC card (need to buy one first)
- booting N810 from a 8 GB MiniSDHC card (like this guy: http://tabletoid.blogspot.com/2008/0...boot-from.html)

Last edited by TXFI; 2008-10-01 at 04:18.
 
Posts: 103 | Thanked: 8 times | Joined on Aug 2008
#74
TXFi, those are some outstandingly clear instructions which worked great for me setting up a dual boot. However, I am trying to set up a triple boot. I want to clone my Diablo flash to two partitions that are just under a gig each on a 2 gig card mounted internally on an N800. Can you modify your instructions to that end, or failing that, point me in the direction of some good clear instructions (like yours) that will do this? Thanks.
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#75
Originally Posted by heelio View Post
I am trying to set up a triple boot.
1. Use sfdisk to create an extra ext2 or ext3 partition on the same card (You should know the name of that partition by now; it should be mmcblkXp0Y. Most likely, X=0 Y=3)

2. Modify bootmenu.conf ( for option to boot from! you must pay attention to which modules to load before running initfs_flasher.
If an ext2 partition was used, then you only copy the item for mmcblk0p2 for the item of mmcblk0p3, bump up the number of items to one more.

I have posted my sample of bootmenu.conf in http://www.internettablettalk.com/fo...952#post221952

Good luck!
 
Posts: 74 | Thanked: 30 times | Joined on Dec 2007
#76
Your instructions worked great for me! I've got a follow-up question: what's the wisest course when Nokia publishes a (seamless) upgrade for the OS (my goal would be to update the OS on the MMC-boot)? I'm guessing I should not just install it, if my MMC-Boot is my main boot for the Tablet.
Cheers,
Jon
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#77
Originally Posted by jonathandueck View Post
what's the wisest course when Nokia publishes a (seamless) upgrade for the OS (my goal would be to update the OS on the MMC-boot)? I'm guessing I should not just install it, if my MMC-Boot is my main boot for the Tablet.
Cheers,
Jon
if it was mmc-boot you should upgrade it on the mcc as normal and leave the flash intact if you don't wan to bother with it.

But if you want to upgrade the flash as well then upgrade it after the upgrade of the mmc. Also remember to back up your bootmenu.* files. You also need to down load initfs_flasher in advance into the mmc.

After the flash upgrading you will lose the bootmenu; just tar the newly downloaded initfs_flasher, then copy back bootmenu.* files, run initfs_flash. DONE!
 

The Following User Says Thank You to nhanquy For This Useful Post:
Posts: 6 | Thanked: 1 time | Joined on Feb 2008
#78
Originally Posted by TXFI View Post
Here are the steps I took to boot my N800 from SD card to Diablo.

Note: All shell commands need to be entered as root.

1) First I removed both of my memory cards and upgraded my N800 to Diablo, http://europe.nokia.com/A4305010
2) Device booted and I went through the Start-up wizard and cancelled the Phone selecting-wizard
3) Created a working WiFi connection using Connection Manager in the Settings-menu
4) Enabled the Maemo Extras repository in Application Manager and added a new repository:

Catalog name: Maemo Chinook
Web address: http://repository.maemo.org
Distribution: chinook
Components: free non-free
Disabled: (unchecked)

5) Installed "rootsh" using Application Manager and shut down the device
6) Installed my 8 GB SDHC card to the internal slot and turned on the device. Activated my WiFi connection and opened "X Terminal" from the Utilities menu to install the filesystem tools:

# root
# apt-get install -y --force-yes e2fsprogs
# umount /media/mmc2

7) Created two (512 MB and 7 GB) partitions on my 8 GB SD card. Adjust the values for mmcblk0p1 and mmcblk0p2 to reflect the SD card you are using. One unit is equal to 32768 bytes so 16384 units/blocks is 512 MB.

# sfdisk /dev/mmcblk0
/dev/mmcblk0p1:1,16384,6
/dev/mmcblk0p2:16385,,83
/dev/mmcblk0p3:
/dev/mmcblk0p4:

(say yes to the question "Do you want to write this to disk?")

# reboot

8) Activated my WiFi connection and opened "X Terminal" from the Utilities menu. Created file systems on the card:

# root
# mkdosfs /dev/mmcblk0p1
# mke2fs /dev/mmcblk0p2
# reboot

9) Activated my WiFi connection and using the N800 web browser I downloaded:

http://fanoush.wz.cz/maemo/initfs_flasher.tgz

and saved it to the default location (/home/user/MyDocs/.documents/)

10) Closed the browser and opened "X Terminal" from the Utilities menu to unpack and install what I just downloaded

# root
# cd /home/user/MyDocs/.documents/
# tar zxf initfs_flasher.tgz
# cd initfs_flasher

Close all applications and disconnect any connections you might have.

# ./initfs_flash
Yes to "Are you sure to continue?"
No to "Create backup of current initfs"
Yes to "Remove unneeded extra (and factory testing) stuff?)
No to "install telnet server for network recovery?"
No to "install dropbear ssh server for advanced network recovery?"
Yes to "Part 2 - Ready for flashing this image?"
hit Enter to reboot

WHEN THE MENU APPEARS, BOOT FROM THE INTERNAL FLASH!

11) Activated my WiFi connection and opened "X Terminal" from the Utilities menu. and installed the kernel modules:

# root
# insmod /mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko
# insmod /mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko

12) Mounted the file systems to be cloned:

# mount /dev/mmcblk0p2 /opt
# mount -t jffs2 -o ro /dev/mtdblock4 /floppy

13) cloned the files from /floppy to /opt:

# tar cf - -C /floppy . | tar xf - -C /opt

Note that the above command takes quite a while to execute (around 3 minutes for me). Observe any errors it might (but shouldn't) display. Change to "tar xvf" if you want verbose output.

14) Set up the MMC as a boot option and reboot the device:

# umount /opt
# umount /floppy
# chroot /mnt/initfs cal-tool --set-root-device ask:mmc2
# reboot

All done!

- - - - - - - - - - - - - - - - - - - - - - - -

If you used an 8 GB card, after reboot you should have over 6 GB of device memory and 512 MB on the internal memory card, to which you can extend virtual memory to.

Enjoy!

Next on my to-do list are:

- booting N800 from a 32 GB SDHC card (need to buy one first)
- booting N810 from a 8 GB MiniSDHC card (like this guy: http://tabletoid.blogspot.com/2008/0...boot-from.html)
what do i type in if i want to partion a 16gb sd card?
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#79
Originally Posted by drumaholic View Post
what do i type in if i want to partion a 16gb sd card?
16G ~ 16000M

# umount /media/mmc2
# sfdisk -uM /dev/mmcblk0
/dev/mmcblk0p1:1,Z,6
/dev/mmcblk0p2:Y,,83
/dev/mmcblk0p3:
/dev/mmcblk0p4:

Z = 16000-X
Y = 16000-X+1
X is the space in M you want to have for linux, /dev/mmcblk0p2
 
Posts: 6 | Thanked: 1 time | Joined on Feb 2008
#80
Originally Posted by nhanquy View Post
16G ~ 16000M

# umount /media/mmc2
# sfdisk -uM /dev/mmcblk0
/dev/mmcblk0p1:1,Z,6
/dev/mmcblk0p2:Y,,83
/dev/mmcblk0p3:
/dev/mmcblk0p4:

Z = 16000-X
Y = 16000-X+1
X is the space in M you want to have for linux, /dev/mmcblk0p2
I dont get it? I want it to have the same ratio as the 8gb one that was listed.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 00:50.