maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Bootmenu useless (and it's MY fault) after latest Os update... (https://talk.maemo.org/showthread.php?t=22829)

nhanquy 2008-08-14 04:48

Re: Bootmenu useless (and it's MY fault) after latest Os update...
 
Quote:

Originally Posted by El Amir (Post 213574)

Thats bad news no? :(

:( bad news indeed !

time to format/clone/.......
you fat is still ok - backup that before doing any thing else.

El Amir 2008-08-14 04:51

Re: Bootmenu useless (and it's MY fault) after latest Os update...
 
Quote:

Originally Posted by nhanquy (Post 213576)
:( bad news indeed !

time to format/clone/.......
you fat is still ok - backup that before doing any thing else.

how do I do that? do you know where I can get more info on what I have to do now?

codeMonkey 2008-08-14 08:05

Re: Bootmenu useless (and it's MY fault) after latest Os update...
 
From looking at your screenshots: Isn't the internal SD card usually listed as immc2 in the boot screen, rather than mmc2?

From Initfs bootmenu.sh
Code:

MENU_2_NAME="Internal MMC card, partition 2, ext2"
MENU_2_ID="immc2"
MENU_2_DEVICE="${INT_CARD}p2"
MENU_2_MODULES="mbcache ext2"
MENU_2_FSTYPE="ext2"
MENU_2_FSOPTIONS="noatime"
[ -d "/sys/block/${INT_CARD}/${MENU_2_DEVICE}" ] || MENU_2_NAME="(${MENU_2_NAME}) N/A"

MENU_3_NAME="External MMC card, partition 2, ext2"
MENU_3_ID="mmc2"
MENU_3_DEVICE="${EXT_CARD}p2"
MENU_3_MODULES="mbcache ext2"
MENU_3_FSTYPE="ext2"
MENU_3_FSOPTIONS="noatime"
[ -d "/sys/block/${EXT_CARD}/${MENU_3_DEVICE}" ] || MENU_3_NAME="(${MENU_3_NAME}) N/A"

e.g. Booting from immc2 /dev/mmcblk0p2 etc?

El Amir 2008-08-14 16:17

Re: Bootmenu useless (and it's MY fault) after latest Os update...
 
i know this is desperate, but could someone who has cloned his os to his internal mmc and that is now running the lastest os upload their bootmenu.conf and bootmenu.sh please?

Laughing Man 2008-08-14 22:59

Re: Bootmenu useless (and it's MY fault) after latest Os update...
 
I can try, but where is it? (i just used the .deb created by penguinbait to give me my bootmenu back) so I wouldn't know where it is.

bunanson 2008-08-15 00:36

Re: Bootmenu useless (and it's MY fault) after latest Os update...
 
Quote:

Originally Posted by El Amir (Post 213734)
i know this is desperate, but could someone who has cloned his os to his internal mmc and that is now running the lastest os upload their bootmenu.conf and bootmenu.sh please?

Here it is, this is the bootmenu straight from fanoush, without any modification, from the initfs_flasher.tgz
==============================================
# bootmenu customisation file
#
# included from bootmenu.sh after default menu is defined
# you can change some items or redefine menu completely

# timeout for automatic selection when no key is pressed
# set to -1 for no timeout (not recommended, can drain battery when device reboots unatteded)
MENU_TIMEOUT=30

# IP address for USB networking
#USB_IP=192.168.2.15

# dim screen when in menu
#/usr/sbin/dsmetest -l 1 #for OS2006/7
#/usr/sbin/dsmetest -l 3 #for OS2008, 1 turns screen completely off

# menu items
MENU_MIN=1 # first item index

#no need to redefine
#MENU_1_NAME="Internal flash"
#MENU_1_ID="flash"

MENU_2_NAME="Internal MMC card, partition 2, ext2"
MENU_2_ID="mmc2"
MENU_2_DEVICE="${INT_CARD}p2"
MENU_2_MODULES="mbcache ext2"
MENU_2_FSTYPE="ext2"
MENU_2_FSOPTIONS="noatime"
[ -d "/sys/block/${INT_CARD}/${MENU_2_DEVICE}" ] || MENU_2_NAME="(${MENU_2_NAME}) N/A"

MENU_3_NAME="External MMC card, partition 2, ext2"
MENU_3_ID="mmc3"
MENU_3_DEVICE="${EXT_CARD}p2"
MENU_3_MODULES="mbcache ext2"
MENU_3_FSTYPE="ext2"
MENU_3_FSOPTIONS="noatime"
[ -d "/sys/block/${EXT_CARD}/${MENU_3_DEVICE}" ] || MENU_3_NAME="(${MENU_3_NAME}) N/A"

MENU_4_NAME="External MMC card, partition 2, ext3"
MENU_4_ID="mmc12"
MENU_4_DEVICE="${EXT_CARD}p2"
MENU_4_MODULES="mbcache jbd ext3"
MENU_4_FSTYPE="ext3"
MENU_4_FSOPTIONS="noatime" #",data=writeback"
[ -d "/sys/block/${EXT_CARD}/${MENU_4_DEVICE}" ] || MENU_4_NAME="(${MENU_4_NAME}) N/A"

MENU_5_NAME="Power off (when not on charger)"
MENU_5_ID="off"

#last item index, change if you add/remove items
MENU_MAX=5
===========================================


Directly from fanoush bootmenu.n8x0.example.

Ok, you have to copy this into your flash, not any MMC then copy to flash. If you do copy to somewhere else, then you may, it is possible, that you may have a different bootmenu depends on which one you boot from.

Say, you edit a bootment and copy to int flash., upon seeing the bootmenu, you choose to boot from ext MMC, and now if you edit a copy of bootmenu, while you are in MMC, then this bootmenu will end up different then the first, and if this one have a mistake in typing, you will keep seeing this one, the 2nd one, the one with typo, till you choose to boot from flash again. I am sorry if this sounds too confusing ;)

So, to make a story simple, try to use fanoush bootmenu straight from the box, and see how it goes, then modify to suit your taste,

Edit: I posted the wrong one. Does not matter. Anyway, this one I made a very little change to suit my situations. This one allows N810 to boot from,

Internal flash
Internal MMC card, part 2, ext2
External MMC card, part2, ext2
External MMC card, part2, ext3
Power off

bun

El Amir 2008-08-15 04:06

Re: Bootmenu useless (and it's MY fault) after latest Os update...
 
Ladies and Gents, I've tried everything I could with my (narrow) knowledge in Linux but haven't succeeded in solving my problem. So I'm going the only thing I can still do: start all over again.

But for posterity, ill list everything I did, maybe It'll help out a fellow user at some point:
-i tried updating my bootmenu with fanoush's latest one
-i made sure I didn't have any bracket-ed out choices
-i switched around the SD cards and tried to see if I could boot from my cloned OS after that
-checked the integrity of my partitions thanks to
#sudo gainroot
#fsck /dev/mmcblk0p2
-then did:
e2fsck -b 8193 /dev/mmcblk1p2
-i also tried to use different bootmenu.conf but in vain


Anyways, today I took the decision to start back from scratch ( I -thankfully- backed up my my cloned partition!) . What really kills me is that I didn't do that for my Kde :(

Anyways, I hope no one does the same mistakes as me.

FINAL QUESTION: now that I'm going to format my mmc and clone on it my OS, is there any need for me to reflash my flash partition with Diablo in order to delete my (useless) bootmenu?

sachin007 2008-08-15 04:11

Re: Bootmenu useless (and it's MY fault) after latest Os update...
 
Hey el amir. If you do happen to have the install-tools.deb please upload it for me. I desperately need to clone my os to internal mmc

El Amir 2008-08-15 04:23

Re: Bootmenu useless (and it's MY fault) after latest Os update...
 
Quote:

Originally Posted by sachin007 (Post 213971)
Hey el amir. If you do happen to have the install-tools.deb please upload it for me. I desperately need to clone my os to internal mmc

here you go Sachin, hope this is what you're looking for...my records show I downloaded this on 27/06/08 so its pretty much recent!

LINK to install-tools.deb

sachin007 2008-08-15 04:25

Re: Bootmenu useless (and it's MY fault) after latest Os update...
 
Thank you so much!. Hope you get what you wanted. Thanks


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

vBulletin® Version 3.8.8