Hi, I have been trying to do a very small linux install for a thin
client as I want it only to be used as a Squeezebox server running
24/7.
As the Thin client only have a CF-card for thr operating system (OS)
(500 MB), I needed a very small OS. I have tried several like Puppy
linux, Slitaz, but have been unable to unstall SqueezeboxServer on
these distros.

However, Voyage Linux, is a small debian distro (60 MB), which is
specially made for CF-cards, as it is run as "read-only". Therefore,
the normal tear of the CF-cards is reduced. And finally I have figured
out how to install and run SqueezeboxServer and also
LogitechMediaServer on the Voyage linux.

Get the Voyage distro from here; http://linux.voyage.hk/  I used the
0.7 version, but probably the newer ones will also be fine:

Install it on the CF-card:
==============================================================================
Installing Voyage Linux to a hard disk from Live CD 
==============================================================================

Afte booting the Live CD, login as root (password: voyage) 

YOU CAN USE THESE COMMANDS DIRECTLY OR THROUGH SSH(Putty):

1. Create distribution directory for installation
        
        # mkdir /tmp/root
        # mount -o loop /live/image/live/filesystem.squashfs  /tmp/root
        # cd /tmp/root
        
2. Make a mount point for installation disk

        # mkdir /tmp/cf

3. Format target disk device

        # /usr/local/sbin/format-cf.sh /dev/hda    
        
This will create /dev/hda1 ext2 partition on /dev/hda disk device. 
** Note that this operation is very dangerous since it will erase your
disk! 
Make sure what you are doing and must do it right!

4. Start voyage.update installation script
        
        # /usr/local/sbin/voyage.update

Following the instruction to select /tmp/root as distribution
directory, and 
/tmp/cf as mount point.  After the installation complete, simple reboot
the
board and Voyage will be started!

There are some additional packages installed for PXE and NFS server. 
After
starting Voyage, you can safely remove them by:

        # remountrw
        # apt-get remove syslinux atftpd nfs-kernel-server \bzip2 sg3-utils
minicom

After all, remove the last line in /etc/dnsmasq.more.conf:
        conf-file=/etc/dnsmasq.pxe.conf  

Now you have used 118 MB on your CF-card.

___________________________________________________________

Next install Squeezeboxserver og LogitechMediaserver:
First we need to make Voyage writable, so after a reboot, we log in
like this;
user: root
Password: voyage
then you write: mountrw

Then we start installing Squeezeboxserver/LogitechMediaServer
I did it this way; Locate the version of Squeezebox-Server you would
like to use. ie like:
http://downloads.slimdevices.com/nightly/7.6/sc/33496/squeezeboxserver_7.6.2~33496_all.deb
Which is the one I used below:

Download the installation-package directly to your Voyage CF-card and
install directly, so do the following:
Create a directory for installation and download SBS
# cd /
# mkdir install
# cd install
# wget
http://downloads.slimdevices.com/nightly/7.6/sc/33496/squeezeboxserver_7.6.2~33496_all.deb
# apt-get --yes update
# dpkg -i squeezeboxserver_7.6.2~33496_all.deb

Ignore any errors like this: “Errors were encountered while processing:
squeezeboxserver” Use this:

# apt-get install -f

____________________________________________________________
NEXT we need to tell Voyage that´Squeezebox needs to be able to write
to the CF. As I understand, Voyage will then mount these directories in
RAM, and only at power-down it will be written to the CF-card.

To do so you need to edit the file: etc/default/vopyage-util, because
it needs to have this line:
VOYAGE_SYNC_DIRS="/var/lib/squeezeboxserver"

Then reboot - and you are done.
=====================================================

I hope this will be helpfull for newbees like myself. The next thing I
will try is to install SAMBA, but I fear that I might need some help. 
I have previously been using TNG-SAMBA as a pet in puppy linux. Is it
possible to install TNG-SAMBA in Voyage/Debian? Because it is much
smaller that SAMBA-Common.
Maybe we can work together on this, because I think Voyage could be a
nice platform for our Squeezebox server.


-- 
sbp
------------------------------------------------------------------------
sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237
View this thread: http://forums.slimdevices.com/showthread.php?t=90581

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to