Page 1 of 1

2 OS for beginners

Posted: Sat Nov 15, 2014 12:20 pm
by so_la_la
Hi,
i have purchased a rpi b+ along with the hifiberry addon.
I am completely new to rpi and to linux.
My idea now is to set up Pi Musicbox possibly with another OS to run on my rpi.
Basically the pi musicbox is supposed to play music stored on my NAS to my amplifier.
However setting up pi musicbox did not work out at all because Pi Musicbox cannot find any files anywhere and gets stuck.
Now I am going back to reinstall using noobs or berryboot especially since I have been thinking about a second OS for video playback through the HDMI output.
So I need some kind of dual install for, say, Rasbian + Pi Musicbox. How can I achieve this using NOOBS?
Any help is greatly appreciated.

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 1:22 pm
by kusti8
You could somehow put the compressed OS into the OS file of NOOBS, search around for how to do that. You could also use BerryBoot and convert Pi MusicBox to squashfs.

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 2:33 pm
by B.Goode
so_la_la wrote:I need some kind of dual install for, say, Rasbian + Pi Musicbox. How can I achieve this using NOOBS?
https://github.com/raspberrypi/noobs/bl ... os-version

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 6:29 pm
by so_la_la
Thank you very much.
i have tried and succeeded in installing two OS on the SD card using berryboot.
But how do i actually power up the rpi? All it gives me is "pi@raspberrypi". I guess I am supposed to write sth. But what?

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 6:32 pm
by ghans
Try

Code: Select all

startx
You can set this permanently via

Code: Select all

sudo raspi-config
ghans

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 6:38 pm
by rpdom
From: http://www.raspberrypi.org/help/quick-start-guide/

"Logging into your Raspberry Pi

...
After you have successfully logged in, you will see the command line prompt pi@raspberrypi~$
To load the graphical user interface, type startx and press Enter on your keyboard."

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 7:32 pm
by so_la_la
ok, thanks guys...

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 9:57 pm
by so_la_la
Alright, I managed to install two Os on the PI one of which (Openelec) is working, the other one (Raspbian?) I don't know.
I desperately try to create some squashfs.-file from the Musicbox img. i managed to extract. However I need a linux machine for it as is described http://www.howtogeek.com/141325/how-to- ... berryboot/ and as kusti8 has pointed out.
To get this linux machine I
a. tried and installed a virtual machine plus ubuntu 14.04 but I cant execute the commands in the console because it requires a password which I have NOT set during the installation process (and it is NOT Adminuser or anything else I found on the web).
b. tried and used the rpi itself but it won't recognise the command sudo, whatever this is, as in "sudo apt-get install squashfs-tools".
This is quite a painful process...

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 10:33 pm
by so_la_la
yeah the other os is raspbian. In it i can actually install the squashfs-tools but I could not execute the kpartx command which is needed for altering the .img-file.
When installing the squashfs-tools in raspbian it complained about some missing localisation stuff and before, I had been unable to set the locales as required as I didn't know how to tick boxes in the blue screen.
Another question: how do I actually switch off the rpi? I've had Raspbian power down now but the red light on the rpi is still on. I do not know how to restart the rpi other than plugging out and in again the power supply something which I have done today at least 20 times.

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 10:36 pm
by kusti8
To turn off the raspberry pi, type in:

Code: Select all

sudo halt
in LXTerminal, or it is set to boot to desktop there should be a small red button at the bottom right corner.
As for the musicbox.img that is squashfs, I'm trying to make one.

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 10:37 pm
by so_la_la
oh this would be most welcome!

Re: 2 OS for beginners

Posted: Sat Nov 15, 2014 10:38 pm
by mahjongg
sudo is short for "superuser do" and is used as a command line prefix.
it is used wherever a command must be executed that needs "super user" rights to run. A super user is the systems administrator.
Its an elementary command for debian based versions of linux (raspbian is one of them), and its simply impossible it isn't recognized in a normally installed raspbian.
Its also Linux 101.

Re: 2 OS for beginners

Posted: Sun Nov 16, 2014 12:08 am
by so_la_la
mahjongg wrote: its simply impossible it isn't recognized in a normally installed raspbian.
I thought the problem was rpi didn't recognise the kpartx command.

Re: 2 OS for beginners

Posted: Sun Nov 16, 2014 1:09 am
by kusti8

Re: 2 OS for beginners

Posted: Sun Nov 16, 2014 2:57 am
by so_la_la
kusti8 wrote:Made the file
Super, thank you so much!

I managed to install it and berryboot now gives me a start menu with three osses i can select from.
However, MusicBox does not work properly i.e.:
the start up routine issues a warning: "mount point /squashfs does not exist. Skipping mount…"
the web interface on me notebook does not seem to recognise musicbox at all, it warns of not being able to find the settings.ini file and would not connect to any hard drives.Image
All it says is "trying to reach musicbox. please wait"
Inspecting the SD-card revealed that there are hardly 60mb of 16gb recognised and no raspbian, openelec or musicbox file can be detected.
Oh and how do I shutdown after I have logged out of musicbox? No matter what I type after "musicbox login" it will always just ask for a password.
Anyway all these questions do not directly pertain to the original subject...

Re: 2 OS for beginners

Posted: Sun Nov 16, 2014 6:09 am
by fruitoftheloom
If you are using a version of Windows to read the SD Card then it will only see the FAT32 Boot Partition, Windows does not natively support Linux EXT partitions.

http://sourceforge.net/projects/ext2fsd

Re: 2 OS for beginners

Posted: Sun Nov 16, 2014 1:16 pm
by mahjongg
so_la_la wrote:
mahjongg wrote: its simply impossible it isn't recognized in a normally installed raspbian.
I thought the problem was rpi didn't recognise the kpartx command.
you said
tried and used the rpi itself but it won't recognise the command sudo, whatever this is, as in "sudo apt-get install squashfs-tools".
so i replied that is was impossible that sudo wouldn't work (as in command not recognized) in a normal (not corrupted) raspbian.

for raspbian a user with password is installed per default:
user = pi
password = raspberry

its in the quick start guide.

Re: 2 OS for beginners

Posted: Sun Nov 16, 2014 1:54 pm
by so_la_la
Ok, you were right mahjongg, my fault!
I managed to have a look into the contents of the extfs-formatted sd-card but not through ext4tc but through http://www.paragon-software.com/de/home ... index.html.
Anyway, I could not locate any file called settings.ini where musicbox is supposed to save its settings. I have searched through all folders to my best knowledge.
Image

Re: 2 OS for beginners

Posted: Sun Nov 16, 2014 2:06 pm
by kusti8
I looked around in the github page and looks like it is in the boot partition of the file (I could be wrong). You could possibly copy the settings.ini from here and then manually put it into the image and see if that works.
https://github.com/woutervanwijk/Pi-Mus ... ttings.ini

Re: 2 OS for beginners

Posted: Mon Nov 17, 2014 9:07 pm
by so_la_la
Thank you but i couldn't sort out how to boot Musicbox with Berryboot successfully. However, I could do so using another sdcard. BUT it turned out that obviously Musicbox is having troubles supporting the Hifiberry DAC I have, so, for the time being, I am moving away from Musicbox in favour of RuneAudio, which claims to support the Hifiberry out of the box.
Another thing I am interested in: can I update my current installation of OpenELEC (4.03 or so, it came with berryboot) by this particular http://www.hifiberry.com/files/images/o ... igured.zip version?
I am aware of how to connect OpenELEC to my Windows PC Explorer but I cannot extract the four files mentioned here http://www.raspberrypi.org/forums/viewt ... 66#p546566 from the .img-file.
All in all I am not really impressed with the playback abilities of the OSses and even less so with the Apps. For Windows Phone, Chimney seems to be sth decent, but I haven't gotten round to trying it out just yet.

Re: 2 OS for beginners

Posted: Wed Apr 29, 2015 12:41 pm
by Mikelele
Hello Everybody,

I have purchased a my first ever raspberry pi!!! I bought the RPi2 and I am also trying to get installed in my raspberry pi two OS, Openelec (Mediacentre) and Pi Musicbox (basically for my Spotify account).

I have the berryboot up and running with openelec, but I am struggling to get Pi Musicbox, I have created the Squashfs image and I am able to install it on the Berryboot.

When I launch Pi Musicbox, all looks good but the settings.ini If I place this file in the image, Openelec and Pi Musicbox stop working...

Does anyone have Pi Musicbox working with Berryboot?

Thank you very much in advance for your help,
Mikelele

Re: 2 OS for beginners

Posted: Thu Apr 30, 2015 10:28 pm
by kusti8
Try putting it in NOOBS instead. I couldn't get it to work. The settings.ini file was not found and it probably requires a lot of work which lazy me just doesn't want to do. There are instructions on how to do this on the NOOBS github page in the advanced section.