JonTV
WARNING: THis guide is a serious work in progress, primarily a text file that I use as a checklist for myself with some stuff added from memory to fillin some parts. You should only follow it if you know me personally and can call for help or to fillin the gaps.
Download slackware 10.2 and burn cds
http://www.slackware.com/getslack/
insert the first cd and reboot your computer. You will need to press enter a couple of times and select a keyboard map (defaults to us English) and then you will arrive at the login prompt.
Type: root
And then press enter. You are know ready to start setting up Linux.
The first step is to partition your hard drives. For this simple install you will only need three partitions. / swap and /video
Type: cfdisk /dev/had (assumes you only have one hard drive and linux is all that will be installed on it.
WARNING: This is going to destroy your partition table, so I you have data you want to save on the drive the Save it NOW…
Cfdisk is now open: start by deleting any existing partitions until you have one continuous block of unused space.
Add a partitions of at least 6 gigs
Add a partition of around 512mb
Add a partition with all of yoru remaining space (should be big as recordings run about 1-5 gigs a piece.) You can expand this space by adding more drives and using LVM (look for lvm howto on google)
Choose write and type yes to write the new table to disk. Then Quit cfdisk.
Now Type setup
Choose add swap partition
Choose the 512 mb partition (probably /dev/hda2)
The next step is to choose your root partition pick the ~6g partition (probably /dev/hda1) and format it with the reiserfs file system. I would do a long format and check for bad blocks just to be sure.
Choose to skip the last partition as you will format it later.
No choose the do a full install in the automated mode and then sit back and wait … in a few minutes you will need to change the cd.
(figure out OPTIONS here)
When prompted to choose a kernel go ahead and pick the bare.i (unless you have scsi or something and then pick the right kernel for your hardware). You are going to replace it anyway, so don’t worry about it.
Pick a nice root password and then your good to go. Restart and you will be in your new system and ready to get started. The first step is going to be compiling a new kernel. (download package? Or compile or what?) – edit needed.
Kernel compile
(with test26 kernel
Download new kernel from kernel.org
copy .config file from /usr/src/linux/2.6.13/
inro new 2.6.14.3 dir
make menuconfig
make
make install
modules I think I need:
i2c
lvm
)
Go ahead and restart with your new kernel and if everytign comes up hunky dory, if not then wirte down the error and google it for some info.
The enxt step is to install the drivers for your video capture card. The following directions are for the haupeg line of cards… for other cards googe for help.
Follow the excellent directions on the IVTV Drivers
http://ivtvdriver.org/index.php/Howto
and get your card all set up.
If you are using the tv-out on the pvr350 then you will need to also:
http://dl.ivtvdriver.org/
download xdriver and move it to /usr/X11R6/lib/modules/drivers/
Edit xorg.conf
LIRC
Build from source
Download latest build as old ones wont compile
./setup.sh
change driver to TV cade haupeg and then
save and configure and then
make
make install
add new group lirc (groupadd lirc)
add user to group (useradd lirc –g lirc)
chown lirc:lirc /dev/lirc
chmod 664 /dev/lircd
install LAME
installpkg (get it from linuxpackages.net)
su – u mysql
mysql_install_db
get myth:
mkdir mythtv
cd mythtv
svn co http://svn.mythtv.org/svn/branches/release-0-18-fixes/mythtv
svn co http://svn.mythtv.org/svn/branches/release-0-18-fixes/mythplugins
svn co http://svn.mythtv.org/svn/branches/release-0-18-fixes/myththemes
cd mythtv
./configure –disable-distcc
Qmake mythtv.pro
Make
Sudo make install
Mythtv-setup
(follow directions here-)
Add autostart stuff to /etc/rc.d/rc.local
Post install
ln -s /bin/mythcommflag /usr/local/bin/mythcommflag
edit /opt/kde/share/config/kdm/kdmrc for autologin
add /sbin/modprobe ivtv and ivtv-fb and lirc_i2c to /etc/rc.d/rc.modules
edit /etc/rc.d/rc.inet1 and add -N flag to dhcpcd start up options so that ntp.conf is not overwritten
backup system in place to back up database
mythmusic
fftw -> from linux packages.net
faad -> linuxpackages.net
for faad once it is installed you will still need to download the source, unpack it and then copy common/mp4ff/mp4ff_int_types.h to /usr/include/
./configure –disable-all –enable-mythmusic –enable-aac
libcdaudio -> complie from source no dependancies