Converting an Old PC to a Media Centre

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Converting an Old PC to a Media Centre

Post by AJ »

Hi All,

I've recently got a new laptop, so my old "worker PC" has now become a target for some heavy modification! I have an old broken Marantz CD player (for a separates stereo system) and am planning on putting the old mobo in there, silencing things a bit (Athlon XP 1800 with a noisy stock fan) and having this new "media PC" in to my stereo stack as a jukebox / NAS / Firewall / router-type thing :)

Eventually, this will run my own OS (when it's up to scratch), but for now, I'll probably be running linux. Question is, how would you do this and with what distro? The old video card is far too bulky for the case, so I'll pretty much be needing to do everything remotely. Problem is, I'm not too familiar with Linux - I've used vnc before and am vaguely aware of the capabilities of ssh.

My online searches have brought up GeexBox, but this kind of assumes you want a graphical interface and video playback. The aim is that I will eventually be able to control everything via the existing CD player buttons and remote (I have an Atmel AVR development board, so will be fixing something up with that and the old serial port - the SOYO mobo also has an internal spare serial header, which should keep it neat).

So I guess the question is twofold: has anyone here done anything like this at a hardware level before, and does anyone have any views about the kind of OS / distro that is best suited to this sort of environment? Oh - and I'm not looking to throw any money at this :)

Cheers,
Adam

[edit:]PS - it's possible that I will have to reinstall this without a video card in future, so anything which can be installed remotely or without the need for user input would be a big bonus![/edit]
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: Converting an Old PC to a Media Centre

Post by AJ »

I have been doing some further research on this and it looks like Gentoo and Debian are often recommended for this kind of thing. Gentoo even has a pseudo-headless installation method outlined here, which should be very useful. It looks like installing a linux distro headless is really easy if you already have a working distro installed - but I only have win2k on this box at the moment, and no easy access to a monitor (my old monitor went bang :) ).

People also seem to recommend various BSD's quite a bit, but I'd rather stick with Linux.

If I get going nicely, I'll start to outline my progress on my web site, which needs an overhaul at the moment anyway.

Cheers,
Adam
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: Converting an Old PC to a Media Centre

Post by DeletedAccount »

Hi,
I have actually faced this situation and overcome it :mrgreen: . In my college days I intially had only a Amd k6 with 64 mb ram and my hardisk crashed. My development and everything got screwed up . But linux came to the rescue . I can write at length on this . But the easiest soultion is to remaster existing ones like Damn Small Linux or a Light Weight Version Knoppix . You might also find WOMP Linux interesting . Take a look at blueflops as well . I actally made a small rescue floppy with everything i need (tcc -- the most important stuff ) :) .

Wait for a moment , i have to search the old docs :lol:

Regards
Shrek
DeletedAccount
Member
Member
Posts: 566
Joined: Tue Jun 20, 2006 9:17 am

Re: Converting an Old PC to a Media Centre

Post by DeletedAccount »

Hi,
You can also build a uClibc +busybox based distro to suit you own purpose . These are the documents and resources i found to be quite useful . Please do have a look at them . The general idea in any procedure is

(a) Build a root file sytem structure with what you need
(b) compile the kernel with barely enough features needed
(c) Installing the bootloader , In previous linux versions pre 2.6 i guess , you may get away without a bootloader .
(d) setting various configurations files like initab, fstab etc

The links which i found to be useful are as follows

(a) Pocket Linux : www.pocket-linux.org
(b) http://freshmeat.net/projects/natld/
(c) www.ibm.com/developerworks/linux/library/l-lwl1/
(d) http://www.xs4all.nl/~lennartb/installdisk/index.html
(f) http://modest-proposals.com/Hacklin.htm

These are the hard paths , you may actually get things easily done by remastering a knoppix based distro or using an existing one . WOMP! Linux : http://womp.sourceforge.net/ might be all you actually need . Also check out sites on embedded linux , they also contain much relavant information .

Do not make the mistake of thinking that everthing will work as you please , building a linux box of your choice requires lot of patience and hardwork :wink: .

Regards
Shrek
tantrikwizard
Member
Member
Posts: 153
Joined: Sun Jan 07, 2007 9:40 am
Contact:

Re: Converting an Old PC to a Media Centre

Post by tantrikwizard »

AJ wrote:I have been doing some further research on this and it looks like Gentoo and Debian are often recommended for this kind of thing...
I prefer Linux From Scratch for this sort of thing (http://www.linuxfromscratch.org). Gentoo is sorta LFS for dummies. You end up with a barebones custom system with only the minimal requirements and its fast as hell. After you build the base compiler you can specify the optimization for all the default libraries and get some amazing performance improvements over prebuilt distros
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: Converting an Old PC to a Media Centre

Post by AJ »

Wow, Shrek - thanks for digging up all those links! And thanks to tantrikwizard too. I had seen LFS a while back when I was looking at distros to play with linux on a virtual machine, but it hadn't even crossed my mind for this yet.

Right - now to get the dremmel out :)

Cheers,
Adam
Post Reply