Portable Snakeoil :-) First test.
#1
For some time I have thought to have a portable Snakeoil on a USB stick for testing and to demo to others....
With the move to the latest installer this seemed possible so here is what worked for a first test...

To simplify the install I used the full Ubuntu 20.04 Desktop image and mkusb to achieve persistence of the underlying O/S and the Snakeoil install.

https://www.addictivetips.com/ubuntu-lin...buntu-usb/

After following the mkusb I had a live persistent Ubuntu USB stick.
Booted to that and followed the wiki to install Gear Isolation.
Needed to first add the universe repo for ubuntu and install icewm otherwise the Snakeoil script failed with 'unable to find icewm' error.
 
Code:
sudo add-apt-repository universe
sudo apt update
sudo apt install icewm

 
Also installed the open-ssh server as per the wiki (and checked for alsa-utils but those were up to date)
Forgot to remove pulseaudio but on first run of Snakeoil it prompted and allowed removal.. Cool

The Snakeoil install script ran as expected but threw an error at the final step and reported that there was a boot install fail...however this seems not to be a problem at all as when I rebooted the laptop it started Ubuntu and when I used another PC to find the ip and access that from the remote Firefox.
Snakeoil web-page came up !! Smile

I was able to configure Snakeoil for Library, Player, Activation, etc and start myMPD. 
Updated the myMPD database and played some tracks via the laptops internal audio
Then installed the latest firmware in the usual way... all good so far.

Then the big test...shutdown and moved the USB stick to another laptop..different specs and brand.
Selected boot from USB option in the laptop's menu and........   it worked ! 
Again I was able to access Snakeoil from the ip address and the settings and myMPD database were as had been set and saved.
Only change was for the audio device for the new laptop.

Next experiment is to try with just the Ubuntu server base and UEFI boot so I can use the resulting USB stick to boot the Thin-client that houses my RME-AIO card...    will report.
[-] The following 3 users Like Bromf's post:
  • patricia1066, agent_kith, hkphantomgtr
Reply

#2
(07-Feb-2022, 10:25 AM)Bromf Wrote: To simplify the install I used the full Ubuntu 20.04 Desktop image and mkusb to achieve persistence of the underlying O/S and the Snakeoil install.
Nice! Smile

You're about 2 versions ahead of the Snakeoil roadmap. Big Grin..

But since you're already at this stage.. In theory Snakeoil will also be installed too if you decide to install that LiveCD. Making this kind of like the old ISO (But using a stock kernel instead of the custom kernel)..

The install Snakeoil from LiveCD might not work in it's current 1.2.x form though, but it's easily enough to fix (but following the old 1.1.x startup scripts).

You can also experiment the grub option "toram" (Copy the USB image into computer RAM too). So what this is doing is it's copying the entire OS into RAM, reducing latency and also means you can remove the USB after it finished booting..

For Windows users, you can also use Rufus to make a USB stick with persistent storage (persistent means any changes you make on the USB stick will not be gone after a reboot). I thought I wrote something on this in the Wiki, but it's completely blank.. Might have restored an old backup and lost that Blush, or maybe I just havn't written anything at all. I'll lick the wiki article to this thread. Big Grin
---
It's great to see more and more people getting more proficient in Linux. Continue your exploration, and post how you do it in the forums, and in the Wiki. With more user participation we can move Snakeoil forward than the snail pace it's on now.
Snakeoil Operating System - Music, your way!
Reply

#3
Quote:But since you're already at this stage.. In theory Snakeoil will also be installed too if you decide to install that LiveCD. Making this kind of like the old ISO (But using a stock kernel instead of the custom kernel)..

The install Snakeoil from LiveCD might not work in it's current 1.2.x form though, but it's easily enough to fix (but following the old 1.1.x startup scripts).

My aim is not to make an installer but to have a live USB install...just as Daphile allows the live installer on USB to be installed to the computer hard drive or a to a persistent USB drive.
That is what I have currently..a USB stick having a live persistent install of Snakeoil with Ubuntu base and the Snakeoil script. Works just like a standard full install but can be run on any computer.  This means I don't have to dedicate a machine to Snakeoil but can plug the USB and boot from it to run Snakeoil whilst leaving the machines drive untouched and intact.
I am only trying this as I want to test a sound-card on a machine that I have to leave configured for another purpose.
[-] The following 2 users Like Bromf's post:
  • patricia1066, agent_kith
Reply

#4
(07-Feb-2022, 10:25 AM)Bromf Wrote: For some time I have thought to have a portable Snakeoil on a USB stick for testing and to demo to others....
With the move to the latest installer this seemed possible so here is what worked for a first test...

To simplify the install I used the full Ubuntu 20.04 Desktop image and mkusb to achieve persistence of the underlying O/S and the Snakeoil install.

https://www.addictivetips.com/ubuntu-lin...buntu-usb/

After following the mkusb I had a live persistent Ubuntu USB stick.
Booted to that and followed the wiki to install Gear Isolation.
Needed to first add the universe repo for ubuntu and install icewm otherwise the Snakeoil script failed with 'unable to find icewm' error.
 
Code:
sudo add-apt-repository universe
sudo apt update
sudo apt install icewm

 
Also installed the open-ssh server as per the wiki (and checked for alsa-utils but those were up to date)
Forgot to remove pulseaudio but on first run of Snakeoil it prompted and allowed removal.. Cool

The Snakeoil install script ran as expected but threw an error at the final step and reported that there was a boot install fail...however this seems not to be a problem at all as when I rebooted the laptop it started Ubuntu and when I used another PC to find the ip and access that from the remote Firefox.
Snakeoil web-page came up !! Smile

I was able to configure Snakeoil for Library, Player, Activation, etc and start myMPD. 
Updated the myMPD database and played some tracks via the laptops internal audio
Then installed the latest firmware in the usual way... all good so far.

Then the big test...shutdown and moved the USB stick to another laptop..different specs and brand.
Selected boot from USB option in the laptop's menu and........   it worked ! 
Again I was able to access Snakeoil from the ip address and the settings and myMPD database were as had been set and saved.
Only change was for the audio device for the new laptop.

Next experiment is to try with just the Ubuntu server base and UEFI boot so I can use the resulting USB stick to boot the Thin-client that houses my RME-AIO card...    will report.
Great development Bromf. What size USB drive did you use? Would this work for LMS in principle?
Reply

#5
I used a 16GB USB3 pendrive. I'm not a LMS user so admit to not having tested that Smile . When I get the chance I'll try it and report.

I've not been able to use the server version or get it to boot UEFI.
However, I did repeat the setup as outlined above on another pendrive and that worked too so seems consistent.
[-] The following 1 user Likes Bromf's post:
  • patricia1066
Reply

#6
Thanks for getting me to this point.  I gave up on Ubuntu server and followed your tutorial and used Ubuntu desktop.  It is up and working-again, thanks!

However, can you please be a little more detailed in what exactly you do after you get Ubuntu installed and download the snakeoil file?  

I am supposed to install  ssh server and use winscp to upload to where?  Why use a windows app when I have done all this to load Ubuntu/ Linux?   WTH does that mean exactly?  I can’t figure this out.

Cant we just add detailed command instructions step by step to the Wiki?

I am stuck and the wiki is very cryptic.  I am not stupid but I also did not grow up on Linux.
Reply

#7
There are only 2 steps.  Copy install script to target device and run script.  If you do not have Win, use FileZilla which is on all platforms, to transfer file.

Will update Wiki as well...
[-] The following 1 user Likes Snoopy8's post:
  • cpcat
Reply

#8
Thanks and I apologize if my frustration came through in my last post- have spent some time with this and it was late.

Will this work?

https://www.wikihow.com/Execute-INSTALL....g-Terminal
Reply

#9
(30-Dec-2022, 11:57 PM)cpcat Wrote: Thanks and I apologize if my frustration came through in my last post- have spent some time with this and it was late.

Will this work?

https://www.wikihow.com/Execute-INSTALL....g-Terminal

It is in the Wiki
https://www.snakeoil-os.net/wiki/Install..._Installer
1
Reply

#10
Did you add something to the wiki?
I don’t see any changes yet.
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Just Installed Snakeoil Os and I'm Lost Arupendra 2 523 01-May-2023, 03:01 AM
Last Post: Arupendra
  64bit snakeoil raspberry pi installer. criminalzen 11 1,748 01-Mar-2023, 07:01 AM
Last Post: Snoopy8
Question Am I missing something in terms of SQ because I haven't updated SnakeOil? koko6969koki 2 563 02-Feb-2023, 12:16 AM
Last Post: hkphantomgtr
  What is your favourite player under Snakeoil? koko6969koki 12 3,846 26-Jan-2023, 08:25 AM
Last Post: agent_kith
  [split] Install Snakeoil OS on a USB stick cpcat 4 818 21-Jan-2023, 02:11 PM
Last Post: cpcat



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Announcing Snakeoil Measurements 1.3.0
Last Post: kees1000
13-Apr-2024 11:54 PM
» Replies: 95
» Views: 4672
LMS rebranded to Lyrion Media Server
Last Post: Bromf
07-Apr-2024 01:59 PM
» Replies: 4
» Views: 94
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 682
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 186
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 97
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 73
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 237
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 62
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 84
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 410

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.