Page 6 of 23

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

Posted: Thu Aug 30, 2012 1:28 pm
by troombatzia
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!

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

Posted: Fri Aug 31, 2012 11:24 pm
by RichShumaker
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.

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

Posted: Sat Sep 01, 2012 6:35 am
by kmihalj
Where to put MPEG-2 code .... in config.txt for BerryBoot ? Will it work for all OS's installed ?

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

Posted: Sat Sep 01, 2012 3:27 pm
by Max
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.

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

Posted: Sun Sep 02, 2012 10:07 pm
by wiak
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 :)

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

Posted: Mon Sep 03, 2012 5:47 pm
by wiak
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

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

Posted: Mon Sep 03, 2012 11:40 pm
by Max
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.

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

Posted: Mon Sep 03, 2012 11:47 pm
by Max
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.

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

Posted: Tue Sep 04, 2012 6:40 am
by wiak
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 ;)

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

Posted: Tue Sep 04, 2012 4:47 pm
by itimpi
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.

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

Posted: Tue Sep 04, 2012 4:58 pm
by Max
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)

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

Posted: Tue Sep 04, 2012 5:54 pm
by itimpi
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.

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

Posted: Wed Sep 05, 2012 4:48 am
by nijhawank
Can you put in the change log exactly what version (commit) of the kernel you are using?

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

Posted: Wed Sep 05, 2012 7:47 am
by itimpi
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.

RASPBMC

Posted: Wed Sep 05, 2012 8:36 am
by linesguapo
How to adapt RASPBMC berryboot?

Re: RASPBMC

Posted: Wed Sep 05, 2012 8:38 am
by itimpi
linesguapo wrote:How to adapt RASPBMC berryboot?
It is not clear to me what you mean?

Re: RASPBMC

Posted: Wed Sep 05, 2012 8:43 am
by linesguapo
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

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

Posted: Wed Sep 05, 2012 8:46 am
by itimpi
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.

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

Posted: Wed Sep 05, 2012 9:16 am
by linesguapo
yes, I have read the information, but this is the result:


ubuntu@ubuntu:~$ sudo kpartx -av /media/IOMEGA_HDD/pi/base.img


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


ubuntu@ubuntu:~$ sudo mount /dev/mapper/loop0p1 /mnt
mount: el dispositivo especial /dev/mapper/loop0p1 no existe


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


no existe = does not exist

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

Posted: Wed Sep 05, 2012 9:50 am
by Max
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: ubuntu@ubuntu:~$ sudo kpartx -av /media/IOMEGA_HDD/pi/base.img

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

ubuntu@ubuntu:~$ 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.

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

Posted: Wed Sep 05, 2012 10:13 am
by linesguapo
with loo0p1 says the same:

ubuntu@ubuntu:~$ sudo mount /dev/mapper/loop0p1 /mnt

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

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

Posted: Wed Sep 05, 2012 10:15 am
by Max
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.

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

Posted: Wed Sep 05, 2012 10:33 am
by linesguapo
yes is a installer which will wipe your SD card. try it with one installed.

thanks

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

Posted: Wed Sep 05, 2012 6:28 pm
by troombatzia
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

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

Posted: Wed Sep 05, 2012 6:43 pm
by Max
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).