Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BUUX: The Linux Virtual Machine creation Helper.

Featured Replies

I also have a 240g ssd mounted outside the array and use a data.img file attached for my VM and let all my programs use that data mount to communicate with each other including my plex Library stored there, as my base ArchVM is only 15g in size.

 

Myk

 

  • Replies 78
  • Views 15.2k
  • Created
  • Last Reply

Does the SSD outside of your Unraid is accessible on more than 1 VM ? (can it be mount to several VM ?)

you would need to make multi data.img files and each vm would have a separate one.

 

Hence the reason I have ALL of my addons on one VM so they can share the single data.img file that is mounted

 

the main reason i do a ssd outside the array instead of on the array or cache drive is because it is formatted ext4 - which has trim support - reiserfs does not

 

Myk

 

Thanks !  I'll try that.

 

As for the SSD, it's a good idea, but I already put 2800$ on server parts, I think i'll try with what I have now first :)

  • Author

Now let's get back to topic. :).

 

Debian is coming up. Mineos likely won't happen for a while. And I'm waiting for we permissions regards to tretflix.

 

Sent from my GT-I9505 using Tapatalk

 

 

Ionix:  Is something like that could also be done you think ?

 

https://susestudio.com/a/TadMax/owncloud-in-a-box

 

It looks like that site already has a Xen guest image ready to download.  They even have instructions for using the Xen guest image, I think it would be more work to incorporate it into the script.  Then it would be for a user to just download and set it up.

  • Author

Offcourse i could add that, looks fairly easy too wget img; write Config, Lanuch. and perhaps it should be added. and thinking more of a "Complete Solution ?" That is if we still consider it nessesary ?

 

 

 

 

 

Sent from my iPad using Tapatalk

  • Author

1.3 is out with support for Debian6/7 and IronicBadgers ArchVM.

Kudos for Debian support, not bypassing ssl cert checking, making it GPL with a license (rare :) and the project itself.

 

Edit: I would suggest some screenshots (crazy as that sounds) or similar as its a quick way to show exactly what this is. From the description it is clear but not "oh thats cool let me try it" clear.

 

 

  • Author

Kudos for Debian support, not bypassing ssl cert checking, making it GPL with a license (rare :) and the project itself.

 

Edit: I would suggest some screenshots (crazy as that sounds) or similar as its a quick way to show exactly what this is. From the description it is clear but not "oh thats cool let me try it" clear.

 

Hemm... You have a point, Ill capture some screens and upload,  i just suck at this forum editor (ITs not markdown).

Debian is quite Close to my hearth ofcourse i would add it. The ssl bypass was for b4 anyways. GPL I dont care to much for licenses, i just dont want anyone else to get screwed over. Thanks for the Kudos, did you get a chance to try it out ?

  • Author

Kudos for Debian support, not bypassing ssl cert checking, making it GPL with a license (rare :) and the project itself.

 

Edit: I would suggest some screenshots (crazy as that sounds) or similar as its a quick way to show exactly what this is. From the description it is clear but not "oh thats cool let me try it" clear.

 

As per suggestions, i added screenshots :)

I'm forever surprised to find so many ready built appliances, or appliances builders, that include transmission but not flexget, or some other RSS based torrent downloaded to trigger transmission.  Who do people use transmission ? Purely manual or via sickbeard/coach potato ?

 

I use transmission for stuff that's not on tvdb, like sports programmes so I'm lost with an rss feeder.  Any suggestions would be most welcome.

  • Author

I'm forever surprised to find so many ready built appliances, or appliances builders, that include transmission but not flexget, or some other RSS based torrent downloaded to trigger transmission.  Who do people use transmission ? Purely manual or via sickbeard/coach potato ?

 

I use transmission for stuff that's not on tvdb, like sports programmes so I'm lost with an rss feeder.  Any suggestions would be most welcome.

 

I Kinda imagine people using torrents manually when sab fails them, dcma's ect.

I use nzbToMedia (https://github.com/clinton-hall/nzbToMedia) sickbeard/couchpotato triggers Transmission and when the download completes the script triggers sickbeard/couchpotato postprocessing. So fully automatic.

I use nzbToMedia (https://github.com/clinton-hall/nzbToMedia) sickbeard/couchpotato triggers Transmission and when the download completes the script triggers sickbeard/couchpotato postprocessing. So fully automatic.

 

I'll look into that but with a lot of these shows not on tvdb then sickbeard won't help.  I guess most use torrents when nzbs fail or for media that cp and sb is aware of so there isn't a reliance on rss.

 

If only the transmission deva would add rss to the tool like every other torrent downloaded out there... But that's a debate for a different thread. Apologies for spamming this one.

 

Great work on this btw.  I'm guessing these are the threads I'll come too when it's time to try v6

Bug found:

 

Don't allow Spaces for the Domain, I tried with a domain name : Ubuntu 14.04 LTS.  It gives that (As you can see, it truncate it at Ubuntu and the rest of the script failed) :

 

Domainname: Ubuntu 14.04 LTS
vCPUs: 4
RAM: 8192
Disk:250
Autostart on Boot: (y/n): y

Currently Supported Operating System's are:
------------------------------------------
1. Ubuntu Server 12.04 LTS (ubuntu12)
2. Ubuntu Server 14.04 LTS (ubuntu14)
3. CentOS6.5 (cent65)
4. Debian 6 LTS (debian6)
5. Debian 7 (debian7)
6. IronicBadger's ArchVM v.4 (ibarch4un)
------------------------------------------
OperatingSystem: 2
Is this correct ?y
touch: cannot touch ‘LTS/Ubuntu’: No such file or directory
./Buux.sh: line 115: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 116: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 117: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 118: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 119: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 158: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 159: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 160: $rootDir/$domain/$domain.cfg: ambiguous redirect
--2014-05-06 15:30:12--  http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/current/images/netboot/xen/initrd.gz
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.91.15, 91.189.92.200, 91.189.92.201, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.91.15|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21256771 (20M) [application/x-gzip]
Saving to: ‘initrd.gz’

100%[======================================>] 21,256,771  3.56MB/s   in 6.0s

2014-05-06 15:30:18 (3.35 MB/s) - ‘initrd.gz’ saved [21256771/21256771]

--2014-05-06 15:30:18--  http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/current/images/netboot/xen/vmlinuz
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.92.200, 91.189.92.201, 91.189.88.153, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.92.200|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5778968 (5.5M)
Saving to: ‘vmlinuz’

64% [========================>              ] 3,713,933   1.02MB/s  eta 3s     ^C
root@Unraid:/boot# cd /mnt
root@Unraid:/mnt# cd cache/
root@Unraid:/mnt/cache# ls
VM/
root@Unraid:/mnt/cache# cd VM/
root@Unraid:/mnt/cache/VM# ls
Ubuntu/
root@Unraid:/mnt/cache/VM#

 

 

Also, I did't had a Bridge Created yet, it didn't work with some commands.  Maybe you can verify if a bridge exists and tell the User of the script that it need a Br0 :

 

------------------------------------------
Press [Enter] To Start your Installation
------------------------------------------
Parsing config from /mnt/cache/VM/Ubuntu14/Ubuntu14.cfg
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/vif-bridge online [21063] exited with error status 1
libxl: error: libxl_device.c:1021:device_hotplug_child_death_cb: script: Could not find bridge device br0
libxl: error: libxl_create.c:1115:domcreate_attach_vtpms: unable to add nic devices
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: /etc/xen/scripts/vif-bridge offline [21119] exited with error status 1
libxl: error: libxl_device.c:1021:device_hotplug_child_death_cb: script: Could not find bridge device br0

  • Author

Bug found:

 

Don't allow Spaces for the Domain, I tried with a domain name : Ubuntu 14.04 LTS.  It gives that (As you can see, it truncate it at Ubuntu and the rest of the script failed) :

 

Domainname: Ubuntu 14.04 LTS
vCPUs: 4
RAM: 8192
Disk:250
Autostart on Boot: (y/n): y

Currently Supported Operating System's are:
------------------------------------------
1. Ubuntu Server 12.04 LTS (ubuntu12)
2. Ubuntu Server 14.04 LTS (ubuntu14)
3. CentOS6.5 (cent65)
4. Debian 6 LTS (debian6)
5. Debian 7 (debian7)
6. IronicBadger's ArchVM v.4 (ibarch4un)
------------------------------------------
OperatingSystem: 2
Is this correct ?y
touch: cannot touch ‘LTS/Ubuntu’: No such file or directory
./Buux.sh: line 115: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 116: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 117: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 118: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 119: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 158: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 159: $rootDir/$domain/$domain.cfg: ambiguous redirect
./Buux.sh: line 160: $rootDir/$domain/$domain.cfg: ambiguous redirect
--2014-05-06 15:30:12--  http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/current/images/netboot/xen/initrd.gz
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.91.15, 91.189.92.200, 91.189.92.201, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.91.15|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21256771 (20M) [application/x-gzip]
Saving to: ‘initrd.gz’

100%[======================================>] 21,256,771  3.56MB/s   in 6.0s

2014-05-06 15:30:18 (3.35 MB/s) - ‘initrd.gz’ saved [21256771/21256771]

--2014-05-06 15:30:18--  http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/current/images/netboot/xen/vmlinuz
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.92.200, 91.189.92.201, 91.189.88.153, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.92.200|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5778968 (5.5M)
Saving to: ‘vmlinuz’

64% [========================>              ] 3,713,933   1.02MB/s  eta 3s     ^C
root@Unraid:/boot# cd /mnt
root@Unraid:/mnt# cd cache/
root@Unraid:/mnt/cache# ls
VM/
root@Unraid:/mnt/cache# cd VM/
root@Unraid:/mnt/cache/VM# ls
Ubuntu/
root@Unraid:/mnt/cache/VM#

 

 

 

Thank you, Awsome bug report! ill look into that.

 

one more thing. though disk size should be suffiixed with G or T.

 

(Im sorry i dident make that clear)

ahah it's why I was about to post another bug... that wasn't a bug.  My disk is 250B :P  I'll delete the VM folder (I only have the Ubuntu14 in it) and restart from scratch :)

Tried BUUX out for the first time last night.  Worked like a charm once I realized it was looking for br0 and not xenbr0.  Some quick work with Nano and all was good.

 

so my suggestion is to either change the default to match what I believe is the correct "convention", make it an easy option to change like the root directory, actively search for the correct network and stop there if it isn't found, or prompt the user to enter it.

 

Otherwise, great work and thanks so much!

  • Author

Tried BUUX out for the first time last night.  Worked like a charm once I realized it was looking for br0 and not xenbr0.  Some quick work with Nano and all was good.

 

so my suggestion is to either change the default to match what I believe is the correct "convention", make it an easy option to change like the root directory, actively search for the correct network and stop there if it isn't found, or prompt the user to enter it.

 

Otherwise, great work and thanks so much!

 

Hi alex.

So let me get this straight, your enviroment has xenbr0 not br0 ? I Was sure that a standard config was br0. But perhaps i could add something in a custom config file with assume.

regards the root direectory its the 3 line in the script, if that was not clear then im sorry, im considering moveing that to a config file aswel. :)

Well if I had to guess I'd say I must have had xenbr0 left over from the first time I tried to play with VMs a while back so it was just still there already. 

 

But what I mean by "standard" is that my understanding of how Xen tutorials usually say to set things up is with xenbr0 and I think (I cannot back this up with a forum post at the moment) the plan is to change the unraid default.  Though I can certainly see your point in going with what is standard in Unraid and not enforcing a supposed external Xen standard.

 

But in either case I guess that is why I suggested adding a check in the code or offer it as a user input, perhaps with br0 as the default. 

 

I just know that I ran into the issue where I had no idea what was going on because everything flew by so fast and completed with out visible error (because I had no idea what to expect and again it flew by so fast) that I had no clue the system had failed due to a mismatch in the bridge naming.  Imagine my chagrin when I finally got it right and I realized VM creation and OS install takes just a wee bit longer then 30 seconds  :-[ hahah

 

root directory:  oh no no that was TOTALLY obvious and well documented.  I was suggesting add something like that but for the network bridge name (probably the fastest and simplest for you frankly).  I don't know if you need to move all that to a separate config file (my opinion).  In either case someone has to open a file in nano, so it might as well be Buux.sh  If folks really are having trouble finding the location of root directory, and maybe soon network bridge name, in the script then just surround it with a big ugly comment box with arrows and lights and midgets and balloons saying, "HEY YOU! LOOK HERE! THIS IS WHERE YOU CUSTOMIZE THINGS!!!"

  • Author

Root thing. I see that now my mistake. I'll see about auto detect xenbr vs br but I would prefer having that as a static option. The reason why I wanna go putting configured in a file which by far is more work is to preserve settings throughout script upgrades witch would reset any settings. In any case if/when unraid sets a new standard I will use that. ( nice to know )

 

 

Sent from my iPad using Tapatalk

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.