RASPBERRY PI: NOOBS VS BERRYBOOT
Posted by kll on July 12 2013 11:39:04
restart work with RPI, check on new installation way:
NOOBS_v1_2_1.zip a 1.2GB live install system.
versus
BERRYBOOT


after a long break to document some knowhow to online calc tools,
google drive spreadsheets
and travel to see family,
now i was thinking where to start again.


checking on the newest version of RPI system found NOOBS and read also revision of quick-start-guide-v2_1.pdf
this looks easy and can choose/select ( even later ) between 4 operating system options,
but don't get confused, its not a multi boot , only a multi (re) install framework.
and its so big because the 4 linux are provided already.

versus

berryboot also a stand alone installation tool, with some differences:
- installation same way like NOOBS:
unzip the distribution to a FAT(32) 4.. 32 GB SD card.
- the selected ( newest ) linux versions for RPI must be downloaded at selection
- it will create a MULTI BOOT
- it can install on USB ( stick and drive )

For advanced users:
Headless installation (install Berryboot without display attached, using VNC)
tia, that did not work for me, error connection refused.
more help for berryboot


sooooo, for the test i now wait until i have my HDMI port monitor/TV
TATA, here it is, a 23" THOSHIBA TV 23PB200T
with VGA and HDMI, fullHD resolution ... ( for 153euro )
RPI_TV
add you see
- the wireless keyboard mouse logitech
- the belkin powered USB hub
- the powerline ethernet adapter for internet connection ( up to 300m ) in the whole house on the 240VAC house installation.

but as i not play long time RPI i forget how to use:
first test with SD card from my first setup,
start with: login pi pw raspberry, startx
stop with: logout and sudo halt at terminal.

somehow it not uses the full screen ( like the with HDMI connected laptop )
and the resolution is on 1824*984 and only other option is AUTO???


but the job is to play with the new installations:
- BERRY BOOT
** download and install PUPPY_alpha_4
( get Squeezed Arm Puppy V 5.105 )
in quick setup change to audio settings: output to HDMI
ALSA sound, test sound not work on (HDMI) TV, but WUFF WUFF ok on stereo analog out.
chromium browser works, but no thai character shown.
after reboot ethernet connection don't work

-NOOBS
copy the content of the 1.1GB zip file to the cleaned SD card, boot RPI
and get
ERROR SD card has now been formatted ready for NOOBS installation, please recopy the NOOBS files onto the card and reboot

very strange, was it only a bad day??
tried format, copy... again, no use, no idea whats my local problem?

now if you read usable SD cards you will see that there are many card what are not working with ALL systems.

i play with the Win32DiskImager.exe and burn and backup the card.
and because its slow i can not recommend to buy big cards at first
( 4GB would have saved me a lot of time at backup )
A backup image file is always same size as the card (8GB) but as ZIP only 1GB,
and i would not know how to bring it on a 4GB card??


and also i not see the class (4) to class (10) difference in system speed?
here i used a
Apacer 8GB class (10) microSDHC with adapter (AP8GMCSH10-R) from BIG-C 249THB,
what is listed as GOOD in 7/2012.
now the
Kingston micro SD HC 8GB class(4) (SDC4/8GB) what is listed as GOOD and BAD.
but get same error msg at boot??

Hmmmmm!
after some browsing try to format the card with the SDFormatter (4.0)
and copy on the NOOBS files again.
hurrah!
and test with it the PIDORA installation, the biggest pack there, installation with the pack on the
SD ( ok the class 4 one ) should have been fast, but not. Actually i expected there
a big advantage for NOOBS vs. BERRYBOOT where OS-system packs download is needed.

You needed user and password ( 2 times) config (i used "pi, raspberry, raspberry" )
midori browser can no thai char and can not resolve host name ( besides google..)
system has no application to offer for jpg,mp3,avi .
over all disappointing.

reinstall: NOOBS + debian
and try a media player in here: VLC (2.0.3.5)
start LXTerminal admin
sudo apt-get update
sudo apt-get install vlc
pls find system other AND system Sound and Video : VLC media player
GRRR i still don't know how to make link / icon on desktop, poor linux knowhow.
1. music: play mp3 file
2. picture, jpg files select ALL FILE , see picture in dir. open, play it for 10 sec.
3. video avi and mpg: vlc not play, cpu 100%, can not quit vlc, must reboot by power off

but here a other short test, the debian midori browser ( compared to the other linux..browsers
works here without the can not resolve host name error ) on a heavy job:
GOOGLE DRIVE SPREADSHEET
cpu on 100%, very slow BUT IT WORKS.
so, WHO NEEDS A 500$ computer with a 800$ MS OFFICE when a 35$ computer, TV and internet access can do same? 555 ( 555 in thai language is pronounced hahaha, so used as LOL )
also google+ ( what calls the old google talk now HANGOUT )
chat works nice, and i want to get rid of skype / microsoft anyhow.


MEDIA PLAYER
- want also test Raspberry Pi media center distribution, created by Sam Nazarko
install from raspbmc windows installer
the test of the online installation show startproblem, it not find online update link.

and i start digging about how to remove that partition thing and get my 8GB FAT32 again.
can not do by windows?
already think about to buy a new SD card, but i see that in the installer
of the raspbmc
is the [Restore device for formatting] button.
and then windows (computer / disk management) can format the 8GB card again
! wait ! better use SDFormatter.
under the Format OPTION: Format Size Adjustment ON
you get back your full SD card.

play also with the RASPLEX , a mediaplayer only,
again the installer made many problems, only the stand alone image i could use.
mouse AND TV remote not work, only keyboard arrow key and enter work.
but as it also found not even the USB stick with a movie, i could test, PLAY nothing.

ok, back, clean SD, and again use
BERRYBOOT,
at first download the default RPI : Debian Wheezy Raspbian

second: download OPEN ELEC 3.0.3 ( XMBC V12.02 FRODO ) mediaplayer.
now that is much better! from usb stick can play mp3 music, jpg picture and avi video,
for mpg video hear the sound, no video ( need to buy codec? )
the screen adjust is tricky but possible.
and with the weather a internet application is working.
BUT AGAIN I NOT FIND A BROWSER??
what so strange on my concept: to make a old style TV
to a modern smart TV ( with usb player and internet access ).

now, in the combination with the boot menu of berry boot
that short comings of a media player are more acceptable.
but actually i would like a multimedia linux with that player as application more.
( add a android style skin for it would be nice )
keep searching... possibly i can also find a stand alone web browser OS for RPI?

some good info

and about required license keys
with cat /proc/cpuinfo find that required serial number.
as i have ordered mpeg-2 and vc-1 codec, now need to learn how to install it.

more info , also here

got the mail after one day.

even i tested that i can reach both systems by putty SSH,
( debian: pi raspberry and openelec xbmc: root openelec )
first i try just to edit the config.txt file in the fat partition of berryboot.
it worked, i tested a spec. file on openelec xbmc.

But with the NOOBS it is different,
there you can reach only the RECOVERY partition,
and making a new config.txt there is of no use.
you have to run your OS ( here i just have the debian installed ) and go /boot
and edit the existing config.txt by adding the codec lines at the end.
its a long file with many options, but none is enabled.

now it works on both SD cards.
but i had the VLC player installed and that still makes problems ( not play mpg and can not be stooped) !!


more about the players:
on debian there is a good commandline player installed,
omxplayer
now, instead of using a command / terminal window , cd to the movie files and call
omxplayer mymovie.mpg
you can from desktop start the filemanager, rightclick on a movie ( context menu ),
open with ... commandline omxplayer f% click for all.

but the HMI for that player is keyboard, see keylist well, and looks like even that does not work.
but there is a other trick where it works with the keys:
get a different terminal if you like:
sudo apt-get install xterm
in filemanager right click one of your movie files and
select open with, then click custom command line tool, type in:

xterm -fullscreen -fg black -bg black -e omxplayer -o hdmi -r %f

and check the box saying always do this,
so you only have to double click on any file of that type in the future and it will do the same thing.
repeat for other types too.


as Lehtosaari.fi ( see link above) recommends
i try some tuning in config.txt
gpu_mem_512=256
arm_freq=850
core_freq=400
sdram_freq=400
gpu_freq=300


and test the results.

vcgencmd measure_temp
vcgencmd measure_volts

for src in arm core h264 isp v3d uart pwm emmc pixel vec hdmi dpi ; do echo -e "$src:\t$(vcgencmd measure_clock $src)" ; done

default:

tuning:

it has some side effects, like the xbmc HDMI screen adjust changes with that??

NOTE: there is warning that core freq. tuning of RPI makes problems to class (6), (10) SD cards!



lets do a fresh start:

clean up my 16GB SanDisk microSDHC card ( SDSDQUA-O16G-U46A)
with SDFormatter ( option size adjust ON )

download new BERRYBOOT version
unzip to SD card

copy speed tuning and video codec to config.txt

boot RPI and download
-- debian
-- openelec xmbc
-- puppy
...

as there is still a issue with XBMC ( i can not download skins, add in, connect my network )
i first move all hardware to the router ( not use the powerline network ) but not help.
rename the XBMC entry in berryboot menu and
install again XBMC as new ( so not use clone!) ( and set as default )

screen adjust
-- system, settings, system, video output, video calibration
( move top left, bottom right by mouse inwards to adjust fullscreen )

test putty ( connection refused )
-- system, openelec, services, ENABLE start sshserver at boot
( OK, reboot )
putty login ( user: root pw: openelec ) OK

test WEATHER wait 2min( show weather underground) and wait 12 min!
( still say fetching forecast info )

cpu info: 95 .. 100%

-- system, settings, appearance, skin, click SKIN, click GET MORE
only see .. while other see there a list of downloadable skins????

so, its not the network, not a ( by other tests already fucked up ) installation

login putty ssh again
( ls -la /storage/.config/ )
cd /storage/.config/
nano samba.conf.sample

change:
workgroup = MYWORKGROUP

[ctrl][O] write to samba.conf !!
and also save file to usb stick:
cp samba.conf /media/KINGSTON/

reboot and check to connect from win 7
-- putty OK
-- network NO
-- browser //192.168.1.9 NO
-- cmd ping 192.168.1.9 OK

reboot to debian and check internet access with explorer OK
i think i am just not lucky with mediaplayer...

here now i got some help from a friend
-- i do a berryboot backup of that XBMC system and send via GOOGLE DRIVE
( 110MB only, not full SD card )
and he not install, just copy onto his SD card.
and there network and samba OK,
but skin add in ... also not???
then i try again ( after 2 win 7 computer not show XMBC )
to boot linux stick MINT CINNAMON 15 ( WLAN worked out of the box )
and in file manager see the RPI XBMC. ( also all USB media accessible )
So, RPI, powerline network, hardware all ok.

XBMC: change to fix IP, enable UPnP, check workgroup from system settings

my windows network setups / even with firewall OFF / are too strict??
after delete homegroup ( leave homegroup ) , firewall off, advanced sharing settings..
i still not see the computer ( like from LINUX), but windows media player show the video files from XBMC.

but still there is the issue with XBMC not see skins, add ins for download,
while building library ( with movie info from internet ) worked.
and that error we moved with the berryboot backup to a other location??
so its in the XBMC setup while installation at my location??


but anyhow using that berryboot backup feature
( to image files on the USB stick ) is very good.
You can copy the SD or any single installed OS.
as test i make a new SD card ( SDFormatter, berryboot UNZIP )
boot in RPI , setup / format SD.. cancel at install OS from updated list
for that i had the drives disconnected, now connect again.
now press / hold mouse at ADD OS and you see the option to find the backups you did to USB stick.
that is how you can backup / recover a whole OS, even to a new berryboot SD.

the recover button in the menu has nothing to do with the backup..
with that you can reset / init a installed OS to its defaults, means delete all your usersettings!!


now, in case the problems come from the berryboot,
i want to try a new setup without.
( and test also the newer versions of open elec xbmc )

from this tool i hope to adjust / make better use of the SD card.
but i was not able to make 2 fat32 partitions on the card.
( or better windows can not deal with 2 partitions on a removable media )

so, other way,
from open elec images i get the OpenELEC-RPi.arm-3.0.6.img
and burn with win32diskimager to 8GB SD card.
then i see
F: 124MB, 28MB free, and a 768MB prim partition and about 6.6GB unused
( and that does not change with first run on RPI )
and copy my tuning to config.txt,
and use that tool to make 6.6GB ext4 partition on the unallocated space.



now, with this setup i think i am more lucky.
play with network, location and other settings,
++ i see that new drive ( partition i just made on the SD card )
++ i get the list of skins for download ( ?? so it was not my network )
++ weather info show also ( with advanced location settings )
++ putty ssh login ok,
. . . . under media see usb stick, usb HD and SD partition3
. . . . my total commander network sftp see: RPI with login root / openelec


test an other tool to check SD cards:
read write check
now thats in german and english, uses only the free space,

so a real test would be only possible after format SD back to 8GB fat32. ( using my apacer 8GB card (AP8GMCSH10-R))
OPTION FORMAT SIZE ADJUSTMENT ON



NO ERROR!
now delete the test files or format again or just write a new image on SD card.


Add try to install the
Berry Web Server
after install ( 5MB, very fast ) user is pi,
you must give password: raspberry
then i see a msg about key commands CTRL ALT DEL and CTRL ALT F2
seems like must use (left)CTRL and (left)ALT on keyboard!!
and check from a other computer web browser IP works and server show
the php info.
Putty SSH login with IP, pi,raspberry ok ( see subdir www with a index.php in it. )
run from putty subdir PSFTP.EXE
use commands:
ls or dir and cd for remote directory
cd www
lpwd and lcd for local directory
lcd e:\...\...
and
put newfiletoremote for upload
get filefromremote for download
so you can make and upload your webpage!

filezilla is supposed also for filetransfer FTP SSH.
but somewhere seems to be encryption software... issues involved,
so i still need to work on that upload feature for my TOTAL COMMANDER,
my usual WIN7 file manager and FTP tool.

sorry, i have no idea to access the linux, to install a fix IP...
with that user login there is no root access, no nano editor... i am lost.
also real ftp would be nice to have.



berryboot
so i could not solve the headless question,
means access the beryboot bootmenu via VNC, or SSH
the last test i connect VNC to 192.168.1.101:0 at the same second i powerup the raspberry,
and i got a connection! but nothing on the screen

but i found something you could call a workaround:
one thing working headless is that i would like to change the default OS berryboot is booting:

sudo mount /dev/mmcblk0p2 /mnt
ls /mnt/images
ls /mnt/data/
cat /mnt/data/default
shows what is the setting for booting
sudo su
echo "[filename_of_operating_system].img[memsplit amount]" > /mnt/data/runonce
will set temporary default
echo "[filename_of_operating_system].img[memsplit amount]" > /mnt/data/default
will set default
reboot



using the plus points of berryboot
just try get my test work done more efficiently.

i install latest wheezy make all 3 updates, and my usual installations
MC, VNC ( autostart and fix IP )
incl SSH, camera enable,
and that pack i rename to ... fullupdate
and backup to USB stick.

while the backup and the filetransfer USB stick to PC as backup takes some time,
for starting a new test project i just do
a restore of that pack ( usb stick to SD ) in 3min!
( berryboot linux copy that image with dd? )
make it default and can work headless again, ready to go!


now there is also the new MINI NOOBS
a 21MB NOOBS_lite_v1_3.zip
and you need to download OS like with berryboot you can expect 30min
there some options more to explore.


update: 15.12.2013
problem with berryboot and latest rpi-update / upgrade ( with boothack)

well new setup last night:
berryboot, update, upgarde, rpi-update,
test camera and run into error, no idea what i do wrong
additionally the PUTTY SSH is broken too.


i rebooted in my old RPICAM2 ( python motion ++ ) version
and camera and webserver still worked ( means i did not damage the camera )
but i can not run his install script here, because i have a different webserver (lighttpd) running.

doing a new setup for verify, and after rpi-update same happen again.
( but there was a image.jpg file! ) 4um
a later test just to copy the missing config.txt to /boot/ did not work

now what i do? other SD card, mini NOOBS, new setup
download install raspbian ( 30min / similar to berryboot )
desktop, SSH, camera enable, reboot
camera ok, update, camera ok, upgrade, same camera error! reboot: camera NO error
( there is a difference in the upgrade with berryboot and noobs,
in berryboot the boothack is hold back! with upgrade, but not with rpi-update!
changed: ARM/GPU split is now defined in /boot/config.txt using the gpu_mem option! )
rpi-update, reboot, camera OK!



my dear RPI,
pls. i hope you understand that from time to time i need
to take out your LG charger power supply,
because my mobile need some power too.

so what you do? you run without power supply?
well, now that is not what i expected from a powered USB HUB
that power supply for the hub run the HD ( via 2 USB (out) ports )
and seems to power back to the RPI via the (in) USB port too.
there might even be polyfuses 0.5A in that wires,
should be minimum one on the RPI side.
I read its not recommended to run RPI by USB because
it needs 5V, 0.7A? and i tuned speed up too??
while the 4 port usb hub power supply should easy handle 2A ( 4*0.5A).
there might be minimum the risk that RPI not run reliable,
possible damage? but what can i check?

anyhow I LOVE YOU more and more





update: 8.8.2014
i send a friend a copy SD card for his RPI, hoping he save that 4 hours setup
but post EMS was unexpected slow ( 3 days )
first login ok, and then the card went bad???
that same image as ZIP i send him again via SKYPE, need also more than a day.

with a new SD card 8GB class 10 sandisk ( uSD with adapter ) for 290THB
i want setup a new system,
download NOOBS v1-3-9 ZIP 1.4GB in 2 hours
broken so do from the ethernet router connected desktop again
format SD card with SDFormatter
and unzip NOOBS to SD card ( and there still 1.4GB ) about one more hour.

here i write about my first usage of the console cable
this i want now test if i can use it on the uninstalled noobs for a headless installation??
USB console cable connect to PC ( on COM18 ) and black 3, white 4, green 5, RED NOT CONNECTED as RPI is powered

after ENTER see a login

here find that user is root and password is raspberry

now see a # AND DON'T KNOW WHAT TO DO.
also not find info related to this OS.
so... i must go down to the TV to finish the installation of NOOBS.


- install the debian raspbian
- set US keyboard, asia bangkok, SSH, desktop
reboot
- start wifi config ( not work but after reboot ok )
- start PUTTY laptop
( AND my wife can look TV again )



when i say TV i mean TV or monitor with HDMI
just to get that clear,
- newest DEBIAN RASPBIAN image ( SSH enabled already now!) install need
- - computer, cardreader, to make SD card
- - ethernet cable router - RPI
- NOOBS full
- - computer, cardreader, to make SD card
- - TV, RPI with keyboard and mouse
- - wifi adapter for RPI OR ethernet near the TV
- NOOBS light
- - computer, cardreader, to make SD card
- - TV, RPI with keyboard and mouse
- - ethernet near the TV


update 15.8.2014
now also want to recheck on a updated BERRY BOOT

but first had some issues.
a good 8GB card in the cardreader i used long time, can not be opened by windows.
it says need format ( but when try can not ) ( recheck, it still boots the RPI ! )
also SDFormatter tool say it not support that card format
lucky my laptop also have a SD cardreader slot, there the card is ok and can be format...
check with external cardreader still say can not read. so bad luck, must be the device!


download from berryboot-20140814.zip 30MB in a few seconds
and unzip to SD card.
again i want try a headless installation and check if there are updates:
here a tip about the VNC client adjustment required:
PC VNC to FULL COLOR ( that i change and it might be that, why it never worked b4)
and the file cmdline.txt on the SD card change to
smsc95xx.turbo_mode=N elevator=deadline quiet bootmenutimeout=10 vncinstall ipv4=192.168.1.101/255.255.255.0/192.168.1.1
one line, separator is "space",
but i think i did exactly that several times and got connection error??
now this headless is working and the debian download 850Mb is running 1 hour / UPS problems, must start download ( selects other mirror) again / second time download stopped / must select OS again ...
now way???

ok lets take a look at that new
WEBBROWSER SNOWSHOE OS
also try 2 times but then download 45MB ok
(

for headless reboot start PC VNC first ( or a second after ) powerup RPI and can see the berryboot bootmenu again, to go to EDIT mode.




( a connection to that OS ( after berryboot menu) does not work ? because there is no VNC server installed ? on that system. But i see that it took the IP from berryboot setting.)
but i hoped i could download debian where with SSH enabled a headless setup can be performed.
ok i will try later again to download it ...
try again, still can not download, but i have a other idea,
there is still the USB stick in the HUB with old BERRYBOOT backups.
i forget how to restore so i have to read my old BLOG,
mouse down on [ADD OS] and wait for selection menu for restore from backup file on USB stick...
ok, i remembered that that is very fast. but still after reboot and wait can not login with putty.
but this time the trick with the console cable worked and i could call
sudo raspi-config to enable SSH ( on that old raspbian ) ( there is a error when i try to enable camera? )
more info to the console cable and here.
so i also run a update / upgrade, no idea if i will end up with a updated 2013 or really get the same we now get with the 2014 system?
anyhow it takes a while, lots of new versions after a year??
ok, it looks more like the old system.
login from putty and VNC works now, so i shutdown and pull the console cable.




SO:
with a headless BERRYBOOT installation AND the MULTY OS selection AND the backup/restore of OS
( what even can be used for distribution / collaboration )
BERRYBOOT COULD BE THE WINNER ( bad luck that today the OS download not worked )( 17.8.2014 try download again but stop after 1 hour again, with still same number of bytes to read??? UFF 5th attempt worked)

but to play with many OS you first must be a expert? later the RPI must do one job only,
so i would say the WINNER is
the SSH enabled RASPIAN DEBIAN WHEEZY ( 2014...) standalone ZIP burned to a SDcard


follow up