Wubi, Windows Ubuntu Installer

Can't install Ubuntu 10.04 through wubi on Windows 7 on my D Drive. bcdedit.exe error

Asked by Utkarsh Kumar on 2010-10-10

Hi,
I am unable to install Ubuntu 10.04 on my laptop.
I use HP G62 64 bit machine. And, I am trying to install Ubuntu on the D drive of my machine. but during the installation I receive the following error :-
-----------------------------------
Exception: Error executing command
>>command=C:\Windows\sysnative\bcdedit.exe /set {0e733055-ce6f-11df-ad0c-eca31cf9c645} device partition=D:
>>retval=1
>>stderr=An error has occurred setting the element data.

The request is not supported.

>>stdout=
For more information, please see the log file C:\Users\Utkarsh\AppData\Local\Temp\wubi-10.04.1-rev190.log
----------------------------------
My C and D drive are NTFS file systems. Just 1 hour back I have installed a Fresh Copy of Windows 7, formating each of the drives, but that did not help either.
Surprisingly this error does not come if I install Ubuntu on My C Drive.
Also, I have tried installing both 32 bit and 64 bit versions of Ubuntu. Nothing has helped.
Is there something missing ?

Question information

Language:
English Edit question
Status:
Solved
For:
Wubi Edit question
Assignee:
No assignee Edit question
Solved by:
Utkarsh Kumar
Solved:
2010-10-12
Last query:
2010-10-12
Last reply:
2010-10-10
Utkarsh Kumar (utkarsh-kumar) said : #1

The relevant contents of the log file :-

10-10 03:10 DEBUG CommonBackend: D:\ubuntu\install\boot\initrd.lz md5 = bbdb9403ed7050629dbb57085aa381dd == bbdb9403ed7050629dbb57085aa381dd
10-10 03:10 DEBUG TaskList: ## Finished extract_kernel
10-10 03:10 DEBUG TaskList: ## Running choose_disk_sizes...
10-10 03:10 DEBUG WindowsBackend: total size=17000
  root=16744
  swap=256
  home=0
  usr=0
10-10 03:10 DEBUG TaskList: ## Finished choose_disk_sizes
10-10 03:10 DEBUG TaskList: ## Running create_preseed...
10-10 03:10 DEBUG TaskList: ## Finished create_preseed
10-10 03:10 DEBUG TaskList: ## Running modify_bootloader...
10-10 03:10 DEBUG TaskList: New task modify_bcd
10-10 03:10 DEBUG TaskList: ### Running modify_bcd...
10-10 03:10 DEBUG WindowsBackend: modify_bcd Drive(C: hd 181667.496094 mb free ntfs)
10-10 03:10 ERROR TaskList: Error executing command
>>command=C:\Windows\sysnative\bcdedit.exe /set {0e733055-ce6f-11df-ad0c-eca31cf9c645} device partition=D:
>>retval=1
>>stderr=An error has occurred setting the element data.

The request is not supported.

>>stdout=
Traceback (most recent call last):
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\win32\backend.py", line 631, in modify_bcd
  File "\lib\wubi\backends\common\utils.py", line 63, in run_command
Exception: Error executing command
>>command=C:\Windows\sysnative\bcdedit.exe /set {0e733055-ce6f-11df-ad0c-eca31cf9c645} device partition=D:
>>retval=1
>>stderr=An error has occurred setting the element data.

The request is not supported.

>>stdout=
10-10 03:10 DEBUG TaskList: # Cancelling tasklist
10-10 03:10 DEBUG TaskList: New task modify_bcd
10-10 03:10 ERROR root: Error executing command
>>command=C:\Windows\sysnative\bcdedit.exe /set {0e733055-ce6f-11df-ad0c-eca31cf9c645} device partition=D:
>>retval=1
>>stderr=An error has occurred setting the element data.

The request is not supported.

>>stdout=
Traceback (most recent call last):
  File "\lib\wubi\application.py", line 56, in run
  File "\lib\wubi\application.py", line 130, in select_task
  File "\lib\wubi\application.py", line 156, in run_installer
  File "\lib\wubi\backends\common\tasklist.py", line 197, in __call__
  File "\lib\wubi\backends\win32\backend.py", line 631, in modify_bcd
  File "\lib\wubi\backends\common\utils.py", line 63, in run_command
Exception: Error executing command
>>command=C:\Windows\sysnative\bcdedit.exe /set {0e733055-ce6f-11df-ad0c-eca31cf9c645} device partition=D:
>>retval=1
>>stderr=An error has occurred setting the element data.

The request is not supported.

>>stdout=
10-10 03:10 DEBUG TaskList: ## Finished modify_bootloader
10-10 03:10 DEBUG TaskList: # Finished tasklist

bcbc (bcbc) said : #2

Is D: a dynamic disk? I believe that windows allows more than 4 primary partitions using dynamic disks but these cannot be used for Ubuntu since they're managed by windows. Since wubi doesn't need a separate partition (or get any benefit from running on a separate partition) I'd just use C:.

Note: in fact there is a known bug that occurs when running wubi on a separate partition to windows - whenever you upgrade package grub-pc you can leave your wubi install unbootable or damage your bootloader as it doesn't recognize wubi installs unless they are on the same partition as windows.

Utkarsh Kumar (utkarsh-kumar) said : #3

Could not solve this problem....
So downloaded the iso and used a usb instead...Surprisingly that did not create any problem installing in another drive...