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 Installer (https://talk.maemo.org/showthread.php?t=21344)

penguinbait 2008-06-27 00:11

Bootmenu Installer
 
NOT FOR USE ON 43-7 or above - NO LONGER BEING UPDATED


I created a deb to install bootmenu (to be run in flash only)

For memson, because some people can't take no for an answer. Perhaps try to be a little more polite with future requests :cool:

This will scan and look for ext2 and ext3 partitions on any inserted SD card and create a custom bootmenu.conf and install bootmenu.

This will also setup sudo ALL=ALL in flash partition (give you root access) just run "sudo su -" in xterm

This will also fsck all known ext2 or 3 partitions when booted to flash. IT will play a wav when complete

the wav is in /root/linus for those that will ask

Get the deb at
http://penguinbait.com
or
http://penguinbait.com/bootmenu-installer.deb


Now its time to eat and beat the children :)

Supported Versions, (Not tested on 770)
Nokia 770 - IT2006 versions 1.2006.26-8, 2.2006.39-14, 3.2006.49-2, IT2007 hacker edition 2.2006.48-7, 4.2007.36-2
N800 - IT2007 versions 2.2006.51-6, 3.2007.10-7, 4.2007.26-8, 4.2007.38-2

N800,N810 - IT2008 versions 1.2007.42-18, 1.2007.42-19, 2.2007.50-2, 4.2008.23-14 (Diablo), 4.2008.30-2 (first Diablo update), 4.2008.36-5

joepagiii 2008-06-27 00:21

Re: Bootmenu Installer
 
man ...thanks...i dont know if i want to use it...yet ..that dude was rude...

memson 2008-06-27 12:49

Re: Bootmenu Installer
 
PB is my hero, srsly ;-)

memson 2008-06-27 13:17

Re: Bootmenu Installer
 
Dude, just so you know... I was about to donate you something, except my credit card expired and PayPal is obviously asking me to update my details. Don't have my card to hand (only debit card and I don't want to use that online) so expect a small donation in the next few days ;)

joepagiii 2008-06-27 13:20

Re: Bootmenu Installer
 
get a prepaid credit card...set your paypal accordingly.sorry i..didnt mean to jump in your stuff...remember we all have to try to be more polite...and just geta along...as for 2 hour comute....crap...man that just sucks...

memson 2008-06-27 15:39

Re: Bootmenu Installer
 
Quote:

Originally Posted by joepagiii (Post 196608)
get a prepaid credit card...set your paypal accordingly.sorry i..didnt mean to jump in your stuff...remember we all have to try to be more polite...and just geta along...as for 2 hour comute....crap...man that just sucks...

My bank only protects Credit Cards for online transactions ( I only have my debit card on me*.) Either way, I'd need my Credit Card to set up the pre-paid online.

Yep, commute is a bugger: ~1.5 hours on the train each way (varies, fastest is 1 hour 20 mins, most is 2 hours 15 minutes), 15 minutes from home to the station, 15 - 25 mins from station to office on the subway. So, average journey is 1.5 + 0.5 + 0.25 each way. It can be more. I usually leave work at 17:15 and get home at ~19:30. I usually leave the house in the morning at ~07:00 and get to work by 09:00.

To be clear: my job is great. I get paid well. The commute sucks.

* Just in case we call things different names, a Debit card has no credit - the money is drawn directly from your band account. A Credit card has associated credit and you must pay off the balance monthly. A debit card can still be VISA etc, but just only clears if there is money in your account. Banks do not guarantee them for online transactions - we get no payment protection etc.

joepagiii 2008-06-27 15:52

Re: Bootmenu Installer
 
my commute is short...less than a minute...to get into my office...course i taka care of an 87 yr old...and the kids are out of school...little locusts...as for work...i fix stuff...no matter what...computers to cars...tvs to washers....still broke...your jargon is fine...(credit,debits,online...etc...)

daveb70 2008-06-27 15:56

Re: Bootmenu Installer
 
Quote:

Originally Posted by penguinbait (Post 196407)
Now its time to eat and beat the children :)

Wouldn't it make more sense to beat then eat them, thus rendering them more tender for consumption purposes? :eek:

Sorry, I couldn't resist that one. :p

Thanks PB for all of your time and effort spent. I think Diablo will be the trigger point that I need to jump into your offerings- I've only read about and been impressed with your work thus far, now it's time to experience it.

Dave

beatniks3 2008-06-27 19:40

Re: Bootmenu Installer
 
thanks for this deb and for the post,
now booting diablo internal and booting the previous version with all my programs and KDE on the external SD.

penguinbait 2008-06-27 20:05

Re: Bootmenu Installer
 
Quote:

Originally Posted by joepagiii (Post 196682)
my commute is short...less than a minute...to get into my office...course i taka care of an 87 yr old...and the kids are out of school...little locusts...as for work...i fix stuff...no matter what...computers to cars...tvs to washers....still broke...your jargon is fine...(credit,debits,online...etc...)

Just curious your age? I imagine an old man :)

Not trying to offend anyone. Its just whenever I meet a guy, that fixes everything. Its usually one of those old guys like my grandpa was. He could fix anything. Engine blew up, let me make a new set of pistons on the lathe. He could do anything, although not on computers. More of an old shools mechanical engineer.

joepagiii 2008-06-27 20:17

Re: Bootmenu Installer
 
Quote:

Originally Posted by penguinbait (Post 196788)
Just curious your age? I imagine an old man :)

Not trying to offend anyone. Its just whenever I meet a guy, that fixes everything. Its usually one of those old guys like my grandpa was. He could fix anything. Engine blew up, let me make a new set of pistons on the lathe. He could do anything, although not on computers. More of an old shools mechanical engineer.

nope in my 30s...just classically trained...had an older generation mec.engineer teach me some tricks...like how to fix craclking speakers...ronsonol....etc...lathe work is fun...if you have one...i was a blacksmith,(toolmaker)...had a machine shop next to the forge room....used to make all sorts of oddball tools..swordblades,etc....usually out of spring steel...sold alot of blanks to the renfest crowd...my present office is in my house...and my shop burned down...someone ran into it..:eek:.over the weekend and well it wasn't pretty....lost 75% of my tools...alot of real neat stuff people gave me....ive had alot off different jobs...stonemasonry,...computers were my hobby...now there my livelyhood

penguinbait 2008-06-27 20:32

Re: Bootmenu Installer
 
Quote:

Originally Posted by joepagiii (Post 196791)
nope in my 30s...just classically trained...had an older generation mec.engineer teach me some tricks...like how to fix craclking speakers...ronsonol....etc...lathe work is fun...if you have one...i was a blacksmith,(toolmaker)...had a machine shop next to the forge room....used to make all sorts of oddball tools..swordblades,etc....usually out of spring steel...sold alot of blanks to the renfest crowd...my present office is in my house...and my shop burned down...someone ran into it..:eek:.over the weekend and well it wasn't pretty....lost 75% of my tools...alot of real neat stuff people gave me....ive had alot off different jobs...stonemasonry,...computers were my hobby...now there my livelyhood

I have had lots of different jobs myself. Carpenter, Brick laborer, Brick Layer, never worked on cars for a living, but I have replaced a few engines when I had to :)

"computers were my hobby...now there my livelyhood"

Ditto, and 36 myself

lm2 2008-06-28 15:19

Re: Bootmenu Installer
 
Quote:

Originally Posted by penguinbait (Post 196407)
This will scan and look for ext2 and ext3 partitions on any inserted SD card and create a custom bootmenu.conf and install bootmenu.

Will this install a bootmenu even if, during installation, there are no SD cards in any slot? I'm working on a how-to showing how to modify bootmenu with Fanoush's initfs_flasher in order to have one's personal information (I have email and phone number) on boot menu in case of loss. This worked like a charm, but I already had a bootmenu from your install-tools.deb. I want to know what to tell those who haven't cloned, and may not wish to clone.

Thanks!

penguinbait 2008-06-29 00:48

Re: Bootmenu Installer
 
Quote:

Originally Posted by lm2 (Post 197057)
Will this install a bootmenu even if, during installation, there are no SD cards in any slot? I'm working on a how-to showing how to modify bootmenu with Fanoush's initfs_flasher in order to have one's personal information (I have email and phone number) on boot menu in case of loss. This worked like a charm, but I already had a bootmenu from your install-tools.deb. I want to know what to tell those who haven't cloned, and may not wish to clone.

Thanks!

It will, however it scans the partitions and sets up the bootmenu.conf. If it does not find any partitions, the menu will be empty

stevecrye 2008-06-29 05:55

Re: Bootmenu Installer
 
Sorry to double-post, but I just found this thread and realized that my question best belongs here:

-------
@penguinbait;

I installed Diablo today, spent a few hours getting all my apps and customizations installed (Gnumeric was the only one that I could not get working). Then it was time to put the bootmenu back, so I could boot between diablo on flash and chinook on SD.

I went to your site and downloaded bootmenu-installer 1.0.0-2. But, it fails to run, here is some of the log:

Quote:

hildon-application-manager 2.1.16
/usr/bin/dpkg-deb -f '/home/user/MyDocs/PB/bootmenu-installer.deb'
/usr/bin/dpkg --install '/home/user/MyDocs/PB/bootmenu-installer.deb'
(Reading database ... 16590 files and directories currently installed.)
Unpacking bootmenu-installer (from .../PB/bootmenu-installer.deb) ...
dpkg: error processing /home/user/MyDocs/PB/bootmenu-installer.deb (--install):
trying to overwrite `/root/install-tools.tgz', which is also in package install-tools-n810e
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/home/user/MyDocs/PB/bootmenu-installer.deb
apt-worker: Ignoring version from wrong domain: matchbox-window-manager 2:1.2-osso18
apt-worker: /var/lib/apt/lists/repostory.maemo.org_dists_chinook_free_binary-armel_Packages
apt-worker: Ignoring version from wrong domain: libpopt0 1.7-6
apt-worker: /var/lib/apt/lists/repostory.maemo.org_dists_chinook_free_binary
It looks like this is the chinook version. I looked again on your site, but can't find the diablo version.

Thanks,

Steve

penguinbait 2008-06-29 16:03

Re: Bootmenu Installer
 
Quote:

Originally Posted by stevecrye (Post 197235)
Sorry to double-post, but I just found this thread and realized that my question best belongs here:

-------
@penguinbait;

I installed Diablo today, spent a few hours getting all my apps and customizations installed (Gnumeric was the only one that I could not get working). Then it was time to put the bootmenu back, so I could boot between diablo on flash and chinook on SD.

I went to your site and downloaded bootmenu-installer 1.0.0-2. But, it fails to run, here is some of the log:

trying to overwrite `/root/install-tools.tgz', which is also in package install-tools-n810e


It looks like this is the chinook version. I looked again on your site, but can't find the diablo version.

Thanks,

Steve

uninstall install-tools-n810e first, its ok its nolt needed after install is complete.

chninook and diablo versions are in the same deb

stevecrye 2008-06-29 17:53

Re: Bootmenu Installer
 
Quote:

uninstall install-tools-n810e first, its ok its not needed after install is complete.
Thanks, that worked.

Steve

massIV 2008-07-25 21:36

Re: Bootmenu Installer
 
penguinbait, you should fix where you say where the sound file is. It is in /root/.linus
And for people who care, the line responsible for playing the sound is line 21 of /etc/init.d/local.sh
Thanks for this penguinbait! :)

heelio 2008-09-29 23:31

Re: Bootmenu Installer
 
How come when I go to the boot-menu-installer page, it just shows a lot of funny characters and nothing happens?

penguinbait 2008-09-29 23:35

Re: Bootmenu Installer
 
Quote:

Originally Posted by heelio (Post 228627)
How come when I go to the boot-menu-installer page, it just shows a lot of funny characters and nothing happens?

Hold stylus down on link until menu pops up. Then click "save target as"

Then once its saved, open application manager and install from file.


NOTE, this only installs bootmenu, it does not clone anything, It will search for available partitions and write out a new bootmenu.

st5150 2008-09-30 02:11

Re: Bootmenu Installer
 
Has this been updated for the new SSU update?

Peet 2008-09-30 09:12

Re: Bootmenu Installer
 
Penguinbait, I realize that writing docs is no fun, but wouldn't it be more convenient for both yourself and the users if you had a text file (e.g. bootmenu-installer.txt) accompanying each of the downloadable .debs explaining what the package does and offering simple FAQ/Howto advice on dealing with issues like the "Seamless" Software Updates?

Alternatively there could be a link to some online resource where these issues are debated and updates announced.

Nokia seems to be only supporting users with virgin setups, but a whole lot of users depend on the added functionality from community sources, and some things like booting from SD-cards just makes so much sense that it's painful, like far greater capacities, faster data access and keeping the soldered-in flash from wearing out...

penguinbait 2008-09-30 16:55

Re: Bootmenu Installer
 
Quote:

Originally Posted by Peet (Post 228756)
Penguinbait, I realize that writing docs is no fun, but wouldn't it be more convenient for both yourself and the users if you had a text file (e.g. bootmenu-installer.txt) accompanying each of the downloadable .debs explaining what the package does and offering simple FAQ/Howto advice on dealing with issues like the "Seamless" Software Updates?

Alternatively there could be a link to some online resource where these issues are debated and updates announced.

Nokia seems to be only supporting users with virgin setups, but a whole lot of users depend on the added functionality from community sources, and some things like booting from SD-cards just makes so much sense that it's painful, like far greater capacities, faster data access and keeping the soldered-in flash from wearing out...


This is what I am using my blog for, I am working on documenting all my crap. It may be a while before its all complete though

visit site at http://tablethacker.com

penguinbait 2008-09-30 16:56

Re: Bootmenu Installer
 
Bootmenu Installer has been updated to support the latest versions of the OS

Modified initfs with onscreen boot menu and usb network recovery
Nokia 770 - IT2006 versions 1.2006.26-8, 2.2006.39-14, 3.2006.49-2, IT2007 hacker edition 2.2006.48-7, 4.2007.36-2
N800 - IT2007 versions 2.2006.51-6, 3.2007.10-7, 4.2007.26-8, 4.2007.38-2

N800,N810 - IT2008 versions 1.2007.42-18, 1.2007.42-19, 2.2007.50-2, 4.2008.23-14 (Diablo), 4.2008.30-2 (first Diablo update), 4.2008.36-5


Always remember to thank Fanoush :)

tubby17 2008-09-30 20:29

Re: Bootmenu Installer
 
Ok. Another question. The more I read, the more I'm understanding, but I'm not there yet.

I used PB's "Clone OS to SD" deb on my n810 and can now boot 30-2 from internal mmc. My installed application menu on internal flash shows no bootmenu-installer. Can I safely install this in internal flash (having already backed up my bootmenu.conf to the external SD)? I ask because I'd like to set this up and THEN try to update both internal flash and internal mmc to 36-5.

Thanks.

penguinbait 2008-09-30 21:12

Re: Bootmenu Installer
 
Quote:

Originally Posted by tubby17 (Post 229030)
Ok. Another question. The more I read, the more I'm understanding, but I'm not there yet.

I used PB's "Clone OS to SD" deb on my n810 and can now boot 30-2 from internal mmc. My installed application menu on internal flash shows no bootmenu-installer. Can I safely install this in internal flash (having already backed up my bootmenu.conf to the external SD)? I ask because I'd like to set this up and THEN try to update both internal flash and internal mmc to 36-5.

Thanks.


You can and should only install this under flash. If it was previously installed, just uninstall it, and install the new version.

The best way to proceed in my opinion, is the following.

1) boot to flash and install 36-5 upgrade, it will reboot

2) It will boot to flash again, now install bootmenu installer

3) Reboot

4) when it boots you will be able to boot to flash 36-5, or SD 30-2

(I am not sure however if the 36-5 upgrade will work run from SD?)

tubby17 2008-09-30 21:15

Re: Bootmenu Installer
 
Quote:

Originally Posted by penguinbait (Post 229057)
You can and should only install this under flash. If it was previously installed, just uninstall it, and install the new version.

The best way to proceed in my opinion, is the following.

1) boot to flash and install 36-5 upgrade, it will reboot

2) It will boot to flash again, now install bootmenu installer

3) Reboot

4) when it boots you will be able to boot to flash 36-5, or SD 30-2

(I am not sure however if the 36-5 upgrade will work run from SD?)

Thanks, dude. I'll let you know how it goes...

Benson 2008-09-30 21:59

Re: Bootmenu Installer
 
Quote:

Originally Posted by penguinbait (Post 229057)
(I am not sure however if the 36-5 upgrade will work run from SD?)

Yes, it will, although the bootmenu is then gone, so you'd better have some way of booting to reinstall the bootmenu.

And if you want to update both SD and flash, the best routine seems to be
  1. Boot to SD
  2. Update
  3. When it reboots, it'll come to flash (because no bootmenu)
  4. Update
  5. When it reboots, it'll come to flash again
  6. Install bootmenu.
  7. On reboot, you'll have options as expected...

However, my setup is more complicated than that, and I use Fanoush's package independently, so I'm unable to say I've done exactly that.

tubby17 2008-10-01 00:12

Re: Bootmenu Installer
 
Quote:

Originally Posted by Benson (Post 229088)
Yes, it will, although the bootmenu is then gone, so you'd better have some way of booting to reinstall the bootmenu.

And if you want to update both SD and flash, the best routine seems to be
  1. Boot to SD
  2. Update
  3. When it reboots, it'll come to flash (because no bootmenu)
  4. Update
  5. When it reboots, it'll come to flash again
  6. Install bootmenu.
  7. On reboot, you'll have options as expected...

However, my setup is more complicated than that, and I use Fanoush's package independently, so I'm unable to say I've done exactly that.

IT WORKED!!! I've got the latest OS in flash and internal mmc. No problems whatsoever. Benson, PB: you guys rock. I'll got post my success to the main thread and reference Benson's post.

Thank you both sincerely.

heelio 2008-10-01 00:39

Re: Bootmenu Installer
 
I hate to ask, but I guess I gotta - I was able to get the bootmenu-installer onto my n800 yesterday (it was dual booting until the recent os update trashed it, suddenly, no access to the internal sd, back to booting from flash, which has issues as I will relate). I tried installing bootmenu-installer from my documents folder, but it just says unable to install. I really need it to work because I just recently discovered this n800 which I recently bought used does not have a lock code I can use (11345 doesn't work, I emailed the guy who sold it but his also fails). I have plenty of room on the internal card but the flash is down to like 10 megs free.

sachin007 2008-10-01 02:20

Re: Bootmenu Installer
 
Quote:

Originally Posted by Benson (Post 229088)
Yes, it will, although the bootmenu is then gone, so you'd better have some way of booting to reinstall the bootmenu.

And if you want to update both SD and flash, the best routine seems to be
  1. Boot to SD
  2. Update
  3. When it reboots, it'll come to flash (because no bootmenu)
  4. Update
  5. When it reboots, it'll come to flash again
  6. Install bootmenu.
  7. On reboot, you'll have options as expected...

However, my setup is more complicated than that, and I use Fanoush's package independently, so I'm unable to say I've done exactly that.

I did the same steps... except when i try to install bootmenu 10.0.0.3 it says unable to install bootmenu.

ANy ideas?

prk60091 2008-10-01 02:28

Re: Bootmenu Installer
 
Quote:

Originally Posted by sachin007 (Post 229162)
I did the same steps... except when i try to install bootmenu 10.0.0.3 it says unable to install bootmenu.

ANy ideas?

i used penguinbait's bootmenu.deb- which i had to uninstll (via app manager) then reinstall to get it to work

sachin007 2008-10-01 02:31

Re: Bootmenu Installer
 
Okay i got it.

I uninstalled install tools and then installed boot menu.

Now i have 36-5 in both partitions.

Thank you penguinbait and fanoush.

penguinbait 2008-10-01 02:38

Re: Bootmenu Installer
 
Quote:

Originally Posted by heelio (Post 229139)
I hate to ask, but I guess I gotta - I was able to get the bootmenu-installer onto my n800 yesterday (it was dual booting until the recent os update trashed it, suddenly, no access to the internal sd, back to booting from flash, which has issues as I will relate). I tried installing bootmenu-installer from my documents folder, but it just says unable to install. I really need it to work because I just recently discovered this n800 which I recently bought used does not have a lock code I can use (11345 doesn't work, I emailed the guy who sold it but his also fails). I have plenty of room on the internal card but the flash is down to like 10 megs free.

Is virtual memory turned on, if so turn it off

Is bootmenu-installer or install-tools installed? If so uninstall them first

How many SD cards are inserted? Only one SD card can be inserted in the 800 when installing or it will fail.

These are the usual gotcha's

you might also try removing some package if you are low on space. 10mb is pretty tight

Matan 2008-10-01 10:00

Re: Bootmenu Installer
 
Quote:

Originally Posted by Benson (Post 229088)
Yes, it will, although the bootmenu is then gone, so you'd better have some way of booting to reinstall the bootmenu.

And if you want to update both SD and flash, the best routine seems to be
  1. Boot to SD
  2. Update
  3. When it reboots, it'll come to flash (because no bootmenu)
  4. Update
  5. When it reboots, it'll come to flash again
  6. Install bootmenu.
  7. On reboot, you'll have options as expected...

However, my setup is more complicated than that, and I use Fanoush's package independently, so I'm unable to say I've done exactly that.

This is what I did (using initfs_flasher directly, not bootmenu package) and it worked fine. But it does seem risky:

If the old user space can't work with new kernel and initfs, step 3 will result in non-booting system.
The safest way is to update flash first, so you have lower risk of that.

heelio 2008-10-01 10:06

Re: Bootmenu Installer
 
Many thanks to you guys, it was install-tools that was stopping me; I did not even have to remove my external sd card. I have now rebooted from mmc2 so I again have plenty of room (I gave ALL of a 2 gig SD card except 128 meg to the boot OS).

Now, if I could just figure out why the code the previous owner (lock code) won't work, I could reset the original flash to original state and start it over. Just damn glad your bootmenu installer in on the flash though, I was wrong about the 10 megs, it still has 15 available! Thanks!

Benson 2008-10-01 18:57

Re: Bootmenu Installer
 
Quote:

Originally Posted by Matan (Post 229253)
This is what I did (using initfs_flasher directly, not bootmenu package) and it worked fine. But it does seem risky:

If the old user space can't work with new kernel and initfs, step 3 will result in non-booting system.
The safest way is to update flash first, so you have lower risk of that.

OTOH, that requires installing the boot menu (or using flasher-3.0 to set the boot device) to boot off the SD again, then SSU that way, and finally install the boot menu again.

If you update SD, and it will not boot back into flash because of some boot-stopping incompatibility (which should be quite rare), you can still use flasher-3.0 to set the default boot device as mmc, provided your SD is laid out appropriately.

Eladon 2008-10-20 06:36

Re: Bootmenu Installer
 
Where can I find some docs for bootmenu? I'm just looking to change which menu option is the default...

penguinbait 2008-10-20 14:38

Re: Bootmenu Installer
 
Quote:

Originally Posted by Eladon (Post 234980)
Where can I find some docs for bootmenu? I'm just looking to change which menu option is the default...

boot to flash and open xterm and become root and run the following command:
chroot /mnt/initfs cal-tool –set-root-device ask:flash
Instead of flash, you can also set the default boot image to be mmcX

mmc2 is partition 2 on internal
mmc3 is partition 3 on internal
mmc12 is partition 2 on external
mmc13 is partition 3 on external

This sets the default

CpuFixrMan 2008-10-21 03:36

Re: Bootmenu Installer
 
PB (and Fanoush),

You guys have made this an ever better device. However, it seems that, after spending all my time installing apps in the SD boot partition, if I use the SSU update that will trash my SD boot. Is it as simple as reinstalling the boot menu? If I have to update flash, then clone to the SD card, won't I have to reinstall everything again? This, to me, seems like it defeats the purpose of SSU. Am I just missing something here?

Edit: 10/20/08
Ok, you can disregard this. I think, after re-reading Benson's post a couple more times, his procedure makes sense to me now. It sounds like I only have to reinstall bootmenu, not install tools. I have a backup, so even if this doesn't work, I can clone again and restore. Thanks again.


All times are GMT. The time now is 21:05.

vBulletin® Version 3.8.8