Re: [SlimDevices: Plugins] Installing Daphile on an external USB drive

2020-08-26 Thread Listen Closely


Update:

Well, it appears to be a hardware issue - something about the external
drive I'm using.

Nothing too unusual - an older 1TB Western Digital Drive, spinning
media.  I had it laying around as it is a test drive for various and
sundry projects.  I had reformatted it, tested it, found it to be good,
and so used Daphile to install successfully upon it.

However, it appears there's something about its connection over USB. 
Cable?  Brand new USB 3.0 Cable from Monoprice - a place I've gotten
very fine cables from in the past.  The cable otherwise works
flawlessly, and I've used it on other devices.  The USB controller in
the external case?  Possibly.  The external case is a SansDigital, with
eSata, USB 3.0, and FireWire 800 connections on it.  I've had it for
several years, and it has performed well.  The Western Digital drive
itself?  Maybe, but it checked out in the various and sundry drive tests
I put it through.  A mystery, to say the least.

Anyway...

Broke out a spare 32GB SanDisk USB Keychain drive, and used that as the
target for a final(test) install of Daphile instead.  Installation went
off without a hitch, and -VIOLA- - the Dell Mini runs perfectly from it.

I have achieved my test goal - I can boot a final(test) installation of
Daphile from an external USB drive (the 32GB SanDisk USB Keychain
drive), all the clients work from it, the Dell Mini 9 also works as a
client for some speakers in the room where it will be deployed, Daphile
plays all the music I have loaded onto a USB drive I have connected to
the Dell Mini 9 (currently, again using the 1TB Western Digital drive in
the SansDigital case), and the Dell Mini 9 can then boot back to its
internal PATA SSD and run LXLE if and when it needs to.

Next step will be to either perform the installation on the final drive
- a recycled 750GB drive that will hold a decent-sized local music
library (and will also connect to various network drives as well as the
internet - tip of the hat to Triode for his amazing YouTube plugin,
along with all the other work he's put in), or clone the working setup
from the 32GB SanDisk USB Keychain drive onto the desired final drive.





Final setup will be something like the following:

- Dell Mini 9 running as a Daphile Server and client with attached
speakers in the kitchen; Daphile and a large music library installed on
a repurposed 750GB drive pulled from a 2011 Apple MacBook Pro(upgraded
to a SSD; I did the upgrade work for a client and as part of the deal, I
kept the drive) installed into an external Iomega case:
https://lowendmac.com/2018/review-7-iomega-mac-companion-hard-drive-enclosure/
,
https://www.ebay.com/itm/Iomega-USB-2-0-Firewire-400-800-3-5-Hard-drive-HDD-enclosure-case-for-PC-Mac/361235059474?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

[There are some nice things about the Iomega case for this project: it's
just large enough to be a very nice base for the Dell Mini 9, it looks
attractive, and it's got two additional USB ports on the back of it
acting as a hub for additional USB devices - perhaps additional storage?
- to be attached.  It's only USB 2.0, but then again so is the Dell Mini
9.]

- AirPort Express Base Station as a client for speakers in the living
room

- Primary computer (A Dell Inspiron 3153 running the current version of
Elementary OS) running Squeezelite as a client for speakers in the
office

- PowerBook G3 Wallstreet (
https://lowendmac.com/1998/wallstreet-powerbook-g3-series/ ) running
Squeezelite as a client for speakers in the bedroom

-  AirPort Express Base Station (or some other device I have available
to use as a client) for back courtyard speakers

- repurposed iPhone 4s (wife's old iPhone) as a remote, running iOS 9
and iPeng


This is all replacing an iTunes/Airfoil setup as I switched over all of
my work from Mac OS X / MacOS to Linux starting last year.

Total cost for the switch - $8.99 USA for iPeng.  I had all the hardware
available, collected over the years.  

[Last bit of money Apple will be getting from me, I might add.  Then
again, they never got very much as most of the hardware was put together
from stuff other people threw away.  Renew, reuse, recycle...]



Listen Closely's Profile: http://forums.slimdevices.com/member.php?userid=70028
View this thread: http://forums.slimdevices.com/showthread.php?t=112819

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Installing Daphile on an external USB drive

2020-08-25 Thread Roland0


Listen Closely wrote: 
> 
> Not only can I boot from other Linux distros via USB, I can also boot
> the installer Daphile from USB, as well as boot from the final install
> of Daphile on USB if I restart from the installer of Daphile from USB. 
> The issue appears to be from the final installed version of Daphile on
> USB, and how it it set up to boot.  I know I'm just missing something.
> 
I guess all GRUB versions are the same? And the USB disk doesn't use GPT
partitions?
Have you tried re-installing GRUB after Daphile has been installed (boot
with some other distro, mount usb, bind mount /dev,/proc,/sys, chroot
into Daphile, check /etc/default/grub, run grub-install and
grub-mkconfig) ?
At least, you'll be able to see if GRUB complains about something.
Also, have a look at 'this site' (https://www.supergrubdisk.org/) which
has some interesting tools to fix various boot issues.

> 
> The Dell Mini 9 is actually a wonderful little machine.  That said - it
> uses a weird PCI-Express IDE/PATA interface SM1 for its SSD.  They are
> expensive to replace - a 64GB model goes for about $65.  For that price,
> this machine is a throwaway.  While the internal 16GB SSD functions, it
> is 12 years old and I'd rather keep it functional for a few more years,
> extending the life of the machine by running Daphile from a far more
> cost-effective external drive.  Hence, even for testing I'm avoiding use
> of the internal drive as a workaround and attempting to do this all from
> external USB drives. 
> 
Well, you probably have already installed grub on it (assuming LXLE uses
it), so you'd only have to modify the existing config to include
Daphile. After that, it'd be read-only.



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=112819

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Installing Daphile on an external USB drive

2020-08-25 Thread Listen Closely


Roland0 wrote:

Some more ideas:
- try booting a regular Linux distribution from USB to see if the issue
is specific to Daphile

Not only can I boot from other Linux distros via USB, I can also boot
the installer Daphile from USB, as well as boot from the final install
of Daphile on USB if I restart from the installer of Daphile from USB. 
The issue appears to be from the final installed version of Daphile on
USB, and how it it set up to boot.  I know I'm just missing something.


Roland0 wrote:
- try booting with UEFI

That is not possible with this netbook.  If one does that, USB booting
is not an available option.  Legacy must be enabled for USB boot.


Roland0 wrote:
- try running GRUB from the internal disk and using it to start Daphile
from USB 

The Dell Mini 9 is actually a wonderful little machine.  That said - it
uses a weird PCI-Express IDE/PATA interface SM1 for its SSD.  They are
expensive to replace - a 64GB model goes for about $65.  For that price,
this machine is a throwaway.  While the internal 16GB SSD functions, it
is 12 years old and I'd rather keep it functional for a few more years,
extending the life of the machine by running Daphile from a far more
cost-effective external drive.  Hence, even for testing I'm avoiding use
of the internal drive as a workaround and attempting to do this all from
external USB drives. 

I *could* install something like LXLE on an external drive and then
install Logitech Media Server on top of that.  However, running
something like Daphile that's been purpose-built for the sole reason to
run a custom version of LMS which suits my needs perfectly and thus uses
a minimal OS install - and thus minimal resources - truly seems like the
way to go.

I thought about using Tiny Core OS and installing LMS on that, but after
reading through various threads:

http://forum.tinycorelinux.net/index.php?topic=19440.0

https://forums.slimdevices.com/showthread.php?105171-LMS-on-TinyCore/page2

https://forums.slimdevices.com/showthread.php?71-I-need-a-very-small-linux-to-run-LMS-on-PC

Daphile really seems the way to go, especially since there's a 32-bit
distro of it (this netbook is 32-bit, otherwise I might have gone with
VortexBox.  While there is a 32-bit version of VirtexBox, it's really
old -
https://www.vortexbox.org/forum/support/217-vortexbox-will-there-ever-be-another-32-bit-version
-  the 32-bit version of Daphile is current).



Listen Closely's Profile: http://forums.slimdevices.com/member.php?userid=70028
View this thread: http://forums.slimdevices.com/showthread.php?t=112819

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Installing Daphile on an external USB drive

2020-08-24 Thread Roland0


Some more ideas:
- try booting a regular Linux distribution from USB to see if the issue
is specific to Daphile
- try booting with UEFI
- try running GRUB from the internal disk and using it to start  Daphile
from USB



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=112819

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Installing Daphile on an external USB drive

2020-08-24 Thread Listen Closely


Roland0 wrote:

Is this a USB3 interface? If yes, have you tried booting with UEFI
or using USB2 instead?

No.  USB 2.0 on a Dell Mini 9.


Roland0 wrote:

Also, before checking for drives in the grub shell, try loading the
usb module (probably: insmod ehci) 

Failed; see attachment.

31349


+---+
|Filename: DaphileFailSmall.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31349|
+---+


Listen Closely's Profile: http://forums.slimdevices.com/member.php?userid=70028
View this thread: http://forums.slimdevices.com/showthread.php?t=112819

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Installing Daphile on an external USB drive

2020-08-24 Thread Roland0


Is this a USB3 interface? If yes, have you tried booting with UEFI or
using USB2 instead?

Also, before checking for drives in the grub shell, try loading the usb
module (probably: insmod ehci)



'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist
Editor / Generator | Music Classification | Similar Music | Announce |
EventTrigger | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=112819

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins