Thanks for clear reply!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.
-
- Posts: 501
- Joined: Fri Jun 29, 2012 4:27 pm
Re: Berryboot v1.1 - Boot menu / OS installer
English isn’t my first language, so please excuse any mistakes.
- RichShumaker
- Posts: 356
- Joined: Tue Jul 31, 2012 4:16 pm
- Location: Sunny Southern CA near downtown LA
- Contact: Website Facebook Twitter YouTube
Re: Berryboot v1.1 - Boot menu / OS installer
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.Max wrote:Do not plan to add a LAMP distribution, as I feel both Apache and MySQL are too heavy weight.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
May add a simple 5 MB Lighttpd + PHP + SQLITE distribution later though.
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/
http://www.instructables.com/id/Pi-Zero-W-NoIR-8MP-Camera-Build-Overview-Introduct/
Re: Berryboot v1.1 - Boot menu / OS installer
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
From Debian:kmihalj wrote:Where to put MPEG-2 code .... in config.txt for BerryBoot ?
Code: Select all
sudo bash
mount /dev/mmcblk0p1 /boot
nano /boot/config.txt
*add your serial number there*
umount /boot
sync
Correct.Will it work for all OS's installed ?
Re: Berryboot v1.1 - Boot menu / OS installer
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
then we have a minimal raspberry distro for web servers/database/havingfun

Re: Berryboot v1.1 - Boot menu / OS installer
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
FYI: list of Raspberry pi distros: http://elinux.org/RPi_Distributions
Re: Berryboot v1.1 - Boot menu / OS installer
Is indeed a bug.wiak wrote:BTW: i get "Server refused to allocate pty" when trying to ssh into the berrywebserver
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
Changelog Berryboot 2012-09-04


- 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
nice, would be nice if there wasMax wrote:Changelog Berryboot 2012-09-04
- 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.
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

-
- 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
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
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).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)
==
Can append " nobootmenutimeout" to cmdline.txt to always prompt for a selection.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.
(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)
-
- 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
Thanks - I will make use of that setting.Max wrote:wiak wrote:Can append " nobootmenutimeout" to cmdline.txt to always prompt for a selection.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.
(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
Can you put in the change log exactly what version (commit) of the kernel you are using?
-
- 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
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.
-
- Posts: 73
- Joined: Fri Aug 31, 2012 8:42 am
RASPBMC
How to adapt RASPBMC berryboot?
-
- Posts: 1090
- Joined: Sun Sep 25, 2011 11:44 am
- Location: Potters Bar, United Kingdom
- Contact: Website
Re: RASPBMC
It is not clear to me what you mean?linesguapo wrote:How to adapt RASPBMC berryboot?
-
- Posts: 73
- Joined: Fri Aug 31, 2012 8:42 am
Re: RASPBMC
I need to use raspbmc berryboot, but not in the download list.itimpi wrote:It is not clear to me what you mean?linesguapo wrote:How to adapt RASPBMC berryboot?
I've seen a command to include images with pendrive but does not work for raspbmc
-
- 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
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.
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.
-
- Posts: 73
- Joined: Fri Aug 31, 2012 8:42 am
Re: Berryboot v1.1 - Boot menu / OS installer
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
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
Problem is that the Berryboot boot menu executable itself needs to be embedded in the kernel file as well.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
(unless having a separate initramfs file works properly nowadays)
In your case it created loop1p1, so mount that instead.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
-
- Posts: 73
- Joined: Fri Aug 31, 2012 8:42 am
Re: Berryboot v1.1 - Boot menu / OS installer
with loo0p1 says the same:
ubuntu@ubuntu:~$ sudo mount /dev/mapper/loop0p1 /mnt
mount: el dispositivo especial /dev/mapper/loop0p1 no existe
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
Again, if it says: "add map loop1p1 (252:0): 0 145408 linear /dev/loop1 4096"linesguapo wrote:with loo0p1 says the same:
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.
-
- Posts: 73
- Joined: Fri Aug 31, 2012 8:42 am
Re: Berryboot v1.1 - Boot menu / OS installer
yes is a installer which will wipe your SD card. try it with one installed.
thanks
thanks
-
- Posts: 501
- Joined: Fri Jun 29, 2012 4:27 pm
Re: Berryboot v1.1 - Boot menu / OS installer
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
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.
Re: Berryboot v1.1 - Boot menu / OS installer
shared.tgz is only used during installation (and when there is no local data partition available, like when you are using iSCSI).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.
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.