ZAVCXL0005 - Windows

From miki
Revision as of 19:53, 8 June 2015 by Mip (talk | contribs) (→‎P2V)
Jump to navigation Jump to search

Introduction

This is the configuration page for the Windows 7 partition on ZAVCWL0035.

Configuration Files

All configuration files can be found here.

Installed Applications

Common applications

See Common configuration for Linux.

Essential

Application (package, repo Repository)
sudo apt-...
Application (package)
  • [YYYY-MM-DD] Update to vX.Y
  • TBC

Local

Application (package) [YYYY-MM-DD] Update
Additional configuration settings

Uninstalled

Application (package) [YYYY-MM-DD] Update
Additional configuration settings

P2V

  • Resize C: / /dev/sda1 partition to 60GB using gparted.
  • Move BCD partition /dev/sda2 contiguous to /dev/sda1 using gparted.
  • Create raw partition disk:
sudo dd if=/dev/sda of=vm.mbr bs=512 count=1
sudo install-mbr -i n -p D -t 0 vm.mbr            # Certainly useless since we'll repair the boot with Win rescue disk
sudo vboxmanage internalcommands createrawvmdk -filename zavcwl0035-sda1-mbr.vmdk -rawdisk /dev/sda -partitions 1 -relative -mbr vm.mbr
# This creates 2 files: ...-mbr.vmdk, and ...-mbr-pt.vmdk

Create VM:

  • Mount zavcwl0035-sda1-mbr.vmdk
  • Set hard-disk as Solid-state Drive

Boot VM with Win Repair disk

  • No windows partition found
  • Open command prompt
C:                    # fails
D:                    # Ok
dir                   # Ok
mountvol              # Show C: and D: present, with same UUID
bootrec /fixmbr

Reboot and restart. We get the message:

Missing operating system

Reboot with Repair disk

  • Open command prompt:
bootrec /rebuildbcd
[1] D:\Windows
Add installation to boot list? Yes(Y)/No(N)/All(A):Y

... but this fails.

Boot in Linux Live/CD. In Gparted, delete all partitions but /dev/sda1. Set boot flag on /dev/sda1.

Boot in windows repair. Now it detects the partition. Let repair and restart. Windows boots but we get a blue screen that quickly disappear. Go into advanced boot options by hitting F8 at boot, and choose Disable automatic restart on system failure. We see the message:

A problem has been detected ...
...
Technical information:

*** STOP: 0x0000007B (0xFFFFF880009A9928, 0xFFFFFFFFC0000034, ...)

Boot in windows repair. To skip automatic recovery, select restore image, then next, then cancel twice. Open a command prompt:

mountvol             # Show a single volume C: (+X: and D: from the current boot)
c:
bcdedit /export C:\BCD_Backup
ren C:\boot\BCD bcd.old
bootrec /rebuildbcd

... and say Y when asked to add installation to boot list. Reboot, press F8. We still get the same error as above (0x0000007B). In safe mode, several drivers are started, and stops at CLASSPNP.SYS.

System Settings

1st install
  • TBC
File system
  • TBC
Network
  • TBC
Preferences
  • TBC
Miscellaneous
  • TBC

To Do

Issues

  • Issue — To be completed
  • To Do — Description

Done & Fixed

  • Fixed — Issue description
    Fix description
  • Done — Description