PDA

View Full Version : Vortexbox 2.4 install problem



cliver
2018-02-08, 13:54
Hi all,
I'm trying to upgrade my VB 2.3 running on an old 32 bit machine to 2.4 running on a HP AMD Dual Core Mini Silent PC (ex thin client), 4GB RAM, 16GB SSD, USB3 3TB Drive for the music.
I have successfully installed LUBUNTU on it so I know it should be possible. However I am having problems creating a bootable USB stick following the wiki (http://https://wiki.vortexbox.org/linux_installation_instructions) on the vortexbox site. I'm using a Ubuntu Mate laptop to create the USB Image.

1. I can follow the wiki in a terminal running as root (sudo -i) on Ubuntu Mate all the way to step 3 which fails at the
./makeboot.sh /dev/sdb1 with the error permission denied. This is because makeboot.sh is not executable I think and i can't change it with chmod as it's fat32.
So I can't boot from it.

2. I have tried running the windows makeboot utility under windows but the target PC doesn't recognise it as a bootable media.

3. I have tried burning the ISO image to the USB but that isn't recognised either,

4. I tried skipping step 3 from the wiki and running accessories>disks from the GUI and setting the USB to bootable there. This appeared to work but the target machine failed it's post and just gave a continuous beep-beep until I powered it off.

Here is the terminal output that I get for info..



clive@HP-ProBook-4740s:~$ sudo -i
[sudo] password for clive:
root@HP-ProBook-4740s:~# fdisk -l
Disk /dev/sda: 698.7 GiB, 750156374016 bytes, 1465149168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0df34a5a

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1457002495 1457000448 694.8G 83 Linux
/dev/sda2 1457004542 1465147391 8142850 3.9G 5 Extended
/dev/sda5 1457004544 1465147391 8142848 3.9G 82 Linux swap / Solaris

Partition 2 does not start on physical sector boundary.

Disk /dev/sdb: 59.6 GiB, 64016220160 bytes, 125031680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5acb7baf
root@HP-ProBook-4740s:~# fdisk /dev/sdb

Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): d
No partition is defined yet!
Could not delete partition 140037349443457

Command (m for help): q

root@HP-ProBook-4740s:~# dd if=/dev/zero of=/dev/sdb bs=1M count=1010+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 1.11393 s, 9.4 MB/s
root@HP-ProBook-4740s:~# fdisk /dev/sdb

Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognised partition table.
Created a new DOS disklabel with disk identifier 0x74004536.

Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):

Using default response p.
Partition number (1-4, default 1):
First sector (2048-125031679, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-125031679, default 125031679):

Created a new partition 1 of type 'Linux' and of size 59.6 GiB.

Command (m for help): t
Selected partition 1
Partition type (type L to list all types): b
Changed type of partition 'Linux' to 'W95 FAT32'.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Synching disks.

root@HP-ProBook-4740s:~# mkdosfs -F 32 -I /dev/sdb1mkfs.fat 3.0.28 (2015-05-16)
root@HP-ProBook-4740s:~# cp -Rp /home/clive/Downloads/vortexbox/BootUSB/. /media/clive/4189-9543
root@HP-ProBook-4740s:~#


This all appears to run fine and I get the files on the USB in the right place. My problems come when I try step 3 in the wiki "Make the USB key bootable".


mount /dev/sdb1 /mnt
cd /mnt/utils/linux/
./makeboot.sh /dev/sdb1

This fails at the ./makeboot.sh /dev/sdb1 line. It returns the error "Permission Denied" as described in 1 above.

I'm stumped :confused:, can anyone help?

Any advice greatly appreciated.

cliver
2018-02-08, 15:15
Hi,

1 why do you want to use vortexbox ? isnt that a dead horse???
2 a shell script is only some code put together with some code. If you cant run that code in a script you always run that code line after line.....
Did you tried



cat /mnt/utils/linux/makeboot.sh /dev/sdb1 |bash


Hi DJanGo, thanks for the reply.
It seems vortexbox is still being supported so still worth it imho.
Hasn't thought about running the commands in the script one at a time 🤦 will give that a go.
Also haven't tried the cat command either. I'll look into that one.
Many thanks. I'll report back if it succeeds.

Sent from my Nexus 6P using Tapatalk

Apesbrain
2018-02-08, 19:31
Nothing against Vortexbox, but have you looked at Daphile? Seems a cool alternative and more recently maintained.

http://www.daphile.com

cliver
2018-02-09, 00:09
Nothing against Vortexbox, but have you looked at Daphile? Seems a cool alternative and more recently maintained.

http://www.daphile.comHmmm interesting, thanks Apesbrain. My problem is I have SB players around the house, SB touch and Picoreplayers. I'll have a look though, sounds interesting.

Sent from my Nexus 6P using Tapatalk

cliver
2018-02-09, 00:10
Vortexbox runs on Fedora (https://fedoraproject.org/wiki/End_of_life)

In the install guide (https://wiki.vortexbox.org/installation_guide) there is a line:

No updates since Tuesday, 20 December 2016 i would call that a real dead horse ....It's been in the wilderness for a while but the dev is working on an update again as I understand it.

Sent from my Nexus 6P using Tapatalk

cliver
2018-02-09, 02:50
Can't run the commands in the script individually as its quite a complex script with conditional statements etc. Could probably work through it but it will take ages to figure it out.
So Looking at Daphile. I have installed it and it looks pretty good so far. It's recognised all my existing players etc. Just scanning my library before testing it out but initial thoughts are it will make a good replacement for votexbox.

Apesbrain
2018-02-09, 07:39
So Looking at Daphile. I have installed it and it looks pretty good so far.
It's essentially the same as Vortexbox: a linux OS wrapped around LMS. VB is built on Fedora while Daphile uses Gentoo; worth reading about. Good luck!

https://distrowatch.com/table.php?distribution=daphile
https://en.wikipedia.org/wiki/Gentoo_Linux
http://www.diyaudio.com/forums/pc-based/240040-daphile-audiophile-music-server-player-os.html

cliver
2018-02-09, 09:02
It's essentially the same as Vortexbox: a linux OS wrapped around LMS. VB is built on Fedora while Daphile uses Gentoo; worth reading about. Good luck!

https://distrowatch.com/table.php?distribution=daphile
https://en.wikipedia.org/wiki/Gentoo_Linux
http://www.diyaudio.com/forums/pc-based/240040-daphile-audiophile-music-server-player-os.htmlSo far so good Apesbrain [emoji3]. Library scanned in. Just had to edit playlists to suit new paths. All my players are recognised. Sound quality is great.
It's much lighter and simpler than vortexbox.
The only downside I can see is it's "just" a music server, were vortexbox could handle video et al.
But it seems to do it much better at first look. I'll play with it over the weekend before deciding to ditch the old vortexbox but it's looking promising.
Thanks for the link.

Sent from my Nexus 6P using Tapatalk

cliver
2018-02-10, 07:14
For those interested in my original problem this works.....


https://ubuntu-mate.community/t/help-creating-a-bootable-usb-stick/15955/9?u=cliver (https://ubuntu-mate.community/t/help-creating-a-bootable-usb-stick/15955/9?u=cliver)