![]() |
Help! Boot from MMC
I exactly followed the instruction to "How to install a dual boot menu" on maemo Wiki,
http://maemo.org/community/wiki/HowT..._From_MMC_card. After downloading the file from http://fanoush.wz.cz/maemo/initfs_flasher.tgz and # cd /home/user/MyDocs/.documents/ # tar zxvf initfs_flasher.tgz # cd initfs_flasher/ # ./initfs_flash something showed up like this ========Flasher for initfs with onscreen bootmenu======= Are you sure to contiune (yes/no) : After typing a Y, I was told Ok, see you later :-) According to the wiki, I am supposed to be asked some questions rather than just this. What happened? What should I do? Thanks |
Re: Help! Boot from MMC
Quote:
Code:
vi initfs_flash |
Re: Help! Boot from MMC
thanks brother. I should type "yes" rather than "y".
But now, I got another problem. Please help. After booting from the internal falsh, I typed in the fllowing comands as the instruction suggests: sudo gainroot insmod /mnt/initfs/lib/modules/current/ext2.ko mount /dev/mmcblk0p2 /opt mkdir /floppy mount -t jffs2 /dev/mtdblock4 /floppy apt-get -d install tar. I was told that reading package lists...........Done building dependency tree..... Done Some packages could not be installed. This may mean that you have requested an impossible situatio or if you are using the unstable disribution that some required packages have not yet been created or been removed out of incoming. since you only requested a single operation it is extremely likely that the package is simply not istallable and a bug report against that package should be filed. The following information may help to resolve the situation: The following package have unmet dependencies: osso-bttools: Depends: bluez-utils (>= 2.25) but it is not going to be installed. E: Broken packages /home/user # I ignored the warning and went ahead with mkdir /tar-temp/ cd /var/cache/apt/archives/ dpkg -x tar*.deb /tar-temp/ but I was told dpkg -deb: failed to read archive 'tar*.deb': no such file or directory What should I do now? Thanks |
Re: Help! Boot from MMC
You should check if you have files in /var/cache/apt/archives...
> cd /var/cache/apt/archives > ls -al tar*.deb You should see several files listed. If you don't tar wasn't downloaded. Go back and try > apt-get -d install tar and answer Y to any questions it asks. Then check the directory again. If you see the tar*.deb files this time, you are good to go and you can continue with the dpkg command. |
Re: Help! Boot from MMC
Thanks, bother.
Already checked /var/cache/apt/archives no tar*.deb there. Then I went back to redo apt-get -d install tar several times. but still got the same message, even when I disconnected internet. The following packages have unmet dependencies: osso-bttools: Depends: bluez-utils (>= 2.25) but it is not going to be installed. E: Broken packages. What should i do now? is there anyway I can install the tar? Please help. I already formatted the mmc and don't know how to come back. |
Re: Help! Boot from MMC
I am having the same exact problem and have found no way around :-( i will let you know if i find anything.
|
Re: Help! Boot from MMC
that's probably because a bunch of files are missing from the maemo repository. It's proobably looking here:
http://repository.maemo.org/pool/mae...b/bluez-utils/ and those files show up as not found. However, if you turn on "red pill" mode you should be able to install the version from here: http://repository.maemo.org/pool/mae...b/bluez-utils/ that version is still available, and will probably work fine. |
Re: Help! Boot from MMC
I'm in the middle of the process (copying system files to MMC) after flashing IT 3.2006-49-2 and have found that tar is already installed, so no need to apt-get it.
So, the updated install instructions would read: tar cf - -C /floppy . | tar xvf - -C /opt not: # apt-get -d install tar # cd /var/cache/apt/archives/ # mkdir /tar-temp/ # dpkg -x tar*.deb /tar-temp/ # /tar-temp/bin/tar cf - -C /floppy . | /tar-temp/bin/tar xvf - -C /opt Hope this helps, Dylan |
Re: Help! Boot from MMC
how to turn on "red pill" mode?
Thanks |
Re: Help! Boot from MMC
Do a search.
|
Re: Help! Boot from MMC
Open "Application Manager" ; go to "Tools" and then "Application Catalog" ; select "New" button and enter matrix into web address field ; chose the cancel button and then select Red Pill
|
Re: Help! Boot from MMC
Quote:
|
Re: Help! Boot from MMC
Quote:
One potential problem people might be having is not being connected to the internet when they try to apt-get, so just check that if you are having problems. |
Re: Help! Boot from MMC
I am stuck at the last step, i.e., I use the TAR from the 770 and now it keeps on rebooting. I keep trying on the GNU TAR, it keeps on saying some files are not download. I tried to follow the red pill as in the above post, but dont know where is the matrix. and I am very frustrated with this thing now, been going on for several hours, pls somebody help me out?
current status, getting an incomplete copy to MMC and getting repeated booting......., having problem in getting the GNU TAR or the red pill? bun |
Re: Help! Boot from MMC
db3d: could you pls show me how you go around either to find the real GNU TAR or how to use the file from the red pill mode? TIA
bun |
Re: Help! Boot from MMC
I finally made it boot from the MMC. Not quite sure which is the step that correct the problem. Basically, I 'enable'-ed both repositories, repository.maemo.org/mistral/free non-free and repository.maemo.org/gregale/free non-free. I also turned on the red pill (Appl manager>Tools>Appl catalogue>New replace "http://" with "matrix" and press cancel, then take the red pill ;)
And the error statement "failed to download some files" disapppered I then follow, http://maemo.org/community/wiki/howt...from_mmc_card/ start from section: Now it's time to clone the whole original system ! Bristo, it worked! bun |
Re: Help! Boot from MMC
N770 running latest 2006 with 1G MMC
Proof that I am running from MMC, other than the booting menu say so, I looked into Tools>Control panel>Memory: Boot from MMC: Storage mem in use 9.8 MB; Storage mem avail 279.5 MB Boot from Flash Storage mem in use 9.8 MB; Storage mem avail 32.7 MB Other than that, there is very little difference between the two, including speed, practically (see my other post http://www.internettablettalk.com/fo...ead.php?t=7718) bun |
Re: Help! Boot from MMC
Quote:
|
Re: Help! Boot from MMC
Quote:
Cheers,:( bun |
Re: Help! Boot from MMC
I have been trying this process for several days, with the same problem each time. I have a N770 with a Kingston 2GB MMCmobile card. I follow everything successfully until the cloning command (I am using GNU tar from apt-get):
/tar-temp/bin/tar cf - -C /floppy . | /tar-temp/bin/tar xvf - -C /opt it starts to copy, and this continues for around 30 min. or so. Then, at some point the XTERM window closes on its own accord. Cannot say if at same spot each time, although that is a possibility. If at this point I continue on through the remaining directions, when I reboot, and select mmc2 for by boot location, it gives the error: error booting from mmc2, booting from flash instead My N770 then runs fine, but I am not running from MMC, but from flash, so defeats the point of this operation. Has anyone gone through a similar problem? I am assuming my copy ends up incomplete somehow because of the XTERM closing early (crash?), so boot from mmc2 fails. Help please! |
Re: Help! Boot from MMC
Quote:
|
Re: Help! Boot from MMC
Quote:
I had same problems. I enabled swap (Tools->Control Panel->Memory->Virtaual Memory. Then I ran tar again. This time tar wen through. You also can try it. |
Re: Help! Boot from MMC
Do you mean you "Extend Virtual Memory"? I do not have option to enable swap file. How much memory did you extend?
Thank you, I want to try this. |
Re: Help! Boot from MMC
Quote:
|
Re: Help! Boot from MMC
Ok new problem I get to: "mount /dev/mmcblk0p2 /opt" and it says invalid argument ... now what?
I am getting to the point where each time I try its a different errors ... argh |
Re: Help! Boot from MMC
middguy,
did you first create the /opt directory? mkdir /opt/ before the mount? I had to do this I think, although keep in mind that I have not gotten this to work yet either, although I can do the mount of mmcblk0p2 to /opt/. Just can't complete the complete cloning (tar cf - -C /floppy etc...) |
Re: Help! Boot from MMC
Quote:
but at least this time it worked after trying again. and now its copying all the files. cross my fingers that this time it actually works (4/5th time trying) |
Re: Help! Boot from MMC
middguy,
I have also tried 4 or 5 times with no luck yet. Please tell me if you complete this time, and what the trick was. I am at wits end. Am getting ready to start from the beginning once again. How large is your MMC card, and what sizes the partitions. Thanks |
Re: Help! Boot from MMC
yay... got it working. trick was to combine both online directions (neither is complete)
http://maemo.org/community/wiki/HowT..._From_MMC_card and http://examplified.net/guide/Nokia_7...ting_from_MMC/ I also installed VNC view and stuff (http://mike.saunby.googlepages.com/x11vncfornokia7702) and used that to do most of the typing. also had to go back to step 1 (reflash) and make sure the first step went right (the download didnt work so had to do the fix that the program suggested) |
Re: Help! Boot from MMC
middguy,
congrats on your success. I have not been as lucky. did you do anything other than what is in the two ets of instructions? did you turn on red pill mode? did you turn on the virtual memory on the mmc (from control panel->memory)? what were your 2 partition sizes? I have tried the example 15000 as well as 30000, since i have a 2 GB card. thanks for any additional information you can provide. |
Re: Help! Boot from MMC
Only thing was that after partitioning the card (1gb) I turned the virtual memory back on as prior posts said that might help. That was before copying the file systems.
No red pill or anything. Where are you having problems? |
Re: Help! Boot from MMC
middguy,
everytime that I try to perform the full copy (/tar-temp/bin/tar cf - -C .floppy . | /tar-temp/bin/tar xvf - -C /opt), the copy starts and goes for about 10-15 minutes, and then at some point, xterm aborts, and the copy terminates (early?). Then, if I try to finish the instructions, and reboot, when I select to boot from mmc2 (stable), it gives a "boot from mmc2 failed. booting from flash" message. Boot from flash appears to work fine. how exactly did you turn virtual memory back on? Previous instructions did not match what I saw under control panel. thanks, |
Re: Help! Boot from MMC
I turned virtual memory on right before doing this part
"insmod /mnt/initfs/lib/modules/current/ext2.ko mount /dev/mmcblk0p2 /opt mkdir /floppy mount -t jffs2 /dev/mtdblock4 /floppy" I would advise you to reflash and start all over and try that. Once virtual memory was enabled it took around 25 minutes to finish on my 770. Now I just wonder if there is a way to automate this if I ever need to reflash it. Its a PITA |
Re: Help! Boot from MMC
middguy,
Did you turn virtual memory on from Tools->Control Panel->Memory->Virtual tab? How much did you enable (default seems to be 64MB)? |
Re: Help! Boot from MMC
Quote:
While you are at it, use the partition type as 'b' instead of '6' for /dev/mmcblk0p1 i.e instead of Code:
# apt-get install e2fsprogs Code:
# apt-get install e2fsprogs |
Re: Help! Boot from MMC
Quote:
Thanks for your help, all |
Re: Help! Boot from MMC
Quote:
Do Code:
#unmount /opt (With partition values as shown in above post). Skip Code:
Skip this, as you already have this. Code:
# umount /media/mmc1 Code:
# mkdosfs /dev/mmcblk0p1 Do Code:
# mkdosfs -s 2 -F 32 /dev/mmcblk0p1 Code:
# mke2fs /dev/mmcblk0p2 Code:
# insmod /mnt/initfs/lib/modules/current/ext2.ko Skip these Code:
# cd /home/user/MyDocs/.documents/ Code:
# mkdir /opt/ Code:
# apt-get -d install tar Code:
(for N770 skip this) Code:
# insmod /mnt/initfs/lib/modules/current/ext2.ko Do Code:
# /tar-temp/bin/tar cf - -C /floppy . | /tar-temp/bin/tar xvf - -C /opt Code:
# umount /opt |
Re: Help! Boot from MMC
Tama,
That is exactly the kind of post I was looking for. I have a few things to do here at work first, then I am going to sneak the N770 out of my briefcase and start in on this procedure. Thanks so much for the effort. |
Re: Help! Boot from MMC
Good luck. I love it after the dual boot. Only thing now is that when I try to backup the system crashes. No idea why. Might have to start all over again and make the card Fat32
|
Re: Help! Boot from MMC
middguy,
when you said that you started all over from the beginning by reflashing, what system/file did you reflash? I am wondering if I should do the same? What reflash method did you use? |
All times are GMT. The time now is 02:30. |
vBulletin® Version 3.8.8