R5A12 Installation (Still has a few things to work out)
Asus A7V-133-c BIOS rev 1007
AMD T-Bird 1Ghz
1 gig RAM
1 Maxtor 40gig
1 Maxtor 200gig
Hauppage WinTV-PVR 250 model 980(Silver remote)
NVidia based video card with TV out
Linksys 10/100 ethernet card
SoundBlaster Live 5.1 soundcard
Samsung DVD/CDRW combo drive
Antec Overture case w/Firewire and USB
a. Boot CD and Run Install
Reboot
enter root password
change time zone to EST
install i686 modules
install lirc
skip XvMC
setup Capture card. PVRx50
setup Channels
setup Inputs
installation proceeds to populate database
MySQL error with syntax ????
continues to install and loads mythTV frontend
LiveTV we have snow
mythWeather functional
mythNews set-up has no RSS feeds to select from
b. Install nano graphical editor
ctr-alt-F1
login: root
apt-get update
apt-get install nano
c. Edit lilo.conf and install nVidia drivers
nano /etc/lilo.conf
change vga=xxx to vga=normal
ctl+x
Y
<enter>
lilo -v
cd /usr/src
tar xjvf kernel<TAB>
install-nv<TAB>
gdm will be restarted and you will wind up there
ctrl-alt-f1
reboot
Fixes your console so you can see it, unpacks kernels source, compiles nvidia driver and installs
d. Tuner displaying snow. Change tuner to fix
ssh in as root or however you like to do a shell
nano /etc/mythtv/modules/ivtv
change tuner type=2 to tuner type =39
ctrl-x
y
<enter>
Hopefully fixes the snow on liveTV
e. DVD playback
Works for non encrypted DvD’s
reboot
Not seeing any major errors on reboot
enter root password to complete configuration script
entering Yes and No as requested
Running through Settings 1-4
( Can I re-run myth-setup at a later date to edit out channels I do not want without screwing anything up?)
liveTV=Functional
PG=functional
(note system time is correct. R5A10 kept resetting the clock)
Setup/Utils
Run through all the set-ups and check settings
(TV files are stored in /var/lib/mythtv/ need to have this explained to me. symlink maybe?)
f. Adding icons to your Channel Line-up
login: root
wget
http://cvs.mythtv.org/cgi-bin/viewcvs.c ... iconmap.pl
apt-get install libwww-perl
perl mkiconmap.pl
Respond to the prompts accordingly.
mythfilldatabase --import-icon-map iconmap.xml --update-icon-map
Icons for channel listings d/led, imported, and functional
g. Setting up Samba for a read/write share available to Windows2k/XP
/etc/init.d/samba start
update-rc.d samba defaults
Samba started and set to restart at boot. /myth now available as a read/write share
go to your XP box and open Explorer
Tools/Map Network Drive
enter \\mythboxname\myth
login mythtv
pswd mythtv
h. mythNews has a bad .xml file in version .17. Here is the fix
mythNews has no RSS feeds
Apparently .17 has a bad file /usr/share/mythtv/mythnews/news-sites.xml
delete it and reload a new one from here.
http://cvs.mythtv.org/cgi-bin/viewcvs.c ... iew=markup
mythNews now has RSS feeds to choose from
i. Synchronizing your KnoppMyth V5A10 system clock with an NTP time server and enabling it to work on boot
apt-get update
apt-get install ntp-server
nano /etc/ntp.conf
server pool.ntp.org ( I added 4 of these to my config)
* To start NTPD immediately
/etc/init.d/ntp-server start
* To start NTPD on boot
update-rc.d ntp-server defaults
mythWeb is functional
j. setup LVM and move /myth over, then extend new partition to use the original hda4
1. Partition the drive. The following assumes your new drive currently has no partitions set up. Also, when creating the partition, we need to make sure to change the type of the partion we create to 8e (Linux LVM).
• fdisk /dev/hdb
• Command (m for help): n
• Command action
• e extended
• p primary partition (1-4)
• p
• Partition number (1-4): 1
• First cylinder (1-19457, default 1): (press Enter for default)
• Last cylinder or +size or +sizeM or +sizeK (1-19457, default 19457):
• (Press Enter for default)
• Command (m for help): t
• Hex code (type L to list codes): 8e
• Command (m for help): w
2. Initialize Disk (Creating the Physical Volume). The following command creates a volume group descriptor at the start of the partition /dev/hdb1.
• pvcreate /dev/hdb1
3. Create a volume group vg (/dev/vg)
• vgcreate vg /dev/hdb1
NOTES: when I did this step, I got an error... (No error for me)
vgcreate -- ERROR "lvm_tab_read(): size" inserting volume group "vg" into "/etc/lvmtab"
Solved by deleting /etc/lvmtab, then using vgscan and continuing with Step 4.
4. Use vgdisplay to find the "Total PE" size to create a logical volume that uses the entire volume group. Then use the size displayed to create the logical volume named myth.
• vgdisplay vg | grep "Total PE"
• Total PE 4768
• lvcreate -l 4768 vg -n myth
Note: In R5A12, the device-mapper is not loaded by default and so lvcreate will error. Load the device mapper (and set it to load automatically in the future) before running lvcreate. --Abelard Snazz
• modprobe dm-mod
• echo dm-mod >> /etc/modules
5. Create the ext3 filesystem for the logical volume (/dev/vg/myth) you created. I used the recommendation from the manual install section of the Knoppmyth installation instructions page.
• mke2fs -j -O sparse_super -m0 -i8000000 -L myth /dev/vg/myth
6. Mount your logical volume. I chose to mount it to /mnt/hdb1 since it was already created for me. If /mnt/hdb1 does not exist, just do mkdir /mnt/hdb1 to create it.
• mount /dev/vg/myth /mnt/hdb1
7. Copy over the files from /myth to /mnt/hdb1.
• cp -p -r /myth/* /mnt/hdb1
8. Edit /etc/fstab. Comment out or change /dev/hda to /dev/vg/myth.
#/dev/hda4 /myth auto defaults,auto 0 2
/dev/vg/myth /myth auto defaults,auto 0 2
9. Set LVM to start up at boot. An lvm script is allready installed in /etc/init.d/lvm.
• update-rc.d lvm start 26 S . stop 82 1 .
10. Reboot After rebooting your box should now be using the second drive as the /myth mount.
Adding your original partition's disk space to the volume group
If you stop at Step 10 above, your original /dev/hda4 partition is now unused space. If you'd like to add it to the volume group for additional recording space, you can take the following additional steps (all done as root):
11. Reformat /dev/hda4 as Linux LVM. Basically, you redo Step 1 above but this time on /dev/hda. You first run fdisk /dev/hda, delete partition 4 (I believe the fdisk command is 'd,' it then prompts you for which partition to delete, and you enter 4), then create a new LVM partition out of the old partition 4 space by following the steps listed in Steps 1 and 2 above.
12. Add the newly formatted /dev/hda4 to your volume group
• vgextend vg /dev/hda4
13. Expand the filesystem to take up all the new available space. This will require that you first unmount the volume group. I did it this way which is hopefully correct--I first changed runlevel to single user, which allowed me to unmount the volume group:
• telinit 1
• umount /dev/vg/myth
You then use the lvextend command to extend the logical volume by the amount of space available in /dev/hda4. Type
• vgdisplay
and look for the "Free PE" number before the slash. Then use that number in place of the xxxx in this command:
• lvextend -l+xxxx /dev/vg/myth
Once extended you then have to increase the file system to match. If you followed the steps above, the file system is using ext3. To resize this, you would use resize2fs after running a required fsck.
• e2fsck -f /dev/vg/myth
• resize2fs /dev/vg/myth
Also, you can supposedly combine the above lvextend, resize2fs, and fsck steps above with a single command:
• e2fsadm -l+xxxx /dev/vg/myth
(where xxxx is the size of the partition you're adding). Anyone confirming this can edit this section appropriately. (Yes, this does work. In fact this command is required to reduce a logical volume safely which I have written in BreakingUpLvmHowTo -- Maaltan)
14. I think you should be able to remount /dev/vg/myth at the /myth mount point, and telinit 5 to change runlevel back to where it was. But I was chicken so I just rebooted.
Originally by frustrated
http://mysettopbox.tv/phpBB2/viewtopic. ... hlight=lvm
See also
http://tldp.org/HOWTO/LVM-HOWTO/recipem ... ewsys.html and
http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html
(After doing all this I get a looong list of /dev/cdrom and /dev/sdxx that cannot be opened. I assume this is LVM scanning for devices to add to group. I would like to limit it to scan for only those that are there. Anyone know?)
k. Lirc setup and configuration for Hauppage silver remote
This is still being a pain. Anyone with good info on installing it under the R5A12 would appreciate a link.
l. nuv2disk
(need to find those instructions that flash by during set-up. how to make the button and need to run a file somewhere)
based on the name I assume this is an applications to transcode the .nuv files created by the liveTV recorder and create iso’s to burn to disk
/video dir is set to /var/lib/myttv.. is that an error or a linux thing I need to learn?
j. mythGame set-up
Unable to find catver.ini error when clicked. I have a fix for that somewhere.
In R4V5 I could continue on and run tux racer. Now I get a black screen with a mouse cursor and nothing else happening. Also apparently no way to get out of it, so I reboot. Bah
k. Final assessment at this point
mythTV=Plays, Records, Guide, Schedules
mythBrowser=Browses
mythDVD=Plays, Rips (does not rip audio tracks as specified in the rip menu, needs work)
mythGallery=Slideshows and Displays (Thumbnails are not properly scaled versions of images)
mythGame=Broken. More research needed. May have to install from scratch and edit all paths in myth setup.
mythMusic=Plays, (Importing CD crashes myth at the end of the first track, Write error maybe) it worked fine in R4A10
mythNews=RSS feeds work and opens Browser and requested
mythWeather=functional
mythVideo=functional
mythWeb=functional (with exception of streaming although I am not sure that is what it is trying to do, errors when selecting recorded programs and tries to u/l music files)