Experimental - Install Windows 7 from command prompt (Shift+F10)

Joe7

New member
Member
Local time
5:01 AM
Messages
54
I'm trying to install Windows 7 Pro in a partition of a multi boot disk.
My goal is to avoid overwriting my Grub bootloader. I'm on an old BIOS machine and storage disk has a GPT partition table.

I thought to just apply install.wim image, something like this:

Code:
dism /apply-image /imagefile:e:\sources\install.wim /index:1 /applydir:c:\

Unfortunately the above dism command seems a bit smarter than the version included in my win7 install ISO.
I tried but there isn't any recognized "/apply-image" option...

Questions:

1. how to install windows 7 using ISO image and its command prompt (shift+f10)

2. how to prevent windows install procedure to put its bootloader at the beginning of my disk and overwrite actual Grub loader for other linux system.

Thanks in advance!
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium 64bit
In win7 the commands are not the same as win10/11

how to prevent windows install procedure to put its bootloader at the beginning of my disk

use the apply method instead of setup.exe
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
What is "apply method"?
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium 64bit
I found an alternative way to "apply" x:\sources\install.wim to target NTFS partition prepared for win7.
I used "wimapply" command from linux, part of "wimlib" package.
To find the "index" of windows channel version ("professional" for instance):
Code:
wiminfo /mnt/cdrom/install.wim
In my case windows 7 Professional has Index number "3".
To apply the wim image of Win 7 Professional to target partition, let's say "/dev/sda5":
Code:
wimapply /mnt/cdrom/sources/install.wim 3 /dev/sda5
It will install/extract windows 7 pro on /dev/sda5 partition.

Anyway one step is missing, the bootloader configuration and install.
And it is what I want, to prevent overwriting Grub bootloader installed in first sectors of disk.
I tried some suggests found to install and fix windows bootloader but without "fixmbr", still to prevent Grub overwriting.

How to restore Windows 7 boot sector from Linux - Super User

Install Windows from Linux using wimapply - Super User


But now I'm stuck with an error when I choose win7 added in grub bootloader menu:
Code:
File: \BootBCD
Status: 0xc000000e
Info: An error occurred while attempting to read the boot configuration data.

I suspect the matter is related to hybrid configuration:

- Old Bios machine
- GPT format partition table

I read windows 7, also 64 bit, want a pure MBR configuration with "msdos" format partition table, on old BIOS machines.
On the other hand it can be installed on a disk with GPT partition table, but on a UEFI system only.

I don't know what exactly is related that limitation, may be to just some step of installation, otherwise I wondering if it is a goo idea to configure something like clover or similar ways to "emulate" UEFI system at boot. But I don't know if it will be enough for windows requirements.

Any hints?
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium 64bit
Back
Top