maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   Help! Boot from MMC (https://talk.maemo.org/showthread.php?t=7611)

xmfisher 2007-07-12 15:46

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

fanoush 2007-07-12 17:28

Re: Help! Boot from MMC
 
Quote:

Originally Posted by xmfisher (Post 59381)
Are you sure to contiune (yes/no) :
After typing a Y, I was told
Ok, see you later :-)

This is a tough one. You must edit the script
Code:

vi initfs_flash
and replace all occurrences of "yes" for "Y". That will fix the problem.

xmfisher 2007-07-12 19:56

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

Chinpokomon 2007-07-13 06:40

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.

xmfisher 2007-07-13 21:14

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.

1loudsvt 2007-07-13 23:11

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.

weezedog 2007-07-13 23:50

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.

db3d 2007-07-14 00:42

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

xmfisher 2007-07-14 02:07

Re: Help! Boot from MMC
 
how to turn on "red pill" mode?

Thanks

Slakker 2007-07-14 02:44

Re: Help! Boot from MMC
 
Do a search.


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

vBulletin® Version 3.8.8