Patch to allow Windows 7 install without the hidden partition.

Discussion in 'MDL Projects and Applications' started by nononsence, Sep 17, 2009.

  1. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    814
    30
    someone else might be able to get it to work, but I was unable to.
     
  2. mario35

    mario35 MDL Novice

    Aug 16, 2009
    14
    0
    0
    Something els you can do to remove the hidden partition

    if you have a vista CD, act like you are going to install create a partition and then format that partition. Once the partition is created remove the vista Cd and place windows 7 Cd in computer and then reboot your computer.

    Boot from CD and go ahead and install windows 7 you will see the partition you created earlier and windows 7 will not create a hidden partition. If you delete your main partition then windows 7 will create that hidden partition. You will be able to delete all partitions with a vista CD.

    Just remember do not delete your main partition, you can still format that partition through. this is for fresh installs only.
     
  3. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    814
    30
    This patch prevents the installer from creating the hidden partition, so you dont have to do all that.
     
  4. Dolorous Edd

    Dolorous Edd MDL Expert

    Aug 31, 2009
    1,054
    202
    60
    It is nice to know you can remove it after the fact. But yeah, that thread did drag on.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    814
    30
    #25 nononsence, Sep 19, 2009
    Last edited: Sep 19, 2009
    (OP)
    got rid of the dialog, which simplified the patch.

    I also found a way to install GRLDR without any more hacks, using just
    an OEM folder I have attached an example $OEM$ just put GRLDR in
    each of the folders that represent drive letters and the cert in
    $OEM$\$$\SYSTEM32\OEM

    its not a very clean way to do it but it works.
     

    Attached Files:

  6. TOMBO COMBO

    TOMBO COMBO MDL Junior Member

    Jul 31, 2009
    71
    1
    0
    #26 TOMBO COMBO, Sep 19, 2009
    Last edited: Sep 19, 2009
    Can someone up a pre-modified winsetup.dll for 7 with this. So all I have to do is add it to the iso then burn it.
     
  7. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    814
    30
    #27 nononsence, Sep 19, 2009
    Last edited: Sep 19, 2009
    (OP)
    32 or 64 bit ?

    and do you want just the no hidden partition mod or the boot code mod also
    the bootcode mod is required if you want to install GRLDR with an oem folder
    and have windows activated when setup is complete
     
  8. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    814
    30
    added link to pre-patched files to first post.

    enjoy
     
  9. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,773
    1,094
    60
    #29 Mr Jinje, Sep 19, 2009
    Last edited by a moderator: May 23, 2017
  10. Dolorous Edd

    Dolorous Edd MDL Expert

    Aug 31, 2009
    1,054
    202
    60
    Will these patches allow for unattended installs without the 100mb partition? Or does it require intervention to avoid the 100mb partition. Not complainging jsut asking. I think it is great that you did this, allot less hoops to jump through just to get it partitioned the way we want it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    814
    30
    #31 nononsence, Sep 19, 2009
    Last edited: Sep 19, 2009
    (OP)
    I think unattend install will be the same, completly disabling the creation of the hidden partiton looks complicated, and the sub functions are rather large.
    but Im working on it.
     
  12. TOMBO COMBO

    TOMBO COMBO MDL Junior Member

    Jul 31, 2009
    71
    1
    0
    SO you have to insert winsetup.dll into the boot.wim image also for it to work. I thought you just had to put it in the sources folder. Do you have to use WAIK for this?
     
  13. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,773
    1,094
    60
    Yes, Boot.wim image controls the install when you boot from the DVD, so you need to make your changes in boot.wim

    The winsetup.dll in the DVD > Sources folder is only used when installing via Setup.exe.
     
  14. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,773
    1,094
    60
    #34 Mr Jinje, Sep 24, 2009
    Last edited: Sep 24, 2009
    Does this patch require us to manually create a partition to avoid the 100 MB partition.

    I think a VM of mine got a 100 MB partition with this patch when I didn't create a partition.

    Has anyone tested this with unattend.xml with auto-formatting the HDD. Which version of winsetup.dll (boot.wim or one in sources folder)does anyone think is running when unattend.xml formats a HDD ?
     
  15. ailef

    ailef MDL Senior Member

    Nov 30, 2007
    297
    16
    10
    if it's to install windows 7 on a new HD, u just have to create partitions before installing windows 7 and no 100MB partition will be created.
    now on VMware install, I didnt install windows 7 with VMware but i don't think it would be a big prob if there's a 100MB hidden part on the virtual drive no ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    814
    30
    if you let windows partitiont the drive the it will create the 100mb partition
    you have to make the partiton if you want the whole disk as a single partiton

    completely removing the auto creation of the 100mb partition is possible
    I just dont understand assembly well enough to start messing with the agruments
    passed to the sub function that creates the partition.
     
  17. Lich King

    Lich King MDL Addicted

    Sep 24, 2009
    500
    24
    30
    do i've to recreate the iso?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. biatche

    biatche MDL Addicted

    Nov 14, 2009
    567
    143
    30
    I found myself here while trying to figure out how to setup an unattended win7 without the 100mb system reserved partition. And so I came across "no_hidden" and "no_bootcode" and GRLDR.

    Ok, no_hidden is probably what I need, but that got me all curious with the other 2. What do they actually do? What are they for? I'd like to learn if anybody don't mind explaining. Thanks :)
     
  19. someguyfromhell

    someguyfromhell MDL Junior Member

    Dec 2, 2008
    81
    9
    0
    Wow, crazy answers

    The easiest solution BY FAR is to create a 10MB partition, then resize it to what you want. Windows 7 Setup will not bother you about creating a recovery partition.:)
     
  20. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    809
    814
    30
    sorry this wont work for unattended, the hack allows you to manualy create
    the partitions without the system partition automaticaly being generated.

    no need to do the shift+f10 and using diskpart or resizing partitions.

    the bootcode mod allows you to install GRLDR with an OEM folder, and have
    setup write the bootsector to make the bootloader active.