troombatzia
Posts: 501
Joined: Fri Jun 29, 2012 4:27 pm

Re: Berryboot v1.1 - Boot menu / OS installer

Thu Aug 30, 2012 1:28 pm

Max wrote:All the files of all operating systems end up in the same data partition.
So all operating systems can use the full amount of free space, and you do not need to mess with additional partitions.
Thanks for clear reply!
English isn’t my first language, so please excuse any mistakes.

User avatar
RichShumaker
Posts: 168
Joined: Tue Jul 31, 2012 4:16 pm
Location: Sunny Southern CA near downtown LA
Contact: Website Facebook Google+ Twitter YouTube

Re: Berryboot v1.1 - Boot menu / OS installer

Fri Aug 31, 2012 11:24 pm

Max wrote:
RichShumaker wrote:I would love a LAMP pre-built for BerryBoot
Any ability to add LAMPi to the list?
I am manually setting it up now but having it in BerryBoot would be awesome
Linux
Apache
MySQL
PHP
Do not plan to add a LAMP distribution, as I feel both Apache and MySQL are too heavy weight.
May add a simple 5 MB Lighttpd + PHP + SQLITE distribution later though.
Cool and that makes sense. I am building a LAMPi for learning stuff . So first thing I will be learning is to install LAMP. I want to learn more multi-server things and 3 or 4 LAMPi's is a fast way for me to do that. I am not saying a small or lite distro can't do the same.
I would love a way to do Pi to Pi copying for any or all BerryBoot's. I have no idea if this is even possible. The goal would be to build one BerryBoot with several Distros then replicating to a room of Pi's.
Thanks again for this tool I really enjoy using it.
Rich Shumaker
http://www.instructables.com/id/Pi-Zero-W-NoIR-8MP-Camera-Build-Overview-Introduct/

kmihalj
Posts: 2
Joined: Tue Aug 14, 2012 8:33 am

Re: Berryboot v1.1 - Boot menu / OS installer

Sat Sep 01, 2012 6:35 am

Where to put MPEG-2 code .... in config.txt for BerryBoot ? Will it work for all OS's installed ?

Max

Re: Berryboot v1.1 - Boot menu / OS installer

Sat Sep 01, 2012 3:27 pm

kmihalj wrote:Where to put MPEG-2 code .... in config.txt for BerryBoot ?
From Debian:

Code: Select all

sudo bash
mount /dev/mmcblk0p1 /boot
nano /boot/config.txt
*add your serial number there*
umount /boot
sync
(can also be done from the rescue shell, but then you only have "vi" instead of "nano" available)

Will it work for all OS's installed ?
Correct.

wiak
Posts: 7
Joined: Sun Sep 02, 2012 9:57 pm

Re: Berryboot v1.1 - Boot menu / OS installer

Sun Sep 02, 2012 10:07 pm

would be wise to include apt-get and debian config tools in the berrywebserver
then we have a minimal raspberry distro for web servers/database/havingfun :)

wiak
Posts: 7
Joined: Sun Sep 02, 2012 9:57 pm

Re: Berryboot v1.1 - Boot menu / OS installer

Mon Sep 03, 2012 5:47 pm

BTW: i get "Server refused to allocate pty" when trying to ssh into the berrywebserver
FYI: list of Raspberry pi distros: http://elinux.org/RPi_Distributions

Max

Re: Berryboot v1.1 - Boot menu / OS installer

Mon Sep 03, 2012 11:40 pm

wiak wrote:BTW: i get "Server refused to allocate pty" when trying to ssh into the berrywebserver
Is indeed a bug.
Should be fixed in the latest Berryboot version just released. Go to the "operating system installer" -> and click "add OS" to update.

Max

Re: Berryboot v1.1 - Boot menu / OS installer

Mon Sep 03, 2012 11:47 pm

Changelog Berryboot 2012-09-04

Image
  • New window to edit config.txt and cmdline.txt. Can be used to easily insert your mpeg2 license keys, or play with overclock and other settings. Use at your own risk.
  • Fixed /dev/pts mount issue
  • Logitech DJ wireless keyboard support added
  • Got rid of my own alternative rtl8192cu-alt.ko module in favor of the one that is now upstream.

wiak
Posts: 7
Joined: Sun Sep 02, 2012 9:57 pm

Re: Berryboot v1.1 - Boot menu / OS installer

Tue Sep 04, 2012 6:40 am

Max wrote:Changelog Berryboot 2012-09-04

Image
  • New window to edit config.txt and cmdline.txt. Can be used to easily insert your mpeg2 license keys, or play with overclock and other settings. Use at your own risk.
  • Fixed /dev/pts mount issue
  • Logitech DJ wireless keyboard support added
  • Got rid of my own alternative rtl8192cu-alt.ko module in favor of the one that is now upstream.
nice, would be nice if there was
img to squashfs converter,
more distros in the installer list
and apt-get in berrywebserver (for the securitiy sake, easier to keep up to date and to get more exotic packages to the webserver, or for those that needs git)

keep up the good work ;)

itimpi
Posts: 1090
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
Contact: Website

Re: Berryboot v1.1 - Boot menu / OS installer

Tue Sep 04, 2012 4:47 pm

Is there any way to increase the delay before the default OS boots? I sometimes find it difficult to get to the screen for adding OS as it boots before I can change the selection.

Max

Re: Berryboot v1.1 - Boot menu / OS installer

Tue Sep 04, 2012 4:58 pm

wiak wrote: and apt-get in berrywebserver (for the securitiy sake, easier to keep up to date and to get more exotic packages to the webserver, or for those that needs git)
Packages installed through apt-get will not work, as they are not binary compatible with the 5 MB environment used by Berrywebserver (uclibc vs glibc).

==
Is there any way to increase the delay before the default OS boots? I sometimes find it difficult to get to the screen for adding OS as it boots before I can change the selection.
Can append " nobootmenutimeout" to cmdline.txt to always prompt for a selection.
(note that all cmdline.txt settings must be on a single line, separated by spaces. Unlike settings in config.txt that can have seperate lines)

itimpi
Posts: 1090
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
Contact: Website

Re: Berryboot v1.1 - Boot menu / OS installer

Tue Sep 04, 2012 5:54 pm

Max wrote:
wiak wrote:
Is there any way to increase the delay before the default OS boots? I sometimes find it difficult to get to the screen for adding OS as it boots before I can change the selection.
Can append " nobootmenutimeout" to cmdline.txt to always prompt for a selection.
(note that all cmdline.txt settings must be on a single line, separated by spaces. Unlike settings in config.txt that can have seperate lines)
Thanks - I will make use of that setting.

nijhawank
Posts: 23
Joined: Sat Aug 04, 2012 8:26 am

Re: Berryboot v1.1 - Boot menu / OS installer

Wed Sep 05, 2012 4:48 am

Can you put in the change log exactly what version (commit) of the kernel you are using?

itimpi
Posts: 1090
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
Contact: Website

Re: Berryboot v1.1 - Boot menu / OS installer

Wed Sep 05, 2012 7:47 am

Are there any plans to get the facilities BerryBoot requires (e.g. squashfs support) into the standard Foundation kernel so that BerryBoot no longer needs a special one? This would make it much easier to keep up-to-date with the latest firmware.

linesguapo
Posts: 73
Joined: Fri Aug 31, 2012 8:42 am

RASPBMC

Wed Sep 05, 2012 8:36 am

How to adapt RASPBMC berryboot?

itimpi
Posts: 1090
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
Contact: Website

Re: RASPBMC

Wed Sep 05, 2012 8:38 am

linesguapo wrote:How to adapt RASPBMC berryboot?
It is not clear to me what you mean?

linesguapo
Posts: 73
Joined: Fri Aug 31, 2012 8:42 am

Re: RASPBMC

Wed Sep 05, 2012 8:43 am

itimpi wrote:
linesguapo wrote:How to adapt RASPBMC berryboot?
It is not clear to me what you mean?
I need to use raspbmc berryboot, but not in the download list.

I've seen a command to include images with pendrive but does not work for raspbmc

itimpi
Posts: 1090
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
Contact: Website

Re: Berryboot v1.1 - Boot menu / OS installer

Wed Sep 05, 2012 8:46 am

There are instructions on the Berryboot home site on what it takes to convert a distribution into the SquashFS format needed to add your own distibutions to the the Berryboot list. From what I can see the easiest way to do this involves running the required steps on a PC running Linux (possibly a 'Live CD' version of Linux if you do not have Linux natively isntalled on your PC).

I am hoping that eventually Berryboot itself will have this as something you can run on the Pi itself (although it may take a while to run). It may even be possible now - it is not something I have checked out.

linesguapo
Posts: 73
Joined: Fri Aug 31, 2012 8:42 am

Re: Berryboot v1.1 - Boot menu / OS installer

Wed Sep 05, 2012 9:16 am

yes, I have read the information, but this is the result:


[email protected]:~$ sudo kpartx -av /media/IOMEGA_HDD/pi/base.img


add map loop1p1 (252:0): 0 145408 linear /dev/loop1 4096


[email protected]:~$ sudo mount /dev/mapper/loop0p1 /mnt
mount: el dispositivo especial /dev/mapper/loop0p1 no existe


[email protected]:~$ sudo kpartx -av '/home/ubuntu/Desktop/base.img'
add map loop2p1 (252:1): 0 145408 linear /dev/loop2 4096
[email protected]:~$ sudo mount /dev/mapper/loop0p2 /mnt
mount: el dispositivo especial /dev/mapper/loop0p2 no existe


no existe = does not exist

Max

Re: Berryboot v1.1 - Boot menu / OS installer

Wed Sep 05, 2012 9:50 am

Are there any plans to get the facilities BerryBoot requires (e.g. squashfs support) into the standard Foundation kernel so that BerryBoot no longer needs a special one
Problem is that the Berryboot boot menu executable itself needs to be embedded in the kernel file as well.
(unless having a separate initramfs file works properly nowadays)

linesguapo wrote: [email protected]:~$ sudo kpartx -av /media/IOMEGA_HDD/pi/base.img

add map loop1p1 (252:0): 0 145408 linear /dev/loop1 4096

[email protected]:~$ sudo mount /dev/mapper/loop0p1 /mnt
mount: el dispositivo especial /dev/mapper/loop0p1 no existe
In your case it created loop1p1, so mount that instead.

linesguapo
Posts: 73
Joined: Fri Aug 31, 2012 8:42 am

Re: Berryboot v1.1 - Boot menu / OS installer

Wed Sep 05, 2012 10:13 am

with loo0p1 says the same:

[email protected]:~$ sudo mount /dev/mapper/loop0p1 /mnt

mount: el dispositivo especial /dev/mapper/loop0p1 no existe

Max

Re: Berryboot v1.1 - Boot menu / OS installer

Wed Sep 05, 2012 10:15 am

linesguapo wrote:with loo0p1 says the same:
Again, if it says: "add map loop1p1 (252:0): 0 145408 linear /dev/loop1 4096"
You need to mount loop1p1 NOT loop0p1.


But you are likely mounting the wrong image, as it should have 2 partitions (p1 and p2).
Make sure you are mounting an image of an operating system that is installed, and not an installer which will wipe your SD card.

linesguapo
Posts: 73
Joined: Fri Aug 31, 2012 8:42 am

Re: Berryboot v1.1 - Boot menu / OS installer

Wed Sep 05, 2012 10:33 am

yes is a installer which will wipe your SD card. try it with one installed.

thanks

troombatzia
Posts: 501
Joined: Fri Jun 29, 2012 4:27 pm

Re: Berryboot v1.1 - Boot menu / OS installer

Wed Sep 05, 2012 6:28 pm

Hi Max.

A question. I would like to know if shared.tgz has some kind of sign and if its integrity is checked when berryboot boots. I would like to add some bash script in sbin. Is bash supported by berryboot? Thanks.

Stefano
English isn’t my first language, so please excuse any mistakes.

Max

Re: Berryboot v1.1 - Boot menu / OS installer

Wed Sep 05, 2012 6:43 pm

troombatzia wrote: A question. I would like to know if shared.tgz has some kind of sign and if its integrity is checked when berryboot boots. I would like to add some bash script in sbin. Is bash supported by berryboot? Thanks.
shared.tgz is only used during installation (and when there is no local data partition available, like when you are using iSCSI).
During installation its contents is extracted to /shared on the data partition. So that is where you can put extra files you want to have available under all operating systems.


Note that "shared" is for files like kernel modules that should be the same under all operating systems.
If you are looking at adding extra commands to the "rescue shell", those need to be embedded in kernel_berryboot.img instead (initramfs style).
Last edited by Max on Wed Sep 05, 2012 6:55 pm, edited 1 time in total.

Return to “General discussion”