os2fan2 Posted October 16, 2006 Posted October 16, 2006 You could load SETUP.HIV in registry, and then modify the setting there too. You need to do this, because otherwise, Windows would not see the disk when it boots. I have been thinking of writing a reg.exe script to do this, and i will no doubt do this, when i get around to writing hivefix.inf for Win2k.W
LeveL Posted November 22, 2006 Posted November 22, 2006 (edited) I am using a HFSLIPped Windows 2000 fully updated to today and here:HKLM\SYSTEM\CurrentControlSet\Services\atapi\ParametersIt already has this value set! "EnableBigLba"=dword:00000001Pretty cool, except I aint got a HDD big enough to try it, heh, Win2000is only installed in VMware with a 3Gb virtual disk. I guess it was a hotfix or HFSLIP that put the support for 137Gb+ in? Edited November 22, 2006 by LeveL
os2fan2 Posted November 25, 2006 Posted November 25, 2006 (edited) This is a batch file to modify setupreg.hiv. You do this, so that the initial boot will see the extended disks (ie past 137G = 128Gi.You need to have reg.exe in your path (eg it is in the Win2k support tools on your cdrom). Change the first line of the batch to the path where your files live.setlocalset winsource=q:\wnt50sp4\i386attrib -r -a -s -h %winsource%\setupreg.hivreg load HKLM\Setup %winsource%\setupreg.hivset regkey=ControlSet001\Services\atapi\Parametersreg add HKLM\Setup\%regkey% /v EnableBigLba /t reg_dword /d 00000001 /freg unload HKLM\Setupset winsource=set regkey=endlocal Edited October 13, 2009 by os2fan2
tommyp Posted November 25, 2006 Posted November 25, 2006 os2fan, would you mind if the hfslip guys integrated your above batch file into the hfslip?
os2fan2 Posted November 27, 2006 Posted November 27, 2006 (edited) You can use this in your project.You may want to add a /f switch to the reg add line, to overwrite an existing value. Otherwise, the batch will pause asking for permission to overwrite the file. You may want to look at this file in regedit, too. I have not looked at it completely, but there might be things like default locality etc, which the user may want to customise over the default East coast settings.I also have a "hivefix.inf" project for Win2k/XP, which does nice things like integrate directx.cpl and tweakui.exe into the control panel categories. 1 HIVEFIX: http://www.msfn.org/board/lofiversion/index.php/t84600.html 2 2KTWEAK http://www.msfn.org/board/lofiversion/index.php/t86214.htmlThe 2ktweak adds files to the web\wallpaper folder, i use the winme files here (as most of the me files are already the same as the 2k files).Hivefix works under both 2k and xp, except a number of tweaks are later overwritten. These are grouped together as such. Edited November 27, 2006 by os2fan2
Tomcat76 Posted November 27, 2006 Posted November 27, 2006 The trick with reg.exe didn't work for me. The file got updated but I got a blue screen during Windows setup:0x00000067 (0x00000004,0x00000008,0x00000000,0x00000000)CONFIG_INITIALIZATION_FAILEDThis is the code I used:COPY SOURCE\I386\SETUPREG.HIV SOURCESS\I386HFTOOLS\REG load HKLM\HFSLIP %PREP%SOURCESS\I386\SETUPREG.HIVHFTOOLS\REG add HKLM\HFSLIP\CurrentControlSet\Services\atapi\Parameters /v EnableBigLba /t reg_dword /d 00000001HFTOOLS\REG unload HKLM\HFSLIPDEL/Q/F SOURCESS\I386\*.LOGMaybe it is necessary to do this in ControlSet001. Would be the first time, though...
os2fan2 Posted November 28, 2006 Posted November 28, 2006 You really do need to use 'controlset001' here, rather than 'currentcontrolset', because the hive refers to a win32 environment that is not loaded. You can easily load the file in registry, and poke around it.Windows, when normally running, has controlset001 and controlset002, and curretncontrolset simply points to whichever of these is active. However what we have is an environment where currentcontrolset is not set, and because this is the initial load, we are pointing to the only saved set (001).If you were doing this on a real win2000 hive (of a running set), you may have to set both 001 and 002, because the next load might load 002 rather than 001.The same thing exists, for example, in BartPE. When i wrote the batch, i had the hive set in registry, and looked at the results thereon.I still would suggest using the /f switch, because the initial source may indeed have this setting in place, and ye will be asked to reset it to something else.Wendy
SirBrainChild Posted December 9, 2006 Posted December 9, 2006 You all probably know this by now, but both USP 5.02 (B17 Retro and B18) and USP 5.1 support 48-bit LBA translation now. In other words, the setupreg.hiv you need is already in these unofficial service packs.
os2fan2 Posted December 10, 2006 Posted December 10, 2006 I do not know this. Putting a fix in the INF files is not the same as the SETUPREG.HIV. However, not everyone is starting off with USP5 sources.Because some USP5 (and a few other fixes) may have this fix in place, i reccomended the /F flag on the reg command (which overwrites an existing value).W
as702ecs Posted June 4, 2008 Posted June 4, 2008 USP 5.1 does remove the 127GB barrier if it's slipstreamed.It doesn't do so if it is installed normally. This is the safest way, but I better fix it to avoid any confusion /Gurgelmeyer B)you're a genius; i only wish i would have discovered your post earlier (i lost all of my entire data partition thanks to this problem only just last week).i'm testing this out on a virtual pc install. fingers crossed.
as702ecs Posted June 5, 2008 Posted June 5, 2008 USP 5.1 does remove the 127GB barrier if it's slipstreamed.It doesn't do so if it is installed normally. This is the safest way, but I better fix it to avoid any confusion /Gurgelmeyer B)you're a genius; i only wish i would have discovered your post earlier (i lost all of my entire data partition thanks to this problem only just last week).i'm testing this out on a virtual pc install. fingers crossed. quoting my own post, i know (and late to the party as well).just an update really. decided to proceed with the installation for real (can't lose my data twice now, can i). at any rate, the setup proceeded flawlessly; windows 2000 was able to correctly detect and properly format my system drive of my maxtor 300GB IDE drive - my enitre data partition was left intact!i cannot thank you enough.
Ameise Posted September 1, 2008 Posted September 1, 2008 (edited) Wait, so what method actually works here; the original at the beginning of the post? I just want to get larger than 128gb partition support in Windows setup... does slipstreaming USP5.1 work for this purpose? Edited September 1, 2008 by Ameise
Kelsenellenelvian Posted September 1, 2008 Posted September 1, 2008 Yes it is included in the USP 5.1 file.You will get the full access to your disk.
Ameise Posted September 1, 2008 Posted September 1, 2008 Excellent... now to just decide if I should slipstream manually or use n-lite... thank you
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