Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Operating System Optimization > WinNT Based


Reply
 
Share Thread Tools Display Modes
Old 12-01-2004, 12:41 PM   #91
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Posts: 1,239
SFiorito is on a distinguished road
I got the SanDisk Extreme 1GB. Specs are here: http://www.sandisk.com/retail/ext-cf.asp -13 to 185 degrees Farhenheit. BTW, if you noticed on the MSDN site it talks about how to boot from a CF card with the removable flag. The interesting thing is they also say to use FAT32 if you don't need the security features of NTFS. They say that helps minimize writes even more, but for anyone with the VIA MII (which has a builtin CF reader) that means we could use VIA's FastBoot BIOS to improve boot speeds even more!!
SFiorito is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 12-01-2004, 01:22 PM   #92
Constant Bitrate
 
BOND007BE's Avatar
 
Join Date: Jul 2003
Location: belgium
Posts: 149
BOND007BE
Hello , is there a STEP by STEP tutor or manual with an example or something .

the link to MSDN works , but when ik click the configure compact flash nothing is displayed
__________________
the sun always shine
BOND007BE is offline   Reply With Quote
Old 12-01-2004, 01:26 PM   #93
Maximum Bitrate
 
Rundell's Avatar
 
Join Date: Apr 2004
Posts: 497
Rundell is on a distinguished road
Quote: Originally Posted by SFiorito
but for anyone with the VIA MII (which has a builtin CF reader) that means we could use VIA's FastBoot BIOS to improve boot speeds even more!!

I thought you could not boot from the compact flash reader in the MII. How would you accomplish this??
__________________
Remember AllAdvantage From 7 years ago? IT IS BACK! Now under a new name Agloco
GET PAID TO SURF THE INTERNET
Rundell is offline   Reply With Quote
Old 12-01-2004, 03:51 PM   #94
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Posts: 1,239
SFiorito is on a distinguished road
Follow my instructions on the first page of this thread, that's basically what MSDN has. It's just a matter of placing some files in the right spot and entering some registry settings. If your CF card only shows up as removable media even with the CF-IDE adapter there are some special steps you need to take. For some reason that MSDN link is dead, but hopefully they'll get it back up soon.

VIA has a special BIOS called FastBoot that will allow booting from the PCMCIA and CF slot on the MII. It's meant for Linux and WinCE devices, but since it says it supports FAT32 drives I assume it would work with XP installed on a FAT32 formatted CF card. We'll see. For now I'll have to wait because my CF card is still in transit. Once I get it I may try flashing my MII BIOS with FastBoot to see how well it works. FastBoot: http://www.viaarena.com/default.aspx...=41&DCatType=3

*EDIT*: Okay, nevermind... it looks like FastBoot only looks specifically for a WinCE image or Linux image. There's the LinuxBIOS which has been reported to work on the MII, but I think I'll hold off on that for now.

I'll try and do a writeup on how to setup EWF and with all our lessons learned so far. I won't get to it today, probably tomorrow though.

Last edited by SFiorito; 12-01-2004 at 04:10 PM..
SFiorito is offline   Reply With Quote
Old 12-01-2004, 07:00 PM   #95
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
I've already written a short step by step guide for doing preparing the OS image. I'll just format it and PDF if. Sfiorito, it would be great if you could add anything i'm missing. Unless you want to start from scratch anyways. I'll post it in a few.
knubile is offline   Reply With Quote
Old 12-01-2004, 08:56 PM   #96
Nic
FLAC
 
Nic's Avatar
 
Join Date: Oct 2003
Location: Melbourne, Australia
Posts: 1,047
Nic is on a distinguished road
sweet guys, remember to include expected boot times in your documentation, i look foward to it
__________________
Signature: [==||========] 20% complete
Nic is offline   Reply With Quote
Old 12-01-2004, 11:21 PM   #97
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
Here's the doc i've got so far.

**EDIT** Link Updated
PDF
Word doc

SFiorito, feel free to modify it with more detail. Especially the CF card part. I'm going to order mine soon. I already ordered the ide adapter.

Last edited by knubile; 12-03-2004 at 12:36 PM..
knubile is offline   Reply With Quote
Old 12-01-2004, 11:27 PM   #98
Maximum Bitrate
 
Rundell's Avatar
 
Join Date: Apr 2004
Posts: 497
Rundell is on a distinguished road
Well, I'm going to have to do some testing and try this out and see if I can get something woking with the MII Card Reader. I have a 1GB Microdrive that I'll try it with. Thanks for the info, its a good start!
__________________
Remember AllAdvantage From 7 years ago? IT IS BACK! Now under a new name Agloco
GET PAID TO SURF THE INTERNET
Rundell is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 12-01-2004, 11:38 PM   #99
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
I think i left out one thing in the doc. You'll have to turn off the pagefile if you want it to fit on a 1G CF card and have a hibernate file. I've done this and haven't notice any adverse effects. My system build like the document says has been running for 3 days now flawlessly. It's running on a 1G partition on my laptop drive for now, until I get my CF card set up.
knubile is offline   Reply With Quote
Old 12-02-2004, 02:45 PM   #100
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Posts: 1,239
SFiorito is on a distinguished road
Okay, here's what I compiled from this thread and MSDN docs. There are some slight changes to the reg settings that I need to test out when I get home.

Making an EWF enabled XP installation


1) Install XP like you normally would, whether it's an nLite, XPLite, or regular install.

2) Retrieve the EWF files: ewfmgr.exe, ewf.sys, and ewfntldr

3) Place ewf.sys in \WINDOWS\System32\drivers

4) Place ewfmgr.exe in \WINDOWS\System32

5) Place ewfntldr on the root of your boot drive. Rename ntldr to ntldr_bak and rename ewfntldr to ntldr.

6) Configure XP to minimize writes as much as possible. EWF basically creates a RAM drive where all changes are stored in RAM, so the more changes you

make to your protected volume the more RAM it'll take.
a) disable the paging file
b) disable automatic disk defrag and autolayout:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOpt imizeFunction]
"Enable"="N"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\OptimalLayout]
"EnableAutoLayout"=dword:00000000
c) disable Last Access timestamps:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\FileSystem]
"NtfsDisableLastAccessUpdate"=dword:00000001
d) disable Prefetch:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management\PrefetchParameters]
"EnablePrefetcher"=dword:00000000
e) disable System Restore
f) depending on your configuration you can also relocate your eventlogs to a non protected partition:

http://msdn.microsoft.com/library/en...OfEventLog.asp
g) same with your webbrowser temp files
h) MSFT even recommends using a FAT filesystem if you don't require the security features of NTFS as this will improve EWF performance even more.

7) Enter the following registry values into your registry:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\R oot\LEGACY_EWF]
"NextInstance"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\R oot\LEGACY_EWF\0000]
"Service"="EWF"
"Legacy"=dword:00000001
"ConfigFlags"=dword:00000020
"Class"="LegacyDriver"
"ClassGUID"="{8ECC055D-047F-11D1-A537-0000F8753ED1}"
"DeviceDesc"="EWF"
"Capabilities"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\R oot\LEGACY_EWF\0000\Control]
"ActiveService"="EWF"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\ewf]
"ErrorControl"=dword:00000001
"Group"="System Bus Extender"
"Start"=dword:00000000
"Type"=dword:00000001

*NOTE*: For the following key, ADD Ewf to the existing value which should be volsnap.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}]
"UpperFilters"="Ewf"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\ewf\Parameters\Protected\Volume0]
"Type"=dword:00000001
"ArcName"="multi(0)disk(0)rdisk(0)partition(1) "

This last entry, ArcName, needs to match the partition you want to protect. If you want to protect more than one volume then just add another key named

Volume1 with the appropriate entries.

8) Reboot!! If you get a boot error then just boot up with Last known good configuration. That will probably kill all the registry entries you entered,

but you probably forgot something so do it again and make sure the EWF files are in the right places.

9) Once you boot up open up a CMD and run "ewfmgr n:" n being the drive letter of your protected volume. If it says it didn't find an EWF volume then you

messed up, otherwise it should show info on your protected volume.

10) If you need to make configuration changes to windows or install software then disable EWF by running "ewfmgr n: -commitanddisable -live" n being your

protected drive. This will COMMIT any changes and DISABLE EWF immediately. Once it's done go ahead and do whatever you want, but BEFORE YOU REBOOT run

"ewfmgr n: -enable" n being your protected drive so that EWF will be reenabled after you restart.

11) Hibernation is possible on a volume protected by EWF, but first create an empty file on the root drive (where you installed the special ewfntldr)

called resmany.dat. Just right-click and create textfile and rename it resmany.dat. That's it. Obviously you need to do this with EWF disabled. Once that

is done reenable EWF and RESTART so that EWF can protect the volume again. THEN you can hibernate. This will allow you to ALWAYS resume from the same

hibernation state. There is no need to hibernate every time you shutdown, unless you want to change the state. For a CarPC system you would obviously

hibernate with your frontend running.

12) You need to really think about what you're doing with an EWF system because you don't want to make tons of changes without disabling EWF, or

disabling EWF and then forget to reenable it. Take into consideration configuration files that may change (such as a frontend saving its state... if it

saves it on an EWF partition it'll be gone when you resume!!).

13) This system will allow you to run a regular XP install from a CompactFlash disk. MSFT has some good information on booting from CF disks and

deploying your OS to CF, even if they are marked as removable: http://msdn.microsoft.com/library/en...mpactFlash.asp

Spend the time to read through MSDN XP Embedded docs!! There's lots of good info on there about EWF, but also on streamlining your system and improving

boot speed.

Let us know if you find anything new!!!

S/F,
Frito

Last edited by SFiorito; 12-04-2004 at 11:42 AM..
SFiorito is offline   Reply With Quote
Old 12-02-2004, 03:01 PM   #101
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
Quote:
There are some slight changes to the reg settings that I need to test out when I get home.

Let me know what you can confirm. I'll add this all to the doc and post a new one. Hopefully I can spend some time to format it nicely into sections. One for nlite, one for EWF, and when we get CF cards, a section for preparing those.
knubile is offline   Reply With Quote
Old 12-02-2004, 03:13 PM   #102
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Posts: 1,239
SFiorito is on a distinguished road
it's actually in the Volume0 key, if you notice I removed the volumeid value because apparently it's not necessary for RAM Reg mode according to the MSDN docs. I can't try it out until i get back from school tonight.
SFiorito is offline   Reply With Quote
Old 12-03-2004, 12:43 AM   #103
FLAC
 
SFiorito's Avatar
 
Join Date: May 2004
Posts: 1,239
SFiorito is on a distinguished road
Okay, here's the latest: that volsnap filter thing gave me problems, so scratch that. It's just EWF. Don't know why MSDN says to keep it in there. Also, the VolumeId value isn't necessary in the Volume0 key.
SFiorito is offline   Reply With Quote
Old 12-03-2004, 12:38 PM   #104
Maximum Bitrate
 
knubile's Avatar
 
Join Date: Sep 2004
Posts: 505
knubile is on a distinguished road
Post Documentation Release

Here's the new version of the document incorporating SFiorito's information. Anybody willing to proof read and/or make some suggestions?

PDF
Word doc
knubile is offline   Reply With Quote
Old 12-03-2004, 01:09 PM   #105
Maximum Bitrate
 
Rundell's Avatar
 
Join Date: Apr 2004
Posts: 497
Rundell is on a distinguished road
Quote: Originally Posted by knubile
Here's the new version of the document incorporating SFiorito's information. Anybody willing to proof read and/or make some suggestions?

PDF
Word doc

Nice job on the write up, very easy to understand. Thanks a bunch to both SFiorito and knubile for working so hard figuring this out.
__________________
Remember AllAdvantage From 7 years ago? IT IS BACK! Now under a new name Agloco
GET PAID TO SURF THE INTERNET
Rundell is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will OPUS work with regular P4 Motherboard badandy4you Power Supplies 3 06-22-2004 01:55 AM
slim dvd vs. regular dvd cybermob2 Power Supplies 28 03-22-2004 01:47 PM
TM-701L & Geforce 4 also a regular TV!! Mp3Goose_Your King LCD/Display 3 03-25-2003 01:59 AM
Com Ports not working in WinXP on EPIA-M Defiler General Hardware Discussion 25 12-16-2002 03:26 PM
FV24 and WinXP BRINET General Hardware Discussion 3 04-19-2002 02:00 PM



All times are GMT -5. The time now is 03:02 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
"VaultWiki" powered by VaultWiki v2.5.2.
Copyright © 2008 - 2009, Cracked Egg Studios.Ad Management by RedTyger
Message Board Statistics