Installing MythTV on an Intel Mac Mini using Ubuntu

From MythTV Official Wiki
Revision as of 14:28, 22 April 2006 by Gumby (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This frontend will be a dedicated linux-based frontend, using spdif out for sound. These are very rough instructions, but i thought i'd get them down before i forget them.

If you dont have a HD or widescreen display, dont want to watch hd material, and dont want ac3 passthrough (you still need a digital receiver, since analog out doesnt work) it is really much the same as every other x86 box. The steps here just detail how I got everything working nicely, or at least nice enough for me.

Steps:

  • Upgrade firmware
  • Boot from Mac OS Install CD
  • Open Disk Utility
  • Format disk to two partitions, both UFS, size doesnt matter
  • Make sure you change the boot type to MBR in the options dialog
  • Restart, boot from ubuntu dapper install cd (hold down c)
  • You cant use the graphical installer, so press escape and type:
 server debian-installer/framebuffer=false
  • Go through the install steps (repartition the drive again)
  • elilo will fail to install, choose to install grub if you can, or continue without a bootloader
  • reboot using ubuntu dapper live cd (you might be able to do this is you escape to a shell at the end of the install, i didnt try it that way though)
  • mount your new drive (should be /dev/sda1)
  • chroot to the drive
  • run:
 apt-get update
 apt-get install ssh libc6-dev make gcc lilo
 apt-get remove grub
 liloconfig
 lilo -M /dev/sda mbr
 lilo
 tar xvjf linux-2.6.16.1.tar.bz2
 cd linux-2.6.16.1
 patch -p1 <../imac-2.6.16.1.patch
 cp ../config-2.6.16 .config
  • configure the kernel so that the imacfb device is disabled, and the i810 framebuffer devices are enabled
  • build the kernel
  • edit /etc/lilo.conf with new kernel and these options:
 append="acpi=force libata.atapi_enabled=1"
  • reboot, you should now have a shell to login to, plus smp support and other stuff
  • install xorg server, 915resolution
  • install mythfrontend, and plugins
  • install xine etc
  • use 915resolution to override resolutions if needed
  • install cvs i810_drv (i'll add link later) if you want hd or want to use xine
  • add line to Driver section in xorg.conf if you want to view hd:
 Option "LinearAlloc" "16384"
  • unmute IEC958 in alsamixer
  • create /etc/asounnd.conf (or .asoundrc) (i'll add config later)
  • setup xine to use 'default' device as passthrough
  • setup keybindings
  • make myth start on boot
  • add mythtv user to /etc/sudoers