Just was able to upgrade a frontend to R5F27 this evening, so I thought I'd share my experience with R5F27. Here's what I did:
Backed up my existing /etc /home and /root partitions to my MBE.
Code:
# cd /
# tar cvf /myth/backup/[path to where you want to save]/savedfiles-[hostname].tar ./etc ./home ./root
Code:
boot: knoppmyth testcd
Note that I did not use the "tv" option. My LCD monitor can handle the default 1024 resolution. If you're installing to a regular SDTV, you probably want to add it before the "testcd" option.
Main Menu:
Option 3: Auto Install
Choose timezone, username/password, root password, hostname
Yes to the auto partitioning and install
Install success, reboot
Upon reboot I saw a couple errors, but from what I've read, they are harmless. The first was a fatal error for the cx88_dvb. The other for /sys being busy.
Configuration:
Enter root password
After I entered the root password, there was an error about apache that flew by quickly. I did not catch what it said. I was not concerned because I'm doing a FE only install. Sorry I did not see the entire message.
Enter network info.
Jumps to Mythtv-Setup
Esc, OK to warning
Enter ZIP Code
A call to tv_grab_na_icons comes up
Bootsplash? No
RRD? No
LIRC? Haup PVR150 w/tx & rx
Serial IR Blaster? Yes, COM1, Not Listed (This is just an IR receiver)
Warning about IR Blaster not configured.
ROMDB? No
Mythweb Pass (dosn't apply, but I needed to enter one)
Folding? No (for now)
Frontend restarts
Ctrl-Alt-F1
Login as root
Code:
# /etc/init.d/mythtv-backend stop
# /etc/init.d/mysql stop
# pico /etc/mysql/mythtv/mysql.txt
Edit hostname to the IP address of your master backend.
Did the same for
/home/mythtv/.mythtv/mysql.txt and commented out
DBType as well.
Code:
# update-rc.d -f mythtv-backend remove
# update-rc.d -f mysql remove
# update-rc.d -f apache2 remove
# pico /etc/fstab
Fixup /
dev/hda3mount point so it's
not /myth
Add NFS mount for /myth. My NFS mount looks like this:
Quote:
192.168.11.4:/myth /myth nfs defaults,noatime,tcp,hard,intr,actimeo=0,wsize=32768,rsize=32768 0 2
Restore files:
Code:
# cd /
# tar xvf /path/to/saved/files .{items I list below}
Note the period!
/etc/X11/xorg.conf
/etc/lircd/lircd.conf
/home/mythtv/.mythtv/lircrc
/home/mythtv/.mythtv/knoppmyth.xml (custom - No backup/restore)
/home/mythtv/.xine/config
/etc/irblaster/irblasterd.conf
Edit /usr/bin/startx
Line 26 add "-logverbose 6" to the server arguments --helps if debugging is needed.
Line 130 Comment out: xserverauthfile=$HOME/.serverauth.$$
Add in place: xserverauthfile=$XAUTHORITY
See
http://www.shallowsky.com/blog/linux/serverauth.htmlEdit /etc/logrotate.conf
Add the following to the end:
Code:
/home/mythtv/.xsession-errors {
rotate 5
daily
dateext
}
Run /usr/local/bin/setup_apcupsd.sh
That's it. So far, so good. Time for bed though... Whew.
It's a new day now, so I'll add a little more information...
Re: Folding@Home
The folding@home script that configures the service sets the folding directory to
/myth/folding@home. That's no good since my myth directory is a NFS mount and the master backend is also folding in that directory. So, I edit
/etc/init.d/folding@home script and change the folding@home directory to
/folding@home. I then executed
/usr/local/bin/FAH504-Linux.exe -config and entered all my information and preferences. I then killed the process with a Ctrl-C and executed
/etc/init.d/folding@home configure to get the startup links set up. Lastly, I simply did a
Code:
# /etc/init.d/folding@home start
to fire it up.