You are not logged in.

Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Edster

Beginner

  • "Edster" started this thread

Posts: 15

Location: London

  • Send private message

1

Monday, June 14th 2004, 8:29pm

How-to : VDR under gentoo linux

Here is a basic guide to get linux up and running and ready for VDR (which is installed at the end using a menu install script)

Boot up off Gentoo disk 1

If needed run net-setup eth0

passwd to set the root password
/etc/init.d/sshd - If you wish to do this from another pc

run fdisk /dev/hda (Follow the instructions in Gentoo section 6)
For me this was -
n / p / 1 / ENTER / +50M
n / p / 2 / ENTER / +500M
t / 2 / 82
n / p / 3 / ENTER / ENTER
a / 1
p
w

Now format the partitions
mke2fs -j /dev/hda1
mkswap /dev/hda2
mke2fs -j /dev/hda3


and mount them
swapon /dev/hda2
mount -t ext3 /dev/hda3 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount -t ext3 /dev/hda1 /mnt/gentoo/boot


Start installing:
cd /mnt/gentoo
tar -xvjpf /mnt/cdrom/stages/stage2-*.tar.bz2
mount -o bind /proc /mnt/gentoo/proc
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf


Climb into your new system:
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile


Get everything up to date:
emerge sync
export CONFIG_PROTECT="-*"
export USE="-* bootstrap build"
emerge portage
etc-update
unset USE


edit /etc/make.conf and set the USE line to :
USE="alsa dvd perl usb tiff gif avi jpeg mpeg -X -kde -gnome"

And now start bringing down all the system files you need :
emerge -p system
emerge system
- This line will take a *long* time

Make sure it is up to date:
emerge sync
emerge -up world
emerge -u world


Set the timezone to your local time (for me this was)
ln -sf /usr/share/zoneinfo/GB /etc/localtime

Get the 2.4 Kernel source code and then compile it
emerge sys-kernel/vanilla-sources

cd /usr/src/linux
source /etc/profile
make clean
make menuconfig

(Code maturity level options / Prompt for development drivers = "*")
(add in a module for your network card as 'M')
(add in Multimedia / video for Linux as 'M')
(add in Filesystems / Ext3 + dos / MSDos + Vfat and '/dev' and 'mount at Boot' all as 'M')

make dep && make bzImage
make modules && make modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot/kernel-2.4.26
(change name to fit version number)

Now install GRUB - the boot loader and configure it
emerge grub
grub
root (hd0,0)
setup (hd0)
quit

cd /boot/grub
nano -w grub.conf


Fill the file with -

Source code

1
2
3
4
5
6
7
default 0 
timeout 15 
splashimage=(hd0,0)/boot/grub/splash.xpm.gz 

title=Gentoo Linux 
root (hd0,0) 
kernel (hd0,0)/boot/kernel-2.4.26 root=/dev/had3


Install a system logger
emerge app-admin/metalog
rc-update add metalog default


Install Cron (runs commands at set times)
emerge sys-apps/fcron
rc-update add fcron default


Edit the FSTAB file
nano -w /etc/fstab
Change the lines to show where your drives are eg
/dev/BOOT becomes /dev/hda1
/dev/SWAP becomes /dev/hda2
/dev/ROOT becomes /dev/hda3

set root passwd
passwd

set machine hostname
echo pvr-pc > /etc/hostname

Setup the network
nano -w /etc/conf.d/net - this is where you put DHCP or your ip addresses
rc-update add net.eth0 default
rc-update add sshd default


basic setup
nano -w /etc/rc.conf - setup things like keyboard type

The system is now ready to boot and test.
etc-update
update-modules
exit
reboot


Log back in (if you have problems booting then boot off disk 1 again and go back to the 'mount' step)

Emerge useful packages
emerge lynx
emerge vim


Install ALSA from http://www.gentoo.org/doc/en/alsa-guide.xml
grep audio /proc/pci - look for the model name of the card
env ACCEPT_KEYWORDS="~x86" ALSA_CARDS='intel8x0' emerge alsa-driver - replace intel8x0 with your card

to support future recompiles add the following line to your /etc/make.conf file
ALSA_CARDS='intel8x0'

env ACCEPT_KEYWORDS="~x86" ALSA_CARDS='intel8x0' emerge alsa-oss

nano -w /etc/modules.d/alsa [b] Fill it with :

Source code

1
2
3
## ALSA portion 
alias snd-card-0 snd-intel8x0 
update-modules 


[b]env ACCEPT_KEYWORDS="~x86" emerge alsa-utils


rc-update add alsasound boot
/etc/init.d/alsasound start


amixer set Master 100 unmute
amixer set PCM 100 unmute



Emerge packages needed for the VDR install
emerge dialog

Now get the VDR install script
cd /root
wget ftp://ftp.cadsoft.de/vdr/Tools/vdr-install-script-0.5.8.run

and run it
sh *.run
Download the parts you would like and the script does the rest.
------------------------------------------------------------------
VDR 1.3.45 on a Gentoo (2006.0) Compaq pc
Plugins for DVD, CD, Image etc (nothing too fancy)

PVR Web - Helps you to setup VDR
------------------------------------------------------------------

This post has been edited 1 times, last edit by "Edster" (Jun 29th 2004, 10:06am)


2

Monday, June 14th 2004, 10:43pm

Hmmm ,
good work , but what you wrote in thousands lines ,
i could do in 5 :D :D

1. http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml
2. Now get the VDR install script
3. cd /root && wget http://pvrguide.no-ip.com/files/vdr/vdr-…cript-0.5.8.run
4. chmod +x vdr-install-script-0.5.8.run && ./vdr-install-script-0.5.8.run
5. Download the parts you would like and the script does the rest.

and its more complete

;)

btw. You r a football fan ?? :mua

This post has been edited 1 times, last edit by "Morone" (Jun 14th 2004, 10:44pm)


Edster

Beginner

  • "Edster" started this thread

Posts: 15

Location: London

  • Send private message

3

Monday, June 14th 2004, 10:57pm

LOL - I guess your english is better than mine if you can sum it up that quick.

The idea was to give people a follow through guide where it lists all the bits you need for VDR - but I guess your version takes up less disk space
:D
------------------------------------------------------------------
VDR 1.3.45 on a Gentoo (2006.0) Compaq pc
Plugins for DVD, CD, Image etc (nothing too fancy)

PVR Web - Helps you to setup VDR
------------------------------------------------------------------

Austrian Coder

Professional

Posts: 1,616

Location: Österreich

Occupation: Student

  • Send private message

4

Monday, June 14th 2004, 11:06pm

Quoted

Original von Morone

2. Now get the VDR install script


Why not using the ebuilds for vdr?

Edster

Beginner

  • "Edster" started this thread

Posts: 15

Location: London

  • Send private message

5

Tuesday, June 15th 2004, 11:12am

I do it using the install script as you can tweak the options that way. You can do it using the ebuilds too

and this was added on by Christian :

There are also ebuilds for gentoo.
Add this line at /etc/make.conf

SYNC="rsync://rsync16.de.gentoo.org/gentoo-merged"

Now make an emerge rsync.
At this point you have the official gentoo ebuilds and the ebuilds from gentoo.de

ACCEPT_KEYWORDS="~x86" emerge -p vdr
ACCEPT_KEYWORDS="~x86" emerge vdr
------------------------------------------------------------------
VDR 1.3.45 on a Gentoo (2006.0) Compaq pc
Plugins for DVD, CD, Image etc (nothing too fancy)

PVR Web - Helps you to setup VDR
------------------------------------------------------------------

Posts: 2,805

Location: Landkreis Dahme-Spreewald (LDS)

  • Send private message

6

Wednesday, June 23rd 2004, 12:27pm

:gap

This post has been edited 3 times, last edit by "ronnykornexl" (Oct 27th 2005, 8:10pm)


Edster

Beginner

  • "Edster" started this thread

Posts: 15

Location: London

  • Send private message

7

Tuesday, June 29th 2004, 10:13am

Thank you Ronny

I have changed the wget line to point to the script off the real server so it should stay up to date now.

What is the bit about the 'kernel stuff'.
This seems to be a script to compile the kernel ?
I do not have this file. Where is it on your pc ?
------------------------------------------------------------------
VDR 1.3.45 on a Gentoo (2006.0) Compaq pc
Plugins for DVD, CD, Image etc (nothing too fancy)

PVR Web - Helps you to setup VDR
------------------------------------------------------------------

Posts: 2,805

Location: Landkreis Dahme-Spreewald (LDS)

  • Send private message

8

Tuesday, June 29th 2004, 6:11pm

.

This post has been edited 2 times, last edit by "ronnykornexl" (Oct 27th 2005, 10:47am)


Posts: 2,805

Location: Landkreis Dahme-Spreewald (LDS)

  • Send private message

9

Friday, July 23rd 2004, 9:40pm

.

This post has been edited 2 times, last edit by "ronnykornexl" (Oct 27th 2005, 10:47am)


Edster

Beginner

  • "Edster" started this thread

Posts: 15

Location: London

  • Send private message

10

Friday, July 23rd 2004, 11:24pm

People pick e-builds and rpms and emerges and all the other metods because they are quick and easy.

The reasons NOT to use ebuilds -
1. You do not learn how the software works and clips together
2. It is setup the way someone else likes it. You can not do much cusomisation on it.
3. You do not get all the options. Most easy install build of vdr do not include most of the plugins.

If you are starting off on the vdr path then use Ronnys script. It is *great*
:]
------------------------------------------------------------------
VDR 1.3.45 on a Gentoo (2006.0) Compaq pc
Plugins for DVD, CD, Image etc (nothing too fancy)

PVR Web - Helps you to setup VDR
------------------------------------------------------------------

Austrian Coder

Professional

Posts: 1,616

Location: Österreich

Occupation: Student

  • Send private message

11

Saturday, July 24th 2004, 1:18am

One moment.

I see no differeces between ebuilds in the install script!

Quoted


1. You do not learn how the software works and clips together

The install script has the same "problem". If you want to know how software works an clips together you should
a) start to code with some libs
b) setup linux from scratch

Quoted


2. It is setup the way someone else likes it. You can not do much cusomisation on it.


The same "problem" has also the install scritp. Because you know the ebuilds so good, please tell me, where are the differences of setup are.
Different paths?

Quoted


3. You do not get all the options. Most easy install build of vdr do not include most of the plugins.

Ok guy, tell me how many ebuilds are supported. And please tell me, how long it takes, if somebody wants a plugin-ebuild.

He will post it in to the request thread and will wait about 1-2 days. But often i have the ebuild the same day.


The question for me:
Why are you using gentoo - a source based distro with ebuilds? It make no sense.

Greets, Christian

This post has been edited 1 times, last edit by "Austrian Coder" (Jul 24th 2004, 1:21am)


12

Sunday, June 10th 2007, 5:09pm

So, I installed, via lastest scrript

and

when i run

runvdr start

i nothink see

only

Channel not found. on black screen... nothink more

13

Sunday, June 10th 2007, 8:02pm

Maybe your channellist is from 2004 :mua *joke

14

Sunday, June 10th 2007, 8:51pm

Yes

but i don't see any GUI, just console log...