CuBie Posted March 22, 2004 Share Posted March 22, 2004 Hi all, does anybody have a tutorial or know how to put a ramdisk into windowspe?Thanks alot! Chris. Link to comment Share on other sites More sharing options...
Joe User 99 Posted March 22, 2004 Share Posted March 22, 2004 I imagine you could modify the ramdisk plugin from BartPe to work.It's a .sys file with some registry entries.I've never tried it though. Link to comment Share on other sites More sharing options...
gosh Posted March 22, 2004 Share Posted March 22, 2004 Just use my ramdisk or use bart's ramdisk. When SP2 is released a new version of winpe will be released that already has a ramdisk built into it.-gosh Link to comment Share on other sites More sharing options...
ZoSTeR Posted March 22, 2004 Share Posted March 22, 2004 When SP2 is released a new version of winpe will be released that already has a ramdisk built into it.Well not quite. Here's the time table from the OEM QTB video:Windows PE Timetable:XP SP2 Features 1HCY04 WMI SupportDriver injection and PnP boot supportFormal documentationServer 2003 SP1 Features 2HCY04 Ramdisk support Link to comment Share on other sites More sharing options...
CuBie Posted March 22, 2004 Author Share Posted March 22, 2004 Just use my ramdisk or use bart's ramdisk. When SP2 is released a new version of winpe will be released that already has a ramdisk built into it.-goshWhere can i get it?Thanks,Chris. Link to comment Share on other sites More sharing options...
likuidkewl Posted March 23, 2004 Share Posted March 23, 2004 http://www.msfn.org/board/index.php?showto...t=0entry78742 Link to comment Share on other sites More sharing options...
CuBie Posted March 23, 2004 Author Share Posted March 23, 2004 http://www.msfn.org/board/index.php?showto...t=0entry78742Just tryed this - But there isnt a dosnet.inf on the pe cd, so i had to skip that partout - anyhow it didnt work ....Gosh was this the page you were talking about? Anyone got any ideas?Thanks Alot all,Chris. Link to comment Share on other sites More sharing options...
likuidkewl Posted March 23, 2004 Share Posted March 23, 2004 Add a RAM DriveThis has to done before you run MKIMG.CMD. Download the Microsoft Ramdisk.sys Sample Driver for Windows 2000 (Q257405) and install it per the Q article instructions in a Windows XP VM or on your machine. Set the drive letter to B:. The maximum size is 30.9MB. NEW If you'd like a better alternative (and no error) try the AR RAM Disk or Christiaan Ghijselinck's RAMDisk (also based on the MS code). The basic instructions provided below should work with little modification for these products as well.Note: If you do not have at least 192MB RAM the RAMDisk will probably not be created at runtime.Copy RAMDRIVE.SYS to C:\WinPE\DRIVERSCopy RAMDISK.INF to C:\WinPE\INFOpen Regedit and Export HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ramdisk to C:\WinPE\SFW\SCRIPTS\RAMDISK.REGUsing Load Hive in RegEdit load the C:\WinPE\SetupReg.hiv as HKEY_USERS\SetupRegHivEdit C:\WinPE\SFW\SCRIPTS\RAMDISK.REG search and replace HKEY_LOCAL_MACHINE\SYSTEM for HKEY_USERS\SetupRegHiv and save the file.Run REGEDIT /S C:\WinPE\SFW\SCRIPTS\RAMDISK.REG (You can delete RAMDISK.REG or keep it)Using Unload Hive in RegEdit unload HKEY_USERS\SetupRegHivThe RAMDISK settings should now be in C:\WinPE\SetupReg.hivUnfortunately there seems to be an issue (for me anyway). I get Incorrect Function when I try to use the RAMDisk. In order to get around the problem do the following: Create a text file at C:\WinPE\SFW\SCRIPTS\N.TXT containing N and a Carriage Return/Line FeedAdd the following line to the beginning of the STARTNET.CMDFORMAT B: /FS:NTFS /V:RAMDisk < \SFW\N.TXT >NULRun C:\WinPE\BUILDIMG.CMD taken from:http://tjb.xgameservers.com/WindowsPE.html Link to comment Share on other sites More sharing options...
CuBie Posted March 23, 2004 Author Share Posted March 23, 2004 I Tryed that allredy - didnt seem to work.Im going to bed now, but ill try it again tomorow.Thanks,Chris. Link to comment Share on other sites More sharing options...
CuBie Posted March 23, 2004 Author Share Posted March 23, 2004 .. It wouldnt workAnybody know a working way, because i followed the instructions to the word. Thanks,Chris. Link to comment Share on other sites More sharing options...
CuBie Posted March 24, 2004 Author Share Posted March 24, 2004 Anybody know?Chris. Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted March 25, 2004 Share Posted March 25, 2004 Have you try to use the RAMDISK.SYS included in Windows 2003 Server.From the 2003 server source :expand i386\ramdisk.sy_ %systemroot%\system32\drivers ramdisk.sysexpand i386\ramdisk.in_ %systemroot%\inf\ramdisk.infto install the driver to your working Windows use M$ DevCon Command Line Utility Alternative to Device Manager (Google search Q311272+DEVCON) :devcon -r install ramdisk.inf RAMDISKAfter rebooting (if necessary) you should probably export registry entries related to the ramdisk :Look atWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ramdisk]"Type"=dword:00000001"Start"=dword:00000003"ErrorControl"=dword:00000001"ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\ 52,00,49,00,56,00,45,00,52,00,53,00,5c,00,72,00,61,00,6d,00,64,00,69,00,73,\ 00,6b,00,2e,00,73,00,79,00,73,00,00,00"DisplayName"="Pilote de disque virtuel Windows"[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ramdisk\Debug]"DebugComponents"=dword:7fffffff"DebugLevel"=dword:00000005[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ramdisk\Security]"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\ 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\ 00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\ 05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\ 20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\ 00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\ 00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Ramdisk\Enum]"0"="Root\\RAMDISK\\0000""Count"=dword:00000001"NextInstance"=dword:00000001Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}]"Class"="Ramdisk"@="Ramdisk""Icon"="-5"[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}\0000]"InfPath"="ramdisk.inf""InfSection"="BusInstall""InfSectionExt"=".NT""ProviderName"="Microsoft""DriverDateData"=hex:00,40,2a,7c,dd,68,c2,01"DriverDate"="10-1-2002""DriverVersion"="5.2.3790.0""MatchingDeviceId"="ramdisk""DriverDesc"="Contrôleur de disque virtuel Windows"Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\RAMDISK][HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\RAMDISK\0000]"ClassGUID"="{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}""HardwareID"=hex(7):52,00,41,00,4d,00,44,00,49,00,53,00,4b,00,00,00,00,00"Driver"="{9D6D66A6-0B0C-4563-9077-A0E9A7955AE4}\\0000""Class"="Ramdisk""Mfg"="Microsoft""Service"="Ramdisk""DeviceDesc"="Contrôleur de disque virtuel Windows""ConfigFlags"=dword:00000000"Capabilities"=dword:00000000[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\RAMDISK\0000\LogConf][HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\RAMDISK\0000\Control]"ActiveService"="Ramdisk"I haven't found at this time where to define in the registry DiskSizeDriveLetterMaybe the settings are the same as M$ Q257405 Ramdisk.sys sample driver for Windows 2000 ? Link to comment Share on other sites More sharing options...
CuBie Posted March 25, 2004 Author Share Posted March 25, 2004 Sweet! thanks for the info, ill try it later on tonight - ill let ya know how it goes Chris. Link to comment Share on other sites More sharing options...
netsendjoe Posted April 9, 2004 Share Posted April 9, 2004 im testing my winpe stuff in vmware. is there a reason why i cant get ramdrive OR ramdisk to load and function correctly? I've copied the files, added the registry code to setupreg.hivnada ... Link to comment Share on other sites More sharing options...
CuBie Posted April 9, 2004 Author Share Posted April 9, 2004 I can't get it to work either =(Chris. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now