Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

48-bit LBA on Win2k setup


  • Please log in to reply
52 replies to this topic

#26
as702ecs

as702ecs
  • Member
  • 2 posts

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.

:thumbup


How to remove advertisement from MSFN

#27
as702ecs

as702ecs
  • Member
  • 2 posts

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.

:thumbup


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.

:hello:

#28
Ameise

Ameise
  • Member
  • 2 posts
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 by Ameise, 01 September 2008 - 01:41 AM.


#29
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,800 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Yes it is included in the USP 5.1 file.

You will get the full access to your disk.

#30
Ameise

Ameise
  • Member
  • 2 posts
Excellent... now to just decide if I should slipstream manually or use n-lite... thank you :)

#31
mw4

mw4
  • Member
  • 2 posts
Is anyone looking at this anymore?
I have a need to set this up and I'd like to get an update.

Where do I get 5.1? Link?

Edited by mw4, 16 September 2009 - 11:15 AM.


#32
TerraZed

TerraZed
  • Member
  • 4 posts
What I need is patched SETUPREG.HIV for advanced server. The above supplied file does work HOWEVER it blows up the advanced server install and turns it into ordinary server edition after its running, losing the larger ram support ect ... If such a file exsists can I get a copy purty please?

#33
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,374 posts
  • OS:none specified
  • Country: Country Flag

What I need is patched SETUPREG.HIV for advanced server. The above supplied file does work HOWEVER it blows up the advanced server install and turns it into ordinary server edition after its running, losing the larger ram support ect ... If such a file exsists can I get a copy purty please?


No, you don't need a patched SETUPREG.HIV. :whistle:


You need to patch your SETUPREG.HIV, READ here:
http://www.msfn.org/...13-page-17.html

The batch will ONLY set the appropriate keys, leaving all the other ones (including the ones related to the version) as-they-are-now. :)

jaclaz

#34
TerraZed

TerraZed
  • Member
  • 4 posts
Bad link with the blown up "new" formun layout I get the start page. This will fix the hiv file in my install cd? Thats what I need to be able to run the windows install & find drives bigger than 130 gig. Not a registry fix AFTER its running thanks.

#35
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,374 posts
  • OS:none specified
  • Country: Country Flag

Bad link with the blown up "new" formun layout I get the start page. This will fix the hiv file in my install cd? Thats what I need to be able to run the windows install & find drives bigger than 130 gig. Not a registry fix AFTER its running thanks.


With all due respect for the Owners and Admins of the board :rolleyes: , they do seem to have a twist for changing the way links work (or completely fail to). :realmad:

However it's post #18 in this same thread.
See if these work:
http://www.msfn.org/...o...75713&st=17
http://www.msfn.org/...p...st&p=590337

jaclaz

#36
TerraZed

TerraZed
  • Member
  • 4 posts
Grazie jaclaz I will do my best to revisit my dos commands from 15-20 years past lol.

#37
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,374 posts
  • OS:none specified
  • Country: Country Flag

Grazie jaclaz I will do my best to revisit my dos commands from 15-20 years past lol.


Actually you DO NOT need to.

Copy the snippet in a NOTEPAD file, save it with a .cmd extension.

Make sure to change this line:

set winsource=q:\wnt50sp4\i386

to the actual path of your \i386 directory (copied from Cd to hard disk)
Make sure to put reg.exe in the same folder where you save the file.
Double click on the .cmd file in Explorer.

Or you can use REGEDIT manually allright.

jaclaz

#38
TerraZed

TerraZed
  • Member
  • 4 posts
Microsoft Windows [Version 5.2.3790]
© Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>cd\
C:\>LbaFix.cmd
C:\>setlocal
C:\>set winsource=C:\AdSvr\i386
C:\>attrib -r -a -s -h C:\AdSvr\i386\setupreg.hiv
C:\>reg load HKLM\Setup C:\AdSvr\i386\setupreg.hiv
The operation completed successfully
C:\>set regkey=ControlSet001\Services\atapi\Parameters
C:\>reg add HKLM\Setup\ControlSet001\Services\atapi\Parameters /v EnableBigLba /
t reg_dword /d 00000001 /f
The operation completed successfully
C:\>reg unload HKLM\Setup
The operation completed successfully
C:\>set winsource=
C:\>set regkey=
C:\>endlocal
C:\>

Also I replaced NTDETECT.COM and NTLDR in the iso with versions from win2003R2 sp2 to fix the notorious advanced server 5 minute reboot times.

Just completed test install: quad core 8 gig of ram terabyte drives ... Its up and running! Thanks again for the help!

#39
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,800 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Hey gentlmen:

I made a cmd file and am posting it here.

All you need is reg.exe and this in the root of your disk. (Same folder as i386)

setlocal
set winsource=.\i386
attrib -r -a -s -h %winsource%\setupreg.hiv
reg load HKLM\Setup %winsource%\setupreg.hiv
set regkey=ControlSet001\Services\atapi\Parameters
reg add HKLM\Setup\%regkey% /v EnableBigLba /t reg_dword /d 00000001 /f
reg unload HKLM\Setup
set winsource=
set regkey=
endlocal

Run it then delete the 2 files. Viola everything is done...

All credit goes to Jaclaz for the info links.

Edited by Kelsenellenelvian, 27 January 2010 - 08:04 PM.


#40
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,374 posts
  • OS:none specified
  • Country: Country Flag

I made a cmd file and am posting it here.

:w00t:

All credit goes to Jaclaz for the info links.

I guess that all credits should go to os2fan2 that wrote the batch snippet that you just posted almost verbatim.

(or at least I seem to fail noticing any difference worth mentioning) :ph34r::

setlocal
set winsource=q:\wnt50sp4\i386
attrib -r -a -s -h %winsource%\setupreg.hiv
reg load HKLM\Setup %winsource%\setupreg.hiv
set regkey=ControlSet001\Services\atapi\Parameters
reg add HKLM\Setup\%regkey% /v EnableBigLba /t reg_dword /d 00000001 /f
reg unload HKLM\Setup
set winsource=
set regkey=
endlocal




setlocal
set winsource=.\i386
attrib -r -a -s -h %winsource%\setupreg.hiv
reg load HKLM\Setup %winsource%\setupreg.hiv
set regkey=ControlSet001\Services\atapi\Parameters
reg add HKLM\Setup\%regkey% /v EnableBigLba /t reg_dword /d 00000001 /f
reg unload HKLM\Setup
set winsource=
set regkey=
endlocal


:unsure:

jaclaz

#41
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,800 posts
  • OS:Windows 7 x64
  • Country: Country Flag
OH I also meant to post the actual cmd and ask if adding the reg.exe was fine.

Makes me wonder though Jaclaz:

If this works for the lba fix what else can we cram in to the HIV file this way?

Edited by Kelsenellenelvian, 27 January 2010 - 08:06 PM.


#42
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,374 posts
  • OS:none specified
  • Country: Country Flag

OH I also meant to post the actual cmd and ask if adding the reg.exe was fine.

Makes me wonder though Jaclaz:

If this works for the lba fix what else can we cram in to the HIV file this way?


Well, almost "anything".

SETUPREG.HIV is nothing but an initial canvas on which the "base" registry of the OS to be installed will be created upon.

If you are into experimenting, here are some ideas:
http://www.msfn.org/...o...125116&st=0

And some related examples:
http://www.msfn.org/...opic=122505&hl=
http://www.boot-land...?showtopic=8798
http://ubcd4win.com/...?showtopic=5398

The technique is widely used on PE's.

jaclaz

#43
os2fan2

os2fan2

    Advanced Member

  • Member
  • PipPipPip
  • 421 posts
Have a look in setupreg.hiv, you will see that it loads various things like device drivers and services.

Things ye might include here are alternate disk driver utilities, or video drivers: pretty much anything that needs a service.

Because in essence, this is the registry for the character mode setup.

The full setup is not made until the character mode setup is done: watch the bottom line as setup is run. You will see it loading hivesft, hivedft, etc at the very end of the process.

#44
Phenomic

Phenomic

    Member

  • Member
  • PipPip
  • 277 posts
  • OS:none specified
  • Country: Country Flag
Thanks to os2fan2 for post #18

I could swear I've seen an nlite option to enable 48-bit LBA, "large disks" or something to that effect.

I have installed Win2k+sp4 on 160GB sata disks without EnableBigLba in registry and it works fine -- how come? But also I have cases where only the first 128GB are seen and the rest is "unformatted", "corrupt", etc.

About REG.EXE batch commands, I use quotes (e.g in ADD command) in case filenames or parameters contain spaces.

#45
Molecule

Molecule

    Member

  • Member
  • PipPip
  • 185 posts
It's my belief, that somethere there is a one-file plugin that sets up the EnableBigLBA with RVMI, that a noob can slip into a clean set of original source files. Noobs don’t want to maintain multiple sets of original sources. It's hard enough already.

to summarize the above

#1 red2k proposes to replace SETUREG.HIV with a 69K file ... he doesn’t say, but as noob I’m guessing this would modify the original source before running nLite or ryansVM Integrator. That means two sets of original source files. As noob ... I don’t want to change a setup file after slipping because I don’t know if RVMI or nLite or some patch didn’t already add something critical.

#9 Oleg_II proposes the reg file solution, which works in hfslip, but not in RVMI or nLite (HFSLIP demands it's own file structure, which, for someone who was not part of its evolution, is quixotic and totally unforgiving). He mentions the test executable from 48bitlba.com, but that won’t slipstream in RVMI or nLite, or run batch unattended. Maxtor and Seagate have executables to set 48bit lba which might work in runonce.

#15 fdv proposes opening HIVESFT.INF and doing a cut and paste. I don’t trust myself with a one-time cut-and-paste for setting up hdds. I just want to integrate an addon or inf patch file.

#18 os2fan2 proposes a batch file to modify setupreg.hiv. In #43 he explains that setupreg.hiv is in effect the registry during text mode setup. (good info ... thanks!) There is a link to an expanded HIVEFIX.INF by os2fan2 with all kinds of bonus tweaks. The 2nd line of the batch says “You need to also fix the file txtsetup.sif to get this to run.” He doesn’t say how. That’s a full stop for a noob like me. In #21 Tomcat says the expanded version produced a BSOD.

#39 Kelsenellenelvian explains how to setup the 48-bit batch by os2fan2.

I’m guessing that hivefix.inf can be tweaned before or after integration ... as long as it’s before system installation.

(aside ... this would apply to installation into very large partitions ... problem is M$ programmed setup installers to fling directories (potentially containing files that need to be frequently accessed) across the full span of the install partition. New directories are randomly placed so as to fill the entire freespace of the partition, and then they are made unmovable for FAT32 systems. The installer is programmed to expand the system into all available free space, even if it causes fragmentation of the page file. I have to assume that MS engineers must understand the technology of their profits. This is not normal fragmentation. It is random seek banging that will slow down a FAT32 system and accelerate the crash of a hdd, since directories that are installed into the farthest reaches of a partition cannot be defragged or compacted back into the rest of the files at the top of a partition. Because the setup installer is programmed to fill all available partiton space with flung directories, I’d suggest that the setup installer be restrained to smallest partition reasonably possible ... 5G leaves 2g for pagefile, 2 gig for files, 1 gig for defragging and for temp expansions and contractions. The partition can be expanded after MS setup installers are gone.

Net result, after reading the above, hopefully most noobs aren't going to setup systems on partitions that cross the 128g barrier ... if they want to use a large partition and fast trash their new hdd, then, the hivefix.inf is probably an important one ... I don't know about the text mode OS, but after install, a large hdd in 2k without the 48bit reg setting will screw up the system, even if the hdd is never accessed, read, or written to. 2k needs to make drive letter asignments, and when there is a large hdd in a system which is not 48bit enabled, the process that tries to make the driver letter assignments gets stuck in some kind of loop when it studies the big one ... so I would assume the same problem might exist in the OS used by text mode setup as well ...?)

There is a solution in nLite, but (IMHO) it’s not easy or intuitive to find. We want EnableLBA support for our system HDDs. Open nLite, go to the Tweaks page, then open the “Explorer” section (not My Computer, not Performance, not Devices, not Management, ...) then wade into all the bubblegum and display tweaks for Explorer (to a noob, Explorer is mostly about bubblegum and display) ... inquire into the ninth tweak, which is labeled “Large Partition Support” (hmmm.... what's that? ... Unlike other options in this setting, this one is not some bubblegum tweak about Explorer display options. It's not labeled, EnableBigLBA support, or 48-bit HDD support, or Large Harddrives > 128g, ...) . Large Partition support enables a large HDD, even if you don't use "large partitions."

After 12 years, and thousands of posts, I still haven't found a simple one-file plugin for RVMI (or nLite) which will set the EnableBigLBA

admittedly there already is one, but it’s Gurglemeyer’s 120meg SP51. At the moment, that’s the smallest one-file plugin that will set a simple reg entry in nLite or RVMI!

(oh, humble me!) I don’t have a VM yet to test this on, but I did find an inf file for XP that might (!) possibly (!) work (untested!) as a small one-file plugin for RVMI and nLite... it’s from KB303013 for XP but should work in 2k

open a text file called 48bitLBA.inf
add the following code
[version]
signature="$CHICAGO$"
SetupClass=BASE

[DefaultInstall]
AddReg=48bitlba.Add.Reg

[48bitlba.Add.Reg]
HKLM,"System\CurrentControlSet\Services\Atapi\Parameters","EnableBigLba",0x10001,1
In RyanVM Integrator, add this file into the addons section of RyansVM integrator, or in nLite, add the file to the Hotfixes, Addon, Update Packs page.

OMG! Finally, after twelve years, and thousands of posts, is there now finally a one-file one-step go-solution plugin to EnableBigLBA for noobs ... just integrate and go.

I don’t have a VM to test this on at the moment ... I ventured off onto this part of my learning curve trying to build a machine to build a machine with, etc. I want to get a bootUSB working before I try mounting the learning curve for a VM, so maybe someone with a VM could test and confirm before me?

Edited by Molecule, 27 September 2012 - 01:51 PM.

can the platonic solids be constructed by gaussian modulation of rotational action, rotational action itself being an artifact of intersection of two sphaeric actions--the tetrahedron for example

#46
tomasz86

tomasz86

    www.windows2000.tk

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,520 posts
  • OS:XP Pro x86
  • Country: Country Flag
The above INF won't work ;)

The whole thing is that you need to add the changes to SETUPREG.HIV in order to make it work in the text setup. You still need the above setting later but the HDD must be properly detected in the text setup first. The SETUPREG.HIV files for each edition of Win2k which are included in USP5.1 have this setting already added.

Edited by tomasz86, 27 September 2012 - 01:56 PM.

Posted Image
Unofficial Service Pack 5.2 for MS Windows 2000 <- use this topic if you need help with UURollup, Update Rollup 2 and other unofficial packages

#47
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
To expand on my advice and clear something up, ALL of the HIVE* INF files execute during text setup. They all build the registry which is assembled prior to GUI. You do not need to add to SETUPREG.HIV. (Editing that file is a mess anyway).

Look at the HIVE files in my fileset... look at all of the system tweaks I add (use Winmerge to compare). You can make a LOT of changes to the OS by editing these files

edit: this is not 100% correct, see my post below about using SYSSETUP.INF for LBA, I misremembered what was in my own file

Edited by fdv, 29 September 2012 - 10:00 PM.


#48
tomasz86

tomasz86

    www.windows2000.tk

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,520 posts
  • OS:XP Pro x86
  • Country: Country Flag
You still need to edit the SETUPREG.HIV though. The HIVE*.INF files are indeed executed during text setup but it's done at the very end of it while you need to select your disk / partition much earlier. It's that moment when the 48-bit LBA support must be enabled and SETUPREG.HIV is responsible for it.

You should also remember that SETUPREG.HIV is different for every edition of Win2k (Professional, Server, etc.) and different for every language version too so don't try to switch them.

Edited by tomasz86, 28 September 2012 - 07:38 PM.

Posted Image
Unofficial Service Pack 5.2 for MS Windows 2000 <- use this topic if you need help with UURollup, Update Rollup 2 and other unofficial packages

#49
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,798 posts
  • OS:none specified
  • Country: Country Flag
I'm surprised that fdv says that you do not need to add to SETUPREG.HIV, while tomasz86 feels so strongly that you do. Hopefully fdv will continue to interact on this thread, because I believe that with his experience he will be able to shed light on what can and cannot be done in this area.

Cheers and Regards

Posted Image


#50
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,374 posts
  • OS:none specified
  • Country: Country Flag
Since there is WAY too little confusion on this :whistle: , I will throw something on the table :angel :
http://reboot.pro/11212/
http://reboot.pro/11312/
Would the erwan.l thingy :thumbup work on SETUPREG.HIV?
(it should if you are running XP or later cannot say from within a 2k)

jaclaz

Edited by jaclaz, 29 September 2012 - 04:36 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN