mkvmerge voorbeelden

Posted by ronald on februari 6, 2015 in Nieuws with Comments closed |


# verwijderen subtitles

mkvmerge –nosubs -o outputfile-nosubs.mkv inputfile.mkv


# Toevoegen van nederlandse ondertiteling aan bestaande mkv file

mkvmerge -o ouputfile-nlsub.mkv inputfile.mkv –language 0:dut


# mkv file maken met mp4 en srt file

mkvmerge -o outputfile.mkv inputfile.mp3 –language 0:dut


PXE Boot for ESXi5.x deployment on RHEL6.5

Posted by ronald on juli 20, 2014 in Nieuws with Comments closed |

Install necessary packages


Install PXE boot stuff

mount /dev/cdrom /mnt
rpm -ivh syslinux-4.02-8.el6.x86_64.rpm mtools-4.0.12-1.el6.x86_64.rpm
Install http server for kickstart file
rpm -ivh httpd-2.2.15-29.el6_4.x86_64.rpm apr-util-ldap-1.3.9-3.el6_0.1.x86_64.rpm  httpd-tools-2.2.15-29.el6_4.x86_64.rpm  apr-util-1.3.9-3.el6_0.1.x86_64.rpm apr-1.3.9-5.el6_2.x86_64.rpm
umount /mnt

Prepare the tftp boot directory for PXE boot

In my case I change the tftpboot directory to /tftpboot
cd /tftpboot/
mkdir -p pxelinux.cfg
cp /usr/share/syslinux/pxelinux.0 /tftpboot/
cp /usr/share/syslinux/menu.c32 /tftpboot/


Prepare ESXi iso image

# copy content esx install iso
mkdir -p /tftpboot/esxi5.1.2
mount -o loop ESXi-5.1.2-1483097-IBM-20140305.iso /mnt
cp -var /mnt/* /tftpboot/esxi5.1.2/

cd /tftpboot/esxi5.1.2/
vi /tftpboot/esxi5.1.2/boot.cfg
Remove all / with vi commando :1,$s/\///g


Create a default PXE start file

vi /tftpboot/pxelinux.cfg/default
DEFAULT menu.c32
MENU TITLE ESX server PXE Boot Menu

LABEL hddboot
MENU LABEL ^Boot from local disk 0
LABEL deploy ESXi
KERNEL esxi5.1.2/mboot.c32
APPEND -c esxi5.1.2/boot.cfg ks=http://ipaddresswebserver/ks.cfg
LABEL manual ESXi install
KERNEL esxi5.1.2/mboot.c32
APPEND -c esxi5.1.2/boot.cfg
MENU LOCAL ^ manual ESXi install

 Create a default kickstart file

vi /var/www/html/ks.cfg

vmaccepteula” > /var/www/html/ks_$macaddress.cfg
# generate with  openssl passwd -1
rootpw –iscrypted \$1\$ANP7EE9q\$5QOi7ryY40AlX0lOQJTPm1
clearpart –firstdisk=usb-storage
install –firstdisk=usb-storage”
network –bootproto=dhcp –device=vmnic0

# Enable SSH and the ESXi shell
vim-cmd hostsvc/enable_ssh
vim-cmd hostsvc/start_ssh
vim-cmd hostsvc/enable_esx_shell
vim-cmd hostsvc/start_esx_shell
esxcli network firewall ruleset set -e true -r httpClient

Setup local time server for iMac on Mac OS X

Posted by ronald on november 10, 2013 in Nieuws with Comments closed |


Just run:

sudo systemsetup -setnetworktimeserver “ iburst”


Check with:

ntpdc -p


Other commands:

sudo systemsetup -getusingnetworktime

sudo systemsetup -getnetworktimeserver

Add reply-to header in Mac OS X Mail

Posted by ronald on oktober 15, 2013 in Overigen with Comments closed |


Mac OS X Mail

To make Mac OS X Mail add a custom “Reply-To” header line to all emails you send:

  • Open Terminal.
  • Type “defaults read UserHeaders”.
  • Press Enter.
  • If that command returns “The domain/default pair of (, UserHeaders) does not exist”:
    • Type “defaults write UserHeaders ‘{“Reply-To” = “reply-to@address”; }'” (excluding the outermost quotation marks) and replace reply-to@address with the address you want to be used for replies.
  • If the “defaults read” command above returns a line of values that starts with “{” and ends in “}”:
    • Highlight the entire line. It might read something like {Bcc = “bcc@address”; }, for example.
    • Press Command-C.
    • Type “defaults write UserHeaders ‘” (excluding the outer quotation marks).
    • Press Command-V.
    • Type “‘”.
    • Insert ‘”Reply-To” = “reply-to@address”; ‘ in front of the closing “}” character, replacing reply-to@address with the email address you want to be used for replies.
      The line might now read defaults write UserHeaders ‘{Bcc = “bcc@address”; “Reply-To” = “reply-to@address”; }’, for example.
  • Press Enter.


Unfortunately, this method of adding a Reply-To header works too well in some situations. Once in place, there is no way to make Mail not append it to a particular mail. You cannot change the address while composing a message either.

To make any changes to the Reply-To header, you have to go the route of the terminal.

Disable Automatic Reply-To Headers Again in Mac OS X Mail

To turn off all “Reply-To:” headers:

  • Execute “defaults delete UserHeaders” at a Terminal prompt to delete all custom headers or set UserHeaders back to what it was before you added “Reply-To”.

IOS 7 blocks unofficial lightning cable

Posted by ronald on september 20, 2013 in Nieuws with Comments closed |

iPhone owners will no longer be able to use unofficial Lightning cables to charge their handsets, reports reveal, with the news that Apple’s new software renders them incompatible.


Fusion Drive on a 27-inch Mid 2011 iMac

Posted by ronald on juni 24, 2013 in Nieuws with Comments closed |

The project

This is a story about making my own Fusion Drive on my 27-inch mid-2011 iMac.

The iMac

27-inch mid-2011 iMac with 12GB internal memory

Mac OSX 10.8.4


The Hardware

At Informatique I bought:

Samsung 840 Series Pro 256GB (costs 219 euro)

WD Scorpio Black 750GB HDD 7200rpm sATA (costs 69 euro)

At OWC I bought:

OWC DIY Kit for all Apple 27″ iMac 2011 Models for replacing the main hard drive. (costs grand total including shipping 49.24 USD + 20 euro customs (next time use DHL instead))

OWC DIY Kit for all Apple 27″ iMac 2011 Models for installing an internal SSD into a system currently equipped with hard drive only. (costs grand total including shipping 57.78 USD + 20 euro customs (next time use DHL instead))


 The Backup

I used a free version of SuperDuper to make clone of my original 1TB 3.5-ich Seagate Baracuda to a 2.5 inch drive on stock in a Firewire Dock. This way I was able to boot from the FIrewire disk with a exact copy of the original disk. Of course I also created a Time Machine backup.


The Hardware Operation

I followed two movies from YouTube

“How to Replace the Hard Drive in a 27 iMac [2011]”

“OWC Internal SSD DIY Kit for all Apple 27 iMac 2011 Models”


Remarks on the movies:

It is not that simple as it seems to look.

Also my iMac had some modifications.  Like more cables on the display. (4 instead of 3)

It took myself 3 hours to get this done. (But this was the first time)


Making the Fusion Drive

Boot from the Recovery Disk / Cloned Mac OSX and open a terminal as root

Identify the 256GB SSD and 750GB 2.5inch disk with the command:

# diskutil list

In my case: disk0 and disk1

Next create your core storage volumegroup with:

# diskutil coreStorage create FusionDrive /dev/disk0 /dev/disk1

Watch for the LVG UUID. You need that in the next command

# diskutil coreStorage createVolume \

50B457C3-ADC6-4EDC-9ABA-FD8C6EEDE69A jhfs+   \
“Macintosh HD” 100%

That’s it. Your Fusion Drive is created!

Now use SuperDuper to clone the Mac OSX system again back to the “Macintosh HD”


Conclusion: At the end the cabling stuff from OWC makes the project a bit costly. But the result is very satifying. Also next time first deinstall Little Snitch from your OS. I had to reinstall it because it was acting strange after the cloning.



Why is my Drive Fan running full speed after 10 minutes. I have this temp sensors cable from OWC which should prevent this.

I tried SMCFancontrol but was not able to get it reduced.

I checked HDD Fancontrol 2.4 which seems to work.

But I bought this cable for that reason. So that is a bit strange.

Hopefully Technical Customer Service is bringing a solution/explanation.

Update: OWC support sent me an e-mail. They will sent me a new cable. Hopefully this fixes it.








Resizing Ubuntu 12.04 Precise filesystem with LUKS LVM2

Posted by ronald on april 13, 2013 in Nieuws with Comments closed |

Resizing Ubuntu 12.04 Precise filesystem with LUKS LVM2

First is to backup your filesystem you want to modify.

First boot of LiveCD and choose “try without installing”. Although it is said to be possible online, it still is risky so I do it offline.

Open a terminal

$ sudo -i

# apt-get install lvm2

# cryptsetup luksOpen /dev/sda2 crypt-sys

# pvscan

# vgscan

# vgchange -ay

# e2fsck -f /dev/ubuntu/root


Shrink filesystem to 100GB

# resize2fs /dev/ubuntu/root 100G

# lvreduce –size 100G /dev/ubuntu/root


in progress…

SmartTV Stick

Posted by ronald on januari 2, 2013 in Nieuws with Comments closed |

Maak van iedere TV een SmartTV.

Wat heb je nodig:

HDMI ingang in je TV

USB poort (kan ook een USB hub zijn). In je TV is een pré.


Zie ook


Boot recovery of Ubuntu with LUKS encrypted LVM

Posted by ronald on november 15, 2012 in Overigen with Comments closed |

(Tested on Ubuntu 10.04)


First boot of LiveCD and choose “try without installing”

Open a terminal from Menu Accessoires

$ sudo -i

# apt-get install lvm2

# cryptsetup luksOpen /dev/sda2 crypt-sys

# pvscan

# vgscan

# vgchange -ay

# cd /mnt

# mkdir root

# mount /dev/ubuntu/rootfs root

# mount /dev/sda1 root/boot

# chroot /mnt/root

# mount -t proc proc /proc

# mount -t sysfs sys /sys

# mount -t devtmpfs devtmpfs /dev

# mount -t devpts devptr /dev/pts

# update-initramfs -u -k <kernelversion>


# update-initramfs -u -k all

# grub-mkdevice

# update-grub2

# sync;sync;exit

# reboot


Now it should boot!



Ipad 4 en Ipad mini aangekondigd!

Posted by ronald on oktober 23, 2012 in Nieuws with Comments closed |

Zojuist is de Apple event afgelopen, waaronder de ipad 4 en ipad mini en een ultra dunne imac.


Copyright © 2012-2022 Dutch Ronaldo All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from