View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#123
Originally Posted by mornage View Post
Well the item file would need to be

ITEM_NAME="Maemo Backupmenu"
ITEM_KERNEL=2.6.28-omap1
ITEM_MODULE=ext3

That would boot maemo normally, Then maybe adding

ITEM_INITRC="path to backupmenu.item"

Might launch bootmenu for you. Although, I am thinking backupmenu.item might have to be renamed and possibly modified as ITEM_INITRC tells multiboot which init program to execute when switching over to root.

There is no way to tell the existing multiboot of boot options as such so that is the only way I can see at the moment.

I was going to install backupmenu and have a play around to see if I could work anything out but it depends on bootmenu which conflicts with multiboot.

Edit: Not sure how easy it is to change multiboot's code to make them work together or how busy he is, but JAY-C is the creator of multiboot so it might be worth contacting him to see if there is anything you can work out between you to get the two to intergrate?

Edit 2: Especially if backupmenu is just a shell script, as he may be able to add support for running a script prior to booting?
Unfortunately using ITEM_INITRC doesn't seem to do anything. Even if it did, I doubt it would work. Both bootmenu and multiboot work by modifying the initrd used during boot, and unless the multiboot initrd contains all the same added programs as the bootmenu one, the backupmenu script will fail to find the necessary executables.

EDIT: In fact, the initrc would be called after switching from the initrd, so the contents of that wouldn't matter. You'd still need all the executables installed on the N900 though.

Last edited by Rob1n; 2010-08-23 at 08:10.