Wubi, Windows Ubuntu Installer

Installation fail on Windows 7

Reported by ManuX on 2009-11-01
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Wubi
Medium
Agostino Russo

Bug Description

Using Windows 7 x64

Installation stops after a while (see attachment).

ManuX (emmanuel-bezagu) wrote :
Agostino Russo (ago) wrote :

Hi, there are logs from several installations, it is better if you uninstall, then remove the log file, then do a clean installation and submit that one log. I assume that the relevant error is the following:

>>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 629, 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 {3c772ca6-c0e8-11de-9eaa-8bcc9858b477} device partition=T:
>>retval=1
>>stderr=Une erreur s'est produite lors de la d‚finition de l'‚l‚ment de donn‚es.

Cette demande n'est pas prise en charge.

I am not sure what the message says, translation welcome :)

ManuX (emmanuel-bezagu) wrote :

You're right, the relevant error is eaxactly here.

Translation :

>>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 629, 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 {3c772ca6-c0e8-11de-9eaa-8bcc9858b477} device partition=T:
>>retval=1
>>stderr=An error occurred during the definition of the element of data.

This request is not taken.

In fact, the binary C:\Windows\sysnative\bcdedit.exe does not exist here. It is in C:\Windows\system32\

Agostino Russo (ago) on 2009-11-03
Changed in wubi:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Agostino Russo (ago)
Agostino Russo (ago) wrote :

hmm strange, the relevant code is

 bcdedit = join_path(os.getenv('SystemDrive'), 'bcdedit.exe')
if not os.path.isfile(bcdedit):
     bcdedit = join_path(os.environ['systemroot'], 'sysnative', 'bcdedit.exe')
if not os.path.isfile(bcdedit):
     bcdedit = join_path(os.environ['systemroot'], 'System32', 'bcdedit.exe')
if not os.path.isfile(bcdedit):
     log.error("Cannot find bcdedit")

So you would only use sysnative only if there is a file C:\Windows\sysnative\bcdedit.exe, otherwise it will try C:\Windows\System32\bcdedit.exe
Are you sure that there is no file called C:\Windows\sysnative\bcdedit.exe?

Marek Pokorny (marek3571) wrote :

I have the same problem.

For me, C:\Windows\sysnative\bcdedit.exe does not exist, and even if I manually create it, It still says it can't find the file.

aphixe (aphixe) wrote :

Same issue, still trying to see how to solve it

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments