Wednesday, June 11, 2008

LVM

So I am working on adding a 320GB drive to my MythTV box. I already know how to add the drive and create the mountpoint for it. What I really want to do though is make the computer not know the difference between the two drives. If it runs out of space on one it will just start using the next. I have figured out to do this I will have to use LVM(logical volume management (I think)) to do this. I will post directions once I figure this out. I am getting close but havent had time to follow up on some of the research I did recently.

Thanks and God Bless
Aaron

Monday, June 9, 2008

Facebook Chat


So for all you Facebook people out there as you probably know they just added a chat feature to the site. Well my only complaint is that you can not yet connect to this network except signed in through the site. Well I found a way around this. I found a windows program called Bubbles. It is kind of like Prism that google recently released except I found it a little easier. It just runs a webpage as if it was a desktop application. I have not tried to see if this will run under wine, but it seems to be using IE6 to render the web pages even though it is not my default browser, so it may need IE6 installed under wine to run properly.

thanks and God Bless
Aaron

Tuesday, June 3, 2008

MythTV upgrade transfer

I recently switched my MythTV computer out to a newer one, mostly because the new one is a dell and it much much quieter than the old one. There were two things I wanted to do to use this new computer. I wanted to transfer all my old recordings, and I wanted to transfer the database that tells mythtv what shows I have already recorded, what I have marked for recording and all that stuff. The first was easy I just hooked my hard drive up through USB and copied over all my recordings. The second took quite a bit of effort. I found a site (after quite a bit of searching) that walked me through it but I still had some issues.

http://mythtv.org/docs/mythtv-HOWTO-23.html#ss23.5

This was EXTREMELY helpful in getting my database transfered to the new computer. But there were a couple of things needed to figure out.

I didn't know the password for the database, but I think it was in /home/[username]/.mythtv/mysql.txt

I also copied over my whole home directory folder. For those that don't know almost all your installed program configurations and everything is installed into home.

Also in the tutorial linked above had two ways of getting data from your backup of sql data, and the second worked for me not the first. To sum up the link above these are the commands I used.



$ mysqldump -u mythtv -pmythtv mythconverg -c > mythtv_backup.sql
$ grep "INSERT INTO \`record\` " mythtv_backup.sql > restore.sql
$ grep "INSERT INTO \`recorded\` " mythtv_backup.sql >> restore.sql
$ grep "INSERT INTO \`oldrecorded\` " mythtv_backup.sql >> restore.sql
$ grep "INSERT INTO \`recordedprogram\` " mythtv_backup.sql >> restore.sql
$ grep "INSERT INTO \`recordedrating\` " mythtv_backup.sql >> restore.sql
$ grep "INSERT INTO \`recordedmarkup\` " mythtv_backup.sql >> restore.sql
$ grep "INSERT INTO \`recordedseek\` " mythtv_backup.sql >> restore.sql




Then to restore data type this on the new computer after moving the restore
file to it.



$ mysql -u mythtv -pmythtv mythconverg <>


Thanks and God bless,
aaron