maxnet / berryboot

Berryboot -- Boot menu / OS installer
http://www.berryboot.com/
Other
808 stars 133 forks source link

Berryboot self update functionality #371

Open macmpi opened 7 years ago

macmpi commented 7 years ago

Hi,

I would like to update Berryboot with latest without touching installed distributions, nor moving around microSD card. I've unsuccessfully searched for "Berryboot's built-in self update functionality" mentioned here: can you please explain how it works?

Also would be nice if Berryboot could display current running version number in some window (like within "?" window button)?

Thanks.

macmpi commented 7 years ago

I guess @maxnet needs to set stuff in [berryboot] section within http://dl.berryboot.com/distro.smime in order to trigger such update, right? Any chance this may be activated?

macmpi commented 7 years ago

@maxnet would it be possible to make available latest 20170527 release within http://dl.berryboot.com/distro.smime so that we can effortlessly update to latest, without wiping all existing images? Thanks in advance.

maxnet commented 7 years ago

I usually wait some days after releasing a new version on the website, before offering it as update to see if any new issues pop-up.

If you want to upgrade sooner, simply extract the zip on the website to the FAT partition of your card, and select "use existing files" during installation. Or do not overwrite cmdline.txt

macmpi commented 7 years ago

Don't I need to gzip -dc /boot/shared.tgz | tar x -C /mnt/shared too?

So, is the "manual" method below ok:

maxnet commented 7 years ago

Don't I need to gzip -dc /boot/shared.tgz | tar x -C /mnt/shared too?

Only if you do not overwrite cmdline.txt If you do overwrite it, and select "use existing files" during installation, the installation procedure will do that for you.

ghost commented 7 years ago

Hey,

first of all I would like to say that I love your work and support. I followed all you steps: DL the actual ZIP, extracted it, overwritten all files and started berryboot.

Since the new update my CEC is now working. Thatś awesome.

Thank you!!!

Greetings from Germany.

macmpi commented 7 years ago

Thanks for the clear instruction @maxnet , updated with cmdline.txt overwriting (preserving original).

Then how can we tell which Berryboot version we are using, from Berryboot menu screen or console?

macmpi commented 6 years ago

@maxnet the cmdline.txt overwrite method may not work in cases where cmdline.txt contains necessary partition schemes information (encrypted, full MSD boot,...).

Couldn't such manual update be triggered by existence of a specific file in boot partition (like update), instead of current logic on existence of declared partitions incmdline.txt? This would allow to simply do the update while leveraging existing parameters.