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)
-   -   HOW TO: Personalize Boot Menu, Increase Chances of Recovering Lost NIT (https://talk.maemo.org/showthread.php?t=21448)

El Amir 2008-07-02 18:56

Re: HOW TO: Personalize Boot Menu, Increase Chances of Recovering Lost NIT
 
Quote:

Originally Posted by fanoush (Post 198644)
But anyway, feel free to vote for http://bugs.maemo.org/show_bug.cgi?id=3373 :-)

You now have my vote :D

Ulysses 2008-07-05 03:34

Re: HOW TO: Personalize Boot Menu, Increase Chances of Recovering Lost NIT
 
Hi,

I'm trying to figure out how to change the default item in the boot menu after having installed initfs. So I'm trying to achieve this by directly editing /mnt/initfs/bootmenu.sh.

I think default_root is the variable to hunt for, but it occurs many times and I don't want to do anyhting foolish.

Any tips?

Thanks.

Ulysses

PS: I did read README.txt, still need some help.

Ulysses 2008-07-05 03:47

Re: HOW TO: Personalize Boot Menu, Increase Chances of Recovering Lost NIT
 
OK, sorry, I figured it out.

Just run this command as root:

chroot /mnt/initfs cal-tool --set-root-device ask:flash

Thanks anyway.

Ulysses

qwerty12 2008-07-05 08:28

Re: HOW TO: Personalize Boot Menu, Increase Chances of Recovering Lost NIT
 
Quote:

Originally Posted by fanoush (Post 198433)
Someone (KotCzarny?) already did quick hack for this. I plan to add it to bootmenu. Also some user configrable string for name etc. is good idea too.

Yep, I already done these to my initfs :)

Also, is it possible to mount a jffs2 initfs image on a different mountpoint or does default kernel lack modules?

nhanquy 2008-09-24 14:54

Re: HOW TO: Personalize Boot Menu, Increase Chances of Recovering Lost NIT
 
Just saw this thread.

I did something similar for bootmenu.sh. I modified the boot_message() to something like:

boot_message(){
${T2S} -c
${T2S} -s 1 -H center -y 20 -T 0 -t "Booting from ${default_root} (${root_dev} ${root_fstype})..."
${T2S} -s 1 -H center -y 392 -T 0 -t "this N800 belongs to"
${T2S} -s 2 -H center -y 405 -T 0 -t "xxx@gmail.com"
${T2S} -s 2 -H center -y 425 -T 0 -t "408 xxx-yyyy"
}

Those messages stay longer while the device is booting up.....

qwerty12 2008-09-24 15:02

Re: HOW TO: Personalize Boot Menu, Increase Chances of Recovering Lost NIT
 
http://qwerty12.maemobox.org/screenies/bootup.png


All times are GMT. The time now is 23:46.

vBulletin® Version 3.8.8