XBMC

= Kodi Shortcuts = Kodi/XBMC Shortcuts

= OpenELEC Dual Boot=

How to dual boot(actually Triple boot) OpenELEC with Ubuntu and Windows.


 * OpenELEC itself requires at least 2 partitions.


 * Create the first partition, EXT4
 * Label it 'OE_SYSTEM', size 512MB to 1GB.
 * The OE_SYSTEM partition must be flagged as bootable.
 * Both operating system files, SYSTEM and KERNEL, must be placed into the OE_SYSTEM partition (assume /dev/sda6)


 * Create the second partition, EXT4
 * Label it 'OE_DATA', size.
 * Here all local OpenELEC/XBMC data will be placed, such as databases and thumbnails (assume /dev/sda7)


 * Write down the linux drive letters & update the below file with it
 * Unlike Grub, Grub2 starts partition counting from 1 not 0.

sudo gedit /etc/grub.d/40_custom
 * Now update Grub2:

exec tail -n +3 $0 # menuentry "OpenELEC" { search --set=root --label OE_SYSTEM --hint hd0,msdos6 linux /KERNEL boot=LABEL=OE_SYSTEM disk=LABEL=OE_DATA quiet } menuentry "OpenELEC debugging" { search --set=root --label OE_SYSTEM --hint hd0,msdos6 linux /KERNEL boot=LABEL=OE_SYSTEM disk=LABEL=OE_DATA debugging }
 * 1) !/bin/sh
 * 1) This file provides an easy way to add custom menu entries.  Simply type the
 * 2) menu entries you want to add after this comment.  Be careful not to change
 * 3) the 'exec tail' line above.

Now finalize the grub menu additions:

sudo update-grub