![]() |
2008-01-26
, 14:30
|
Posts: 51 |
Thanked: 2 times |
Joined on Jan 2008
|
#92
|
Fanoush,
Just some feedback from a relatively new user here. When I received my n800 a few weeks ago I immediately flashed to the latest release OS2008. I was surprised at the lack of memory after adding just a few applications.
I searched for a solution and found the thread for using the SD card instead of the internal flash for OS2007. Then Sunday I successfully (i.e. no errors) completed instructions posted by Millhouse using your initfs_flasher. However I have had no luck booting from the internal slot using a partitioned 16GB card. The bootmenu is installed but selecting the second partition results in a failure every time. I have repeated the installation process to no avail.
I have read here in the forums that some have had success (albeit without access to WIFI???) and some like myself that have not. It is yet unclear to me after browsing the forums that this process is successful with the n800 and OS2008. This thread makes it sound that a custom bootmenu file may need to be in the initfs_flasher folder?
![]() |
2008-01-26
, 16:10
|
Posts: 4 |
Thanked: 3 times |
Joined on Jan 2008
|
#93
|
The Following User Says Thank You to mbfrog For This Useful Post: | ||
![]() |
2008-01-26
, 18:18
|
Posts: 179 |
Thanked: 90 times |
Joined on Dec 2007
|
#94
|
I finally got it right by swapping the devices in the initfs and also managed to prevent the root file system from being mounted over USB. A few pointers here.
For the MMC swapping problem, It may be a good idea to add specific initfs patches in the initfs flasher, but I do not know if this applies only to the N810, to OS2008 2.2007.50-2 or both...
![]() |
2008-01-26
, 18:21
|
Posts: 51 |
Thanked: 2 times |
Joined on Jan 2008
|
#95
|
Trying to boot from MMC with a N810 and the latest OS2008 2.2007.50-2 I came across a few issues like mmcblk0 and mmcblk1 being swapped after booting (like vormund earlier). I finally got it right by swapping the devices in the initfs and also managed to prevent the root file system from being mounted over USB. A few pointers here.
For the MMC swapping problem, It may be a good idea to add specific initfs patches in the initfs flasher, but I do not know if this applies only to the N810, to OS2008 2.2007.50-2 or both...
![]() |
2008-01-26
, 18:40
|
Posts: 5,795 |
Thanked: 3,151 times |
Joined on Feb 2007
@ Agoura Hills Calif
|
#96
|
![]() |
2008-01-26
, 18:48
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#97
|
and also managed to prevent the root file system from being mounted over USB.
It may be a good idea to add specific initfs patches in the initfs flasher, but I do not know if this applies only to the N810, to OS2008 2.2007.50-2 or both...
![]() |
2008-01-26
, 20:51
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#98
|
After installing init_flasher, I get the "Press Menu to activate boot menu" message for like a half a second and it immediately goes to booting from flash. No pressing of menu or any key seems to affect it.
The Following User Says Thank You to fanoush For This Useful Post: | ||
![]() |
2008-01-27
, 06:01
|
Posts: 179 |
Thanked: 90 times |
Joined on Dec 2007
|
#99
|
Is there some OS that automounts second partition on mmc card (formatted as ext2)? At least Windows does not see past first partition on removable devices so this does not matter much. But of course with linux one should not mount same partition which is currently booted.
![]() |
2008-01-27
, 15:20
|
Posts: 4 |
Thanked: 3 times |
Joined on Jan 2008
|
#100
|
No, this does not solve anything except cosmetic issue with naming. Device minor number is still wrong. Also you now have it 'right' only for situation when you boot with external card inside slot. Once you remove the card and boot it will be wrong again.
Is there some OS that automounts second partition on mmc card (formatted as ext2)? At least Windows does not see past first partition on removable devices so this does not matter much. But of course with linux one should not mount same partition which is currently booted.
Using your tips page I've verified that the MMC swapping problem is not affecting my n800. You used the Maemo wiki to clone your card. Those instructions are only intended for 2006, 2007. Did you follow the one for OS2007?
I extracted the initfs.osso-RX-44.2007-49.tgz file from initfs_flasher and rewrote all of the /dev/mmcblk* nodes to match the root fs. Then I recreated the tgz file and ran initfs_flash.
Success! (mostly)
Now can boot to mmc and df shows the correct devices for the root filesystem (mmcblk1p2) and the external mmc (mmcblk1p1) (Yes, I'm booting to the external card. I'm hacking this thing a lot right now.. If I wear out the flash, I'd like to be able to replace it.)
However, df now shows that the /mnt/initfs device is /dev/mmcblk1p2 (or if booted from flash /dev/mtdblock4), and not /dev/root??? But /etc/mtab correctly shows /mnt/initfs as /dev/root in either case...
Interesting eh?
kernelpanic
As /dev/root is mounted read-only, I'm not too worried about it...