Needs Help Installing Concerto on HD

219 views
Skip to first unread message

Eman

unread,
Jun 16, 2010, 4:58:25 PM6/16/10
to Concerto Digital Signage
Hi guys, newbie here. I need help installing Concerto on a client side
on a clean HD. I have a Shuttle X27D with 2.5" SATA HD. The
instruction on the website said that I need to connect it into a
windows-based machine and copy the CD root directory into the HD.

Is there a way to install Concerto into a clean HD without connecting
it into a windows-based computer? If there is, any instructions would
be GREATLY appreciated.

I have the iso for the live cd and now working on creating the
"config.pl".

Thanks in advance!

Andrew Armenia

unread,
Jun 16, 2010, 9:37:37 PM6/16/10
to concerto-dig...@googlegroups.com
It should be fairly straightforward if you have a copy of the beta Windows install script (available on the website), a PC running Linux (or standard Linux live CD such as Ubuntu), and the ability to install a couple of packages on that box. In the following, substitute $DRIVE and $PARTITION for the appropriate devices...

I like to use the command line, and I'll assume some degree of familiarity here. There are graphical tools which will also do all of this (gparted, and any graphical file manager), except maybe the last step of installing syslinux.

Basically, we're going to partition the disk and format it as FAT32. Then we're going to copy the Concerto system files to it, then finally install syslinux, a bootloader which will make the drive bootable in your client machine. In 8 hopefully-simple steps:

(If your drive is already formatted with a FAT32 partition, you probably only need to do 6-8. In fact, that's all the Windows batch file does...)

1. Connect the SATA drive to the Linux box somehow. Either boot your live CD in the Shuttle PC itself, use a USB-SATA adapter, temporarily dangle it out of the case of another machine, or whatever else.

2. Install mkdosfs and syslinux on your Linux box. If you're using an Ubuntu live CD, you should be able to "sudo apt-get install dosfstools syslinux", if they aren't already there.

3. Get to a terminal prompt on Linux. Gain root privileges with "su", "sudo -s", "sudo bash", or whatever your distribution will take. If necessary, use "dmesg", "cat /proc/partitions" or whatever to figure out the identity of your drive (/dev/sde or something similar) Remember that. Where you see $DRIVE in these instructions, type that.

4. Type "cfdisk $DRIVE" to open cfdisk and partition the drive. Make sure you've really got the right drive, because you'll want to delete any partitions that are already there. Then create one partition, filling the whole thing, and set its type to FAT32 LBA. Save the changes and exit.

5. You should now have a partition, like /dev/sde1, on there.  We'll call that $PARTITION. The next step is to format the partition as FAT32. Use mkdosfs for that: type "mkdosfs -F32 $PARTITION".

6. Mount it by typing 2 commands:

mkdir /tmp/concerto
mount $PARTITION /tmp/concerto


7. Unzip the Windows installer package from the website. There should be a directory called "files" in there with a bunch of ".plugin" and ".squashfs" files in there. Copy those files to the new partition you just created:

cd wherever_you_unzipped_it_to
cp -av files/* /tmp/concerto/

8. Now unmount it and install syslinux, and you're done:

umount /tmp/concerto
rmdir /tmp/concerto
syslinux $PARTITION

If you have problems with syslinux failing to boot properly, you may need to install a new master boot record on the drive. A package called ms-sys, available at http://ms-sys.sourceforge.net/, should be able to do that.

-Andrew

p.s. If anyone here gets bored, turning that set of instructions into a shell script might be an amusing, useful, small side project. Of course, I'll probably be the bored one tomorrow evening... :-)


--
You received this message because you are subscribed to the Google Groups "Concerto Digital Signage" group.
To post to this group, send email to concerto-dig...@googlegroups.com.
To unsubscribe from this group, send email to concerto-digital-s...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/concerto-digital-signage?hl=en.


emerson tabucol

unread,
Jun 17, 2010, 5:56:41 PM6/17/10
to concerto-dig...@googlegroups.com
Thanks for the quick reply. I will try it this weekend. But couple questions though. I burnt a Live CD just to see how concerto would look like. But when I tried booting from it, I got an error messages saying something about "unable to mount CF" and something like "LiveCD is dead" and then goes to bash. I tried it on multiple laptops and desktops and the shuttle PC that i'm working on but I get the same result. Did I messed anything?

More questions. 
1. Is the url in the config.pl the server address? 

2. How does the server knows where to send the right content if you have multiple clients? Is it by IP address and/or MAC address?

(The company that I work for is planning on deploying multiple clients on multiple locations. I was ask to take care of the client side, but for now were are trying to make one client to work for testing.)

THANK YOU for your help! and Sorry for having lots of questions. For sure there will be more in the coming days... You guys are AWESOME!!!

Andrew Armenia

unread,
Jun 17, 2010, 8:18:25 PM6/17/10
to concerto-dig...@googlegroups.com
Hmmm... It's weird that you'd be getting "system dead" messages on multiple machines with a LiveCD. If all the machines you tried have SCSI or SATA hard drives, the live CD may fail to boot properly due to an initrd bug. This has also come up in the past, so I've just made an untested attempt at fixing that bug, which you can find here: http://www.asquaredlabs.com/concerto-initrd-cdfix-20100617. Replace the "initrd" in your live CD with this file and it should fix the issues. If it crashes with some Perl syntax error, let me know what it is so I can fix it. (Unfortunately, I'm not near a machine I can test the change on right now.)

Also, for anyone else having boot issues, that initrd now takes two new variables: setting "main_boot_device" on the kernel command line will force the initrd to mount a specific device, instead of scanning. Also, setting "boot_dev_filesystem" will allow the use of filesystems other than vfat (or iso9660 if cdboot=1). So you can now format your boot medium with a filesystem such as ext2 (maybe even NTFS for the adventurous?) Note that kernel recompilation may be necessary if you want to use some really weird filesystem.

Anyway, to answer your other questions, the URL in config.pl should point to the base URL of your concerto install. For instance, at RPI, it's set to http://concerto.rpi.edu. The screens each determine the MAC address of their Ethernet cards at boot, and pass it along to the server. The server uses that to figure out which content to serve. This allows things to behave consistently in the presence of DHCP.

Hope this helps,

-Andrew

Eman

unread,
Jun 20, 2010, 7:51:10 AM6/20/10
to Concerto Digital Signage
OK... I did the instructions as you said it, and it was so EASY I'm
not sure if I did it correctly. I did it at home and I'm not sure if
the server is done/up yet so I'm just wondering what would you see if
the client is not connected to the server? What I have is a Blue
screen with message saying:

"The MAC address xx:xx:xx:xx:xx:xx cannot be found in the database.
Please verify that this screen has been added to the system."

Is this right?

Thanks much!!

On Jun 17, 2:18 pm, Andrew Armenia <and...@asquaredlabs.com> wrote:
> Hmmm... It's weird that you'd be getting "system dead" messages on multiple
> machines with a LiveCD. If all the machines you tried have SCSI or SATA hard
> drives, the live CD may fail to boot properly due to an initrd bug. This has
> also come up in the past, so I've just made an untested attempt at fixing
> that bug, which you can find here:http://www.asquaredlabs.com/concerto-initrd-cdfix-20100617. Replace the
> "initrd" in your live CD with this file and it should fix the issues. If it
> crashes with some Perl syntax error, let me know what it is so I can fix it.
> (Unfortunately, I'm not near a machine I can test the change on right now.)
>
> Also, for anyone else having boot issues, that initrd now takes two new
> variables: setting "main_boot_device" on the kernel command line will force
> the initrd to mount a specific device, instead of scanning. Also, setting
> "boot_dev_filesystem" will allow the use of filesystems other than vfat (or
> iso9660 if cdboot=1). So you can now format your boot medium with a
> filesystem such as ext2 (maybe even NTFS for the adventurous?) Note that
> kernel recompilation may be necessary if you want to use some really weird
> filesystem.
>
> Anyway, to answer your other questions, the URL in config.pl should point to
> the base URL of your concerto install. For instance, at RPI, it's set tohttp://concerto.rpi.edu. The screens each determine the MAC address of their
> >> available athttp://ms-sys.sourceforge.net/, should be able to do that.
>
> >> -Andrew
>
> >> p.s. If anyone here gets bored, turning that set of instructions into a
> >> shell script might be an amusing, useful, small side project. Of course,
> >> I'll probably be the bored one tomorrow evening... :-)
>
> >> On Wed, Jun 16, 2010 at 4:58 PM, Eman <etabu...@gmail.com> wrote:
>
> >>> Hi guys, newbie here. I need help installing Concerto on a client side
> >>> on a clean HD. I have a Shuttle X27D with 2.5" SATA HD. The
> >>> instruction on the website said that I need to connect it into a
> >>> windows-based machine and copy the CD root directory into the HD.
>
> >>> Is there a way to install Concerto into a clean HD without connecting
> >>> it into a windows-based computer? If there is, any instructions would
> >>> be GREATLY appreciated.
>
> >>> I have the iso for the live cd and now working on creating the
> >>> "config.pl".
>
> >>> Thanks in advance!
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "Concerto Digital Signage" group.
> >>> To post to this group, send email to
> >>> concerto-dig...@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> concerto-digital-s...@googlegroups.com<concerto-digital-sign age%2Bunsu...@googlegroups.com>
> >>> .
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/concerto-digital-signage?hl=en.
>
> >>  --
> >> You received this message because you are subscribed to the Google Groups
> >> "Concerto Digital Signage" group.
> >> To post to this group, send email to
> >> concerto-dig...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> concerto-digital-s...@googlegroups.com<concerto-digital-sign age%2Bunsu...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/concerto-digital-signage?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Concerto Digital Signage" group.
> > To post to this group, send email to
> > concerto-dig...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > concerto-digital-s...@googlegroups.com<concerto-digital-sign age%2Bunsu...@googlegroups.com>
> > .

Andrew Armenia

unread,
Jun 20, 2010, 12:58:22 PM6/20/10
to concerto-dig...@googlegroups.com
That indicates that the client is connecting to a server, but that the screen hasn't been configured on the server side yet. If you haven't put your config.pl file on the drive, it will be connecting to concerto.rpi.edu by way of a built-in default. Since your screen definitely isn't configured in our system, you'd get that message. So make sure you've got the config.pl in place and that your server is up and running, then log in server side and add the screen. If you still have problems, please let us know.

-Andrew


To unsubscribe from this group, send email to concerto-digital-s...@googlegroups.com.

Eman

unread,
Jun 28, 2010, 3:24:13 PM6/28/10
to Concerto Digital Signage
Hey Andrew here I am and needs help.

I'm trying to run a client on a static IP, but I couldn't find a way
to set up the address.
Since I'm running straight up concerto on my HDD, I used ubuntu live
cd to try and set the address up,
but just like what I thought, It wouldn't save it once I rebooted and
boot on concerto.
is there a way to set up static address on a box running concerto??

Thanks again for your help

On Jun 20, 6:58 am, Andrew Armenia <and...@asquaredlabs.com> wrote:
> That indicates that the client is connecting to a server, but that the
> screen hasn't been configured on the server side yet. If you haven't put
> your config.pl file on the drive, it will be connecting to
> concerto.rpi.eduby way of a built-in default. Since your screen
> definitely isn't configured
> in our system, you'd get that message. So make sure you've got the
> config.plin place and that your server is up and running, then log in
> > > >>> concerto-digital-s...@googlegroups.com<concerto-digital-sign age%2Bunsu...@googlegroups.com><concerto-digital-sign
> > age%2Bunsu...@googlegroups.com <age%252Buns...@googlegroups.com>>
> > > >>> .
> > > >>> For more options, visit this group at
> > > >>>http://groups.google.com/group/concerto-digital-signage?hl=en.
>
> > > >>  --
> > > >> You received this message because you are subscribed to the Google
> > Groups
> > > >> "Concerto Digital Signage" group.
> > > >> To post to this group, send email to
> > > >> concerto-dig...@googlegroups.com.
> > > >> To unsubscribe from this group, send email to
> > > >> concerto-digital-s...@googlegroups.com<concerto-digital-sign age%2Bunsu...@googlegroups.com><concerto-digital-sign
> > age%2Bunsu...@googlegroups.com <age%252Buns...@googlegroups.com>>
> > > >> .
> > > >> For more options, visit this group at
> > > >>http://groups.google.com/group/concerto-digital-signage?hl=en.
>
> > > >  --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Concerto Digital Signage" group.
> > > > To post to this group, send email to
> > > > concerto-dig...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
>
> ...
>
> read more »

Andrew Armenia

unread,
Jun 29, 2010, 11:47:44 AM6/29/10
to concerto-dig...@googlegroups.com
Please see some earlier discussion on the subject at http://groups.google.com/group/concerto-digital-signage/msg/3d79bc28c8121402, and the information on the website about creating and using a "config.pl" file - there are variables in the "config.pl" file which can be set if you must use a static IP.

-Andrew


To unsubscribe from this group, send email to concerto-digital-s...@googlegroups.com.

Eman

unread,
Jun 30, 2010, 5:28:23 PM6/30/10
to Concerto Digital Signage
I configured the config.pl per your instruction, but when concerto
boots it still looking for dhcp and couldn't connect.
I'm not sure if I missed anything or configured the config.pl wrong.
Below is my config.pl:
(I replaced the ip add)

$ENV {'CONCERTO_INSTALL'} = 'http://our_url_here/' ;

ETHERNET_CARD = 'eth0' ;
STATIC_IP = 'xxx.xxx.xxx.xxx' ;
STATIC_NETMASK = '255.255.255.0' ;
STATIC_GATEWAY = 'xxx.xxx.xxx.x' ;
STATIC_DNS = 'xxx.xxx.xxx.xxx' ;

I tried putting both single and double quotes on the values but both
don't work.

Thank you and really appreciate your help.


On Jun 29, 5:47 am, Andrew Armenia <and...@asquaredlabs.com> wrote:
> Please see some earlier discussion on the subject athttp://groups.google.com/group/concerto-digital-signage/msg/3d79bc28c...,
> ...
>
> read more »

Andrew Armenia

unread,
Jun 30, 2010, 9:03:12 PM6/30/10
to concerto-dig...@googlegroups.com
You need to set them as environment variables in the $ENV hash. So it would be $ENV{'STATIC_IP'} = 'xxx.xxx.xxx.xxx' etc.

-Andrew


> ...
>
> read more »

Eman

unread,
Jul 2, 2010, 3:57:15 AM7/2/10
to Concerto Digital Signage
Ok, so I re did the config.pl and it goes like this:

$ENV{'CONCERTO_INSTALL'} = 'http://our_url_here/';

$ENV{'ETHERNET_CARD'} = 'eth0';
$ENV{'STATIC_IP'} = 'xxx.xxx.xxx.xxx' ;
$ENV{'STATIC_NETMASK'} = 'xxx.xxx.xxx.xxx' ;
$ENV{'STATIC_GATEWAY'} = 'xxx.xxx.xxx.xxx' ;
$ENV{'STATIC_DNS'} = 'xxx.xxx.xxx.xxx' ;

I placed it in the same directory where the .plugin files, .squashfs,
kernel and initrd are located.
When I booted it, It was still looking for a DHCP address and it get
stuck in there. When I brought it home, where I
can get a DHCP address from a router, it was working fine and I left
the config.pl as it is. It seems to me that it's not recognizing the
static addresses. Am I doing or missing something wrong here?

Thanks again very much!

On Jun 30, 3:03 pm, Andrew Armenia <and...@asquaredlabs.com> wrote:
> You need to set them as environment variables in the $ENV hash. So it would
> be $ENV{'STATIC_IP'} = 'xxx.xxx.xxx.xxx' etc.
>
> -Andrew
>
> ...
>
> read more »

Andrew Armenia

unread,
Jul 8, 2010, 10:10:17 PM7/8/10
to concerto-dig...@googlegroups.com
Sorry for taking a while to get back to you - I think that I built a local version of something at RPI to support that, and it apparently never made it back to the main code base. Unfortunately, I just moved a few weeks ago, and I haven't got around to setting up the computer that I would have developed that on. I'll try to get it running in the next couple days to see what I can find. Sorry for the confusion.

-Andrew


> ...
>
> read more »

Eman

unread,
Jul 12, 2010, 2:15:06 PM7/12/10
to Concerto Digital Signage
No problem and thanks for replying back. I look forward on what you
going to come up with.

Thanks again!!
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages