Introduction
I wanted my MP frontend as quiet as possible. For this I wanted to remove as much as moving parts as possible.
The harddisk is such a moving part which had to go.
As I have the TV-Server running on a separate computer, no TV cards are present in the frontend.
See Cold Startup at YouTube - Boot XP From Compact Flash (then MediaPortal)
Setup
Frontend
Gigabyte AMD939 board with Athlon 3000
DVD drive
512 Mbye memory
4Gbyte Compact Flash card connected to the IDE port by use of a CF2IDE converter.
NVidia 6600LV passive cooled.
Backend
Intel 775 board with Pentium4 3.2Ghz
1.5 Gbyte Memory
1.2Gbyte of storage
1 Hauppage PVR500
1 NTTV card
1 Hauppauge DVB-S Nova
This tutorial will assume you will have TV Server on a separate machine and use a dedicated Client PC as frontend. To make this Client PC as small and quiet as possible the Harddisk is replaced by a compact flash card (costing no more then $30,- max).
Hardware to buy (costs about $30 including shipping)
Goto ebay and search for "compact flash ide" or when you have an s-ata port to spare, search for "compact flash sata".
While you are there, search for "compact flash 4G" to obtain a compact flash card.
40speed will do fine (everything faster is a nice to have)
Tip
Do your full install on a harddisk and after you completely finished installing everything you want, GHOST the harddisk to compact flash.
Sofware
nLite
Download, install and startup nLite ( nLite - Deployment Tool for the bootable Unattended Windows installation )
Click "Browse" to select your XP CD
Select your (empty) working directory
(you can load the ini files attached to this message)
Select the actions you want to perform
Service packs for installing the latest XP SP3 (SP3 contains SP1 and SP2, so only SP3)
Hotfixes for installing the latest updates from windows Update (and other stuff you want to include)
Drivers for installing the drivers for your hardware like the graphic card, Ethernet, sound driver etc
(Remove) Components for removing everything you are not going to use (like fonts obsolete drivers, etc
Unattended will give you the possibility to startup the install and go to sleep.
Options and Tweaks will give you the possibility to tweak the system to your needs, like the way XP starts up, the way XP looks, etc.
Bootable ISO To create a bootable Disk or ISO with all your stuff included
Things you really have to do with nLite
You can choose to do nothing and only do the drivers section and unattended, but, do also the following to make things a bit faster:
Tweaks:
Performance: Disable Last Accessed Time stamp on files
Performance: Disable optimized hard disk when idle
Performance: Disable paging of kernel and core-os
Performance: Minimal Power Management
Startup your computer with only the CD/DVDRom and CF connected
Boot from CD/DVD Rom
When requested, select the CF as installation disk and (quick) format it as NTFS.
From this moment on, go on holiday, go to sleep, work or whatever because the installation will take a long time as writing to the CF is very slow.
When you come back (After a few hours or so), you will have a booted system, hopefully with all drivers in place and ready to go.
It will be kind of slow and sluggish and every write to the CF will be notices as an hickup.
Here EWF will be used later on to make a bleeding fast system (further in the How To).
Do not install to much at this moment as you will pollute your system.
Perform the following tasks to improve the speed (can also be done in nLite)
Turn off system restore
Right-click My Computer -> Properties -> System Restore tab -> Enable Turn off System restore on all drives
Disable Indexing Services
Control Panel -> Add/Remove Programs -> Add/Remove Window Components -> Uncheck the Indexing services
Disable Hibernation
Set Windows to auto-logon a single user
Disable Fast-user Switching
Disable System File Proctection
Disable paging
Control Panel -> System -> Advanced -> Performance -> Settings -> Advanced -> Virtual Memory
Set it to “no paging file” and press “Set”
On your server, prepare the following:
Create an empty directory
Create a Shared Disk from this directory e.g. \\server\MP
Download MP to this directory
Download ffdshow to this directory
Download Haali Matroska splitter to this directory
Download VNC to this directory (handy to configure things from your main PC)
Download EWF (part of a package found here )
Unpack this ISO to a a directory named \\server\MP\XpeSP2FeaturePack2007 (use WinRar or simular)
Within the \\server\MP\XpeSP2FeaturePack2007 directory, there is a file called xpefp2007.exe
UNpack this file (with winrar) to a directory called \\server\MP\XpeSP2FeaturePack2007\xpefp2007
Back to your Frontend PC (Client)
To run .NET applications (like MP) from a network share, you have to tell the system that the share is trusted. If you do not do this, you will get a Security Exeption.
Trust the share
open command window.
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
caspol -m -ag LocalIntranet_Zone -url \\server\MP\* FullTrust
Create a shortcut, on your desktop, to the previously created share ( \\server\MP). This will become handy because you will use this a lot.
Create a Commit.bat file on your desktop (will come in handy later on) with the following content:
“ewfmgr c: -commit”
Install ffdshow
Install Haali Matroska splitter
Install VNC
Install MP to \\server\MP. The reason is that changes made in MP will be saved (EWF will prevent it from saving it to c:\....)
Reboot your system and make a backup (I just used ghost to write it to a temporary attached hard disk).
Enhanced Write Filter
EWF will sit between your applications (also the operating system) and your Hard disk or Compact Flash Card. It will intercept all writes to the Disk and store it in RAM. As RAM is very fast (in respect to HD en CF) this will done instantly. When you reboot the system, you loose all the changes. This does not sound ideal, but it really is as your system will be rock steady. Whenever you need to write changes to your hard disk or CF, you can use the Commit.bat file described previously.
Copy \\server\MP\ XpeSP2FeaturePack2007\xpefp2007\rep\ewfntldr
to c:\ntldr (this will overwrite your original ntldr
Copy \\server\MP\ XpeSP2FeaturePack2007\xpefp2007\rep\ewfmgr.exe
to c:\windows\system32
Copy \\server\MP\ XpeSP2FeaturePack2007\xpefp2007\rep\ewf*.dll
to c:\windows\system32
Copy \\server\MP\ XpeSP2FeaturePack2007\xpefp2007\rep\ewf.sys
to c:\windows\system32\drivers
Copy \\server\MP\ XpeSP2FeaturePack2007\xpefp2007\rep\horm.dat
to c:\
Save the attachment ewf.reg.txt to C:\ewf.reg and open it.
I myself had problems with the following key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root
If you have too, go into the registry and set the Permissions of Root (temporary) to full control.
Reboot
If everything is OK, you will have a relative fast booting system which handles very fast when is up and running.
Some Timing
12.8 Seconds when BIOS Information disappears
16.9 Seconds when I see the windows Logo with KnightRider Bar
23.0 Second when I see my Desktop
40.1 Seconds when MP is fully started
Remark
When the PC boots into windows and MP is automatically started, it can happen that the network is still not available. For this, I wrote a small program which can be started from the "Start Menu"/"Programs"/"Startup".
It is Called WaitForNetwork and takes 3 arguments
TryForNumberOfMillisecond
HostNameOfYourShare
FullNetworkPathToMP
It will start MP the moment it finds the computer with the network share.
You should disable Automatic startup in the configuration.
You can use this small application also for starting other stuff from the network share. Just replace the FullNetworkPathToMP to the Full Path to your Program.
I wrote everything down from memory so feel free to comment.
Have fun,
Ben
______________________
some of my [HowTo] guides
Media Portal Frontend on Compact flash - Tutorial
I wanted my MP frontend as quiet as possible. For this I wanted to remove as much as moving parts as possible.
The harddisk is such a moving part which had to go.
As I have the TV-Server running on a separate computer, no TV cards are present in the frontend.
See Cold Startup at YouTube - Boot XP From Compact Flash (then MediaPortal)
Setup
Frontend
Gigabyte AMD939 board with Athlon 3000
DVD drive
512 Mbye memory
4Gbyte Compact Flash card connected to the IDE port by use of a CF2IDE converter.
NVidia 6600LV passive cooled.
Backend
Intel 775 board with Pentium4 3.2Ghz
1.5 Gbyte Memory
1.2Gbyte of storage
1 Hauppage PVR500
1 NTTV card
1 Hauppauge DVB-S Nova
This tutorial will assume you will have TV Server on a separate machine and use a dedicated Client PC as frontend. To make this Client PC as small and quiet as possible the Harddisk is replaced by a compact flash card (costing no more then $30,- max).
Hardware to buy (costs about $30 including shipping)
Goto ebay and search for "compact flash ide" or when you have an s-ata port to spare, search for "compact flash sata".
While you are there, search for "compact flash 4G" to obtain a compact flash card.
40speed will do fine (everything faster is a nice to have)
Tip
Do your full install on a harddisk and after you completely finished installing everything you want, GHOST the harddisk to compact flash.
Sofware
nLite
Download, install and startup nLite ( nLite - Deployment Tool for the bootable Unattended Windows installation )
Click "Browse" to select your XP CD
Select your (empty) working directory
(you can load the ini files attached to this message)
Select the actions you want to perform
Service packs for installing the latest XP SP3 (SP3 contains SP1 and SP2, so only SP3)
Hotfixes for installing the latest updates from windows Update (and other stuff you want to include)
Drivers for installing the drivers for your hardware like the graphic card, Ethernet, sound driver etc
(Remove) Components for removing everything you are not going to use (like fonts obsolete drivers, etc
Unattended will give you the possibility to startup the install and go to sleep.
Options and Tweaks will give you the possibility to tweak the system to your needs, like the way XP starts up, the way XP looks, etc.
Bootable ISO To create a bootable Disk or ISO with all your stuff included
Things you really have to do with nLite
You can choose to do nothing and only do the drivers section and unattended, but, do also the following to make things a bit faster:
Tweaks:
Performance: Disable Last Accessed Time stamp on files
Performance: Disable optimized hard disk when idle
Performance: Disable paging of kernel and core-os
Performance: Minimal Power Management
Startup your computer with only the CD/DVDRom and CF connected
Boot from CD/DVD Rom
When requested, select the CF as installation disk and (quick) format it as NTFS.
From this moment on, go on holiday, go to sleep, work or whatever because the installation will take a long time as writing to the CF is very slow.
When you come back (After a few hours or so), you will have a booted system, hopefully with all drivers in place and ready to go.
It will be kind of slow and sluggish and every write to the CF will be notices as an hickup.
Here EWF will be used later on to make a bleeding fast system (further in the How To).
Do not install to much at this moment as you will pollute your system.
Perform the following tasks to improve the speed (can also be done in nLite)
Turn off system restore
Right-click My Computer -> Properties -> System Restore tab -> Enable Turn off System restore on all drives
Disable Indexing Services
Control Panel -> Add/Remove Programs -> Add/Remove Window Components -> Uncheck the Indexing services
Disable Hibernation
Set Windows to auto-logon a single user
Disable Fast-user Switching
Disable System File Proctection
Disable paging
Control Panel -> System -> Advanced -> Performance -> Settings -> Advanced -> Virtual Memory
Set it to “no paging file” and press “Set”
On your server, prepare the following:
Create an empty directory
Create a Shared Disk from this directory e.g. \\server\MP
Download MP to this directory
Download ffdshow to this directory
Download Haali Matroska splitter to this directory
Download VNC to this directory (handy to configure things from your main PC)
Download EWF (part of a package found here )
Unpack this ISO to a a directory named \\server\MP\XpeSP2FeaturePack2007 (use WinRar or simular)
Within the \\server\MP\XpeSP2FeaturePack2007 directory, there is a file called xpefp2007.exe
UNpack this file (with winrar) to a directory called \\server\MP\XpeSP2FeaturePack2007\xpefp2007
Back to your Frontend PC (Client)
To run .NET applications (like MP) from a network share, you have to tell the system that the share is trusted. If you do not do this, you will get a Security Exeption.
Trust the share
open command window.
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
caspol -m -ag LocalIntranet_Zone -url \\server\MP\* FullTrust
Create a shortcut, on your desktop, to the previously created share ( \\server\MP). This will become handy because you will use this a lot.
Create a Commit.bat file on your desktop (will come in handy later on) with the following content:
“ewfmgr c: -commit”
Install ffdshow
Install Haali Matroska splitter
Install VNC
Install MP to \\server\MP. The reason is that changes made in MP will be saved (EWF will prevent it from saving it to c:\....)
Reboot your system and make a backup (I just used ghost to write it to a temporary attached hard disk).
Enhanced Write Filter
EWF will sit between your applications (also the operating system) and your Hard disk or Compact Flash Card. It will intercept all writes to the Disk and store it in RAM. As RAM is very fast (in respect to HD en CF) this will done instantly. When you reboot the system, you loose all the changes. This does not sound ideal, but it really is as your system will be rock steady. Whenever you need to write changes to your hard disk or CF, you can use the Commit.bat file described previously.
Copy \\server\MP\ XpeSP2FeaturePack2007\xpefp2007\rep\ewfntldr
to c:\ntldr (this will overwrite your original ntldr
Copy \\server\MP\ XpeSP2FeaturePack2007\xpefp2007\rep\ewfmgr.exe
to c:\windows\system32
Copy \\server\MP\ XpeSP2FeaturePack2007\xpefp2007\rep\ewf*.dll
to c:\windows\system32
Copy \\server\MP\ XpeSP2FeaturePack2007\xpefp2007\rep\ewf.sys
to c:\windows\system32\drivers
Copy \\server\MP\ XpeSP2FeaturePack2007\xpefp2007\rep\horm.dat
to c:\
Save the attachment ewf.reg.txt to C:\ewf.reg and open it.
I myself had problems with the following key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root
If you have too, go into the registry and set the Permissions of Root (temporary) to full control.
Reboot
If everything is OK, you will have a relative fast booting system which handles very fast when is up and running.
Some Timing
12.8 Seconds when BIOS Information disappears
16.9 Seconds when I see the windows Logo with KnightRider Bar
23.0 Second when I see my Desktop
40.1 Seconds when MP is fully started
Remark
When the PC boots into windows and MP is automatically started, it can happen that the network is still not available. For this, I wrote a small program which can be started from the "Start Menu"/"Programs"/"Startup".
It is Called WaitForNetwork and takes 3 arguments
TryForNumberOfMillisecond
HostNameOfYourShare
FullNetworkPathToMP
It will start MP the moment it finds the computer with the network share.
You should disable Automatic startup in the configuration.
You can use this small application also for starting other stuff from the network share. Just replace the FullNetworkPathToMP to the Full Path to your Program.
I wrote everything down from memory so feel free to comment.
Have fun,
Ben
______________________
some of my [HowTo] guides
Media Portal Frontend on Compact flash - Tutorial