Reply
Thread Tools
El Amir's Avatar
Posts: 487 | Thanked: 152 times | Joined on Aug 2007 @ London, UK
#11
Originally Posted by fanoush View Post
But anyway, feel free to vote for http://bugs.maemo.org/show_bug.cgi?id=3373 :-)
You now have my vote
__________________
Follow me on twitter HERE!

Applications I've made:
- Vuvuzela
- LTM: London Tube Map
 
Posts: 85 | Thanked: 29 times | Joined on Jan 2008
#12
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.
 
Posts: 85 | Thanked: 29 times | Joined on Jan 2008
#13
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's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#14
Originally Posted by fanoush View Post
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?
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#15
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.....
 

The Following User Says Thank You to nhanquy For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#16
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Reply


 
Forum Jump


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