The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    mod2wim recovery partition

    Discussion in 'VAIO / Sony' started by windows, Jan 22, 2009.

  1. windows

    windows Newbie

    Reputations:
    0
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    6
    hello after using mod2wim the hidden partition is shown and i cant hide it back how can i hide it again
    my second question is how can i fix it so i can boot from it and install vista from it
    because when i press f10 to install windows vista from the hidden partiton where is now shown after using mod2wim i get this message
    edit boot options for windows vista
    path: \windows\system32\winload.exe
    Partitions: 2
    iHard disk..some numbers
    [noexecute=optin... ]
     
    blackcats likes this.
  2. bgd

    bgd Notebook Consultant

    Reputations:
    1
    Messages:
    102
    Likes Received:
    1
    Trophy Points:
    31
    The mod2wim script doesn't write or modify anything on the recovery partition, so I'm not sure why your recovery partition won't react when you press F10 during boot-up. Mod2Wim does however change the partition's ID number tag in order to hide/unhide the partition in Vista, just like the Recovery Center does when you invoke it. I omitted to include in the script the following scenario (I might "fix" it later though in an update) that occurs when the script fails to hide the partition because it's in use by some random Vista process but the partition ID tag is nevertheless changed back to the old one. What you get then is a catch 22 situation, you can't remove the drive letter because Vista doesn't "see" the partition anymore since the partition ID tag is not that of a regular NTFS/FAT partition any longer but the partition is still accessible inside Explorer since it wasn't successfully hidden/unmounted.

    So, what you can do to fix this, i.e. hide it again, is simply to open a command console window with administrator privileges and write the following:

    Code:
    diskpart
    select disk 0
    select partition 1
    set id=07 override
    exit
    Now it will be recognized by Vista Disk Management (diskmgmt.msc) again, and you will be able to remove any drive letters used by it inside the Vista Disk Management console (might require a reboot). Also, just an idea, by marking the partition active, you might be able to boot into it (i.e. the recovery center) on the next reboot, this is just an idea, I'm not sure what your problem is exactly with the F10 hotkey...

    Anyway, after you've successfully removed any Vista drive letters from the recovery partition (with or without a reboot), you should again open up a command console window and write the following:

    Code:
    diskpart
    select disk 0
    select partition 1
    set id=27 override
    exit
    This is because the recovery partition is supposed to have partition ID 27 when it's hidden, i.e. not in use (as opposed to having the partition ID 07 when accessed as a regular NTFS partition)...