Active Topics

 


Reply
Thread Tools
Posts: 7 | Thanked: 0 times | Joined on Feb 2007
#61
Hi
I have just got an N800 and getting used to a linux environment so I'm sorry if I have made an elementary mistake but I get the following error message when trying to initiate the initfs_flash command. I have ITOS 2007 version 2.2006.51.6 but not sure if there are other prerequisites.


~/MyDocs/Install/initfs_flasher $ ./initfs_flash
cal_read_block(r&d_mode): size zero, block not found?
Enable RD mode if you want to break your device
~/MyDocs/Install/initfs_flasher $

Thanks for any assistance and apologise if the answer is as simple as reading another post that I have been unable to find.

Arch
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#62
First you need to become root

install becomeroot

then launch xterm

run

sudo gainroot

then use initfs
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#63
run
sudo gainroot
This is not strictly needed, the initfs_flash script does it itself. But yes, you need 'sudo gainroot' method working. Installing becomeroot is the easiest way.
 
Posts: 7 | Thanked: 0 times | Joined on Feb 2007
#64
Thanks for the quick response guys I had a feeling I needed to install becomeroot but am following instructions verbatim until I am more comfortable in the environment, especially as you warn that these tools can be dangerous for your device.

The initfs_flash ran perfectly and I saved your example N800 Bootconf so it was included in the image. Now all I have to do is follow the instructions penguinbait has on creating a backup boot card and look into what Sardine/Herring are all about.

Thanks again for your support.

Arch
 
Posts: 108 | Thanked: 3 times | Joined on Feb 2007
#65
i was trying to install this software on my N800 so i can boot from the card inside the N800 i dont know if it was card1 or card2 any way this is what i did and what i got:

Code:
ds@Central:~/initfs_flasher$ sudo ./initfs_flash

 === Flasher for initfs with onscreen bootmenu ===

For safe flashing please do the following:

- close all aplications (to free available RAM and prevent system crash)
- disconnect from network (to prevent system crash)
- make sure you have at least 5MB free disk space in flasher directory
- make sure you know how to reflash device in usual way if this fails

Are you sure to continue? (yes/no) : yes

Create backup of current initfs (yes/no) : yes
mount: special device /dev/mtdblock3 does not exist
 *** creating initfs.orig.jffs2 ...
/home/ds/initfs_flasher/mkfs.jffs2: 1: Syntax error: word unexpected (expecting ")")
umount: initfs: not mounted
ls: initfs.orig.jffs2: No such file or directory
Press enter to continue

Part 1 - Preparing initfs.bootmenu.jffs2 image
 *** copying current initfs ...mount: special device /dev/mtdblock3 does not exist
umount: mnt: not mounted
 done.
If you remove extra stuff you may write to initfs and customize bootmenu.
Remove unneeded extra (and factory testing) stuff? (yes/no) : yes
 *** removing extra stuff ...
cut: initfs/etc/initfs_version: No such file or directory
 !!! unknown initfs version , cannot install bootmenu
Cannot find initfs.bootmenu.jffs2, something failed, nothing flashed.
ds@Central:~/initfs_flasher$
sorry i dont know much about technical things . . . i'm just a normal user but looking forward to learn more and more

thanx
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#66
see http://maemo.org/maemowiki/HowTo_EAS..._From_MMC_card

I think the problem is with using sudo
Code:
$ sudo ./initfs_flash
It is not supposed to be run like this.

Solution is to first get to the root shell (whatever way you prefer) an then run it directly as root. Preferred way is to install becomeroot as described in the guide (or try just clicking this http://eko.one.pl/maemo/dists/mistra....1-2_armel.deb ).

If you have becomeroot installed you can run the script directly, it runs 'sudo gainroot' for you automatically.

Code:
ds@Central:~/initfs_flasher$ ./initfs_flash
Root shell enabled
...
...
 
Posts: 108 | Thanked: 3 times | Joined on Feb 2007
#67
i did what you told me but ?? in my computer it asks me for a password and when i put the root pass for my computer:
sudo: gainroot: command not found
i know that this is too much for you . . . and i'm sorry about it . . . and if you want know what i use . . it's ubuntu 6.10 if it would mater ?

thanx
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#68
You need the 'becomeroot' package installed, it contains gainroot.
Edit: And it's the Nokia device we talk about here.. I noticed you mentioned Ubuntu, that would be your PC and that's not it.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 108 | Thanked: 3 times | Joined on Feb 2007
#69
i was thinking that you do the steps on the computer with the nokia pluged in using the usb. . . . oh thats really bad for me

sorry

very bad

any way i have gain root i will try again

thanks

but do i have to have the card ready from before ?
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#70
Originally Posted by TA-t3 View Post
Hell, I'm not going to install bootmenu yet, even with 15 years of Linux experience
It is good to be cautious but there is really nothing so dangerous about it. 15 years are not really needed :-)
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:16.