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
  Can snakeoil os be installed on Ubuntu 24? clark8888 22 1,458 25-Jul-2024, 09:49 AM
Last Post: Snoopy8
  install Snakeoil on Audio Alchemy DMP-1 Streamer vinaymoturi 1 158 13-Jul-2024, 09:13 PM
Last Post: Snoopy8
  Installation of SnakeOil OS 1.3.0 on RPi 4 with Raspberry Pi OS miksi 4 455 22-May-2024, 06:47 PM
Last Post: uglymusic
  Just Installed Snakeoil Os and I'm Lost Arupendra 2 808 01-May-2023, 03:01 AM
Last Post: Arupendra
  64bit snakeoil raspberry pi installer. criminalzen 11 2,805 01-Mar-2023, 07:01 AM
Last Post: Snoopy8



Users browsing this thread:
2 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5800
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 446
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1678
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 105
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 106
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 336
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 85
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 218
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 155

[-]
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.