Diff for "RecoveringWindows"


Differences between revisions 24 and 25
Revision 24 as of 2010-06-13 19:26:48
Size: 2870
Editor: 78-105-201-166
Comment: More tidying up
Revision 25 as of 2010-06-13 19:32:04
Size: 2899
Editor: 78-105-201-166
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
This is a frequent error seen on wubi installations.
It leaves windows unable to boot and complains about a missing C:\windows\system32\hal.dll

hal.dll
is the Hardware Abstraction Layer (just like linux has) for windows.
This is a frequent error seen on wubi installations.  It leaves Windows unable to boot and complains about a missing "C:\windows\system32\hal.dll" which is the Hardware Abstraction Layer for Windows. Linux also has something similar.
Line 18: Line 15:

 2. Under
the "Places" menu, select your Windows partition (it will only be shown by its partition size)

 3
. Navigate to windows/system32/dllcache

 4
. Copy hal.dll from there to windows/system32/

 5
. Reboot.
 1. On the top taskbar click on the "Places" menu   1. Select your Windows partition (it will only be shown by its partition size)
 1. Navigate to windows/system32/dllcache
 1. Copy hal.dll from there to windows/system32/
 1. Reboot.

There are several complications/problems that can occur while running Ubuntu in a dual boot/wubi configuration.

This article shows you how to fix them.

Wubi

Missing hal.dll

This is a frequent error seen on wubi installations. It leaves Windows unable to boot and complains about a missing "C:\windows\system32\hal.dll" which is the Hardware Abstraction Layer for Windows. Linux also has something similar.

This problem can be fixed by using the following steps.

  1. Boot-up an Ubuntu LiveCd

  2. On the top taskbar click on the "Places" menu
  3. Select your Windows partition (it will only be shown by its partition size)
  4. Navigate to windows/system32/dllcache
  5. Copy hal.dll from there to windows/system32/
  6. Reboot.

Dual Boot

Resizing Windows Vista or Win7 Partitions

Windows 7 and Vista sometimes fails to boot easily after its partitions are resized outside of Windows. This is due to Windows using a very simple boot loader. A regular file-system check is normal and to be expected on the first boot-up to Windows 7 or Vista because GParted programs Windows to do that by putting the 'dirty' flag in its file-system metadata.

Resizing a Windows Partition in Windows

The Windows users way of resizing a Windows 7 or Vista partition is to

  1. Go into the Control-Panel
  2. Select "classic view" or "icon view" (you will have to look around hard for this)
  3. Administrative Tools
  4. Computer Management
  5. Disk Manager (or something similar)
  6. Right-click on the Windows partition and resize.

Resizing a Windows Partition in Linux

Sometimes when using GParted Partition Editor, people forget or are not aware they should remove the check-mark from the 'align to cylinders' check-box because Windows 7 and Vista partitions usually start in sector 2048 instead of sector 63 like other operating systems partitions.

This can get Windows boot-loader temporarily out of sorts.

How To Recover

To recover from this boot problem, you can either

a) Boot from your recovery dvds

  • Select "startup repair"

b) Download either

Links

RecoveringWindows (last edited 2012-09-26 13:05:47 by yannubuntu)