Pawel Debski – SW Development and other thoughts Java, Microsoft.Net C#, TIBCO, WebMethods, Oracle, Informatica

Posts Tagged ‘virtualisation

Make Ubuntu play CD and DVD

As Windows 10 is unusable for me I decided to switch to Linux almost entirely. Therefore I’m testing various distributions and make different test subjects use them. I always thought that the biggest challenge would be a dumb user of an old auntie sort. Apparently not! Ubuntu works great for the gunea pig – fabulous. It works even better than new crippled Windows – my dear ginuea pig had Windows XP so far and on her old computer with just 3GB RAM and Core2Duo we had even no need for Lubuntu. And the user interface of full Ubuntu was a love at first sight for the lady. Congratulations to the Ubuntu team.

First challenge was with playing CD – the lady has a big collection of music CDs and the modern iPods and other devil inventions like buying music files on-line are absent from her soul. Unfortunately when she inserts a CD various applications dump core on her. In this case being on friendly terms with a sorcerer who controls devil forces helps.

I was well prepared to take-up the challenge – I had guest Ubuntu in VirtualBox already installed. I even had a USB CD/DVD drive and it took me a second to add it as a CD drive in my virtual machine.

Ubuntu storage settings - CD host drive

Ubuntu storage settings – CD host drive

But when I inserted a music CD the first obstacle appeared – I can see the files, but I cannot play the music – both Rhythmbox and Sound Juicer swear at me with error messages.

Is this a problem for a real hero? I bet not.

Quick Internet search revealed a “passthrough” option:

Ubuntu storage settings - passthrough option for a CD host drive

Ubuntu storage settings – passthrough option for a CD host drive

Astonished that an USB drive is added as a secondary IDE device? No wonder – all the fuss about about virtualization is that all different sorts of strange modern devices can potentially be presented in a well known and stable way to the guest systems. That’s actually a subject per se for the whole article.

Voilà – now Rhythmbox works like a charm. I can listen to the CDs and even make flacs out of it (Sound Juicer required). And what a nice surprise – it connects to the and downloads the CD description, song titles etc. Well, to say the truth, not much downloading but rather uploading – apparently Music Brainz collection of classic CDs is rather scarce. However if you google well there is an alternative solution with CDDB of which is much richer, they say.

Now the second topic of my post – playing DVD. To make long things short – do not fight with Totem – just install VLC media player that’s available via Ubuntu Software Center. VLC Player has everything you need and worked for me from the first try.


Xen virtualisation support dropped by Red Hat 6 and therefore in CentOS 6

We are preparing the upgrade of our Linux infrastructure and… bdzionk: Xen support dropped by Red Hat 6 and therefore in CentOS 6:

Maybe it is a RedHat play or maybe Xen inherent design flaw as pointed-out below:

“Linux kernel developers say no to Xen”

Linus Torvalds: “The point? Xen really is horribly badly separated out. It gets way more incestuous with other systems than it should. It’s entirely possible that this is very fundamental to both paravirtualization and to hypervisor behavior, but it doesn’t matter – it just measn that I can well see that Xen is a f*cking pain to merge. So please, Xen people, look at your track record, and look at the issues from the standpoint of somebody merging your code, rather than just from the standpoint of somebody who whines “I want my code to be merged”.”

The fact is that nowadays using Xen with CentOS is pain in the a.s so we’ve decided to give KVM a try.

Apparently Xen developers started to address the issue as evidenced in – despite dooming voices Xen thrives and perhaps in the future we we’ll be back to it.

Here is a nice How-to on KVM and #CentOS6:

Please be sure to read #SELinux remarks and links in the comments section of the article – leaving SELinux enabled considerably increases security of the whole installation and in my opinion this is the professional way to do it.

Apparently it is possible to use virtualisation with SELinux:

I wonder which one is more SELinux-friendly: KVM or XEN? Any opinions?

Finally a few additional links

For those who’d like to stick with Xen:

Comparing XEN and KVM (in Polish):

Written by Pawel Debski

2013/05/12 at 18:08

Posted in Uncategorized

Tagged with , , , ,