Git Product home page Git Product logo

Comments (6)

hakuna-m avatar hakuna-m commented on August 30, 2024

wubi-16.10-rev317.log.txt and wubi-16.10-rev318.log.txt contain lines which indicates a previous install:

11-22 16:15 DEBUG WindowsBackend: previous_target_dir=D:\ubuntu

There is nothing wrong with these lines because you tried the install again and again. But I miss the lines for deleting of the previous target directory: e.g.

CommonBackend: Deleting D:\ubuntu

These lines are part of the log of the previous installer/uninstaller version, of course. But there should be at least a line:

INFO root: Running the uninstaller...

If there is a previous uninstaller, there should be a line

INFO CommonBackend: Launching previous uninestaller D:\ubuntu\uninstall-wubi.exe

If the version of the previous uninstaller is as equal as the current version, there should be a line:

INFO CommonBackend: This is the uninstaller running

(*) followed by the missing line which indicates the deletion of the old target directory.

To put in a nutshell, can you check if the old target directory D:\ubuntu is completely removed before you install a new version.

Maybe, it is necessary to uninstall it manually

edit: (*)

from wubiuefi.

Javapraca avatar Javapraca commented on August 30, 2024

Yes, I forgot to mention that after each failed installation I removed the installation directory (D:\ubuntu) manually. I guess one time I allowed WUBI to delete previous installation (I assume that has also sorted out C:\boot.ini). Anyway, I am sure that the installation directory did not exist when I run the installations (I think WUBI would not even let me leave its initial window, if the installation folder was not deleted).

I am also sure that WUBI created file D:\ubuntu\install\boot\vmlinuz .

Do you have any clues why WUBI has a problem accessing the file? Do these Python's errors give any clues?

PS. I did not install WUBI on my computer, so I will let You know if this is C:\boot.ini problem when I will have a chance to access it.

from wubiuefi.

hakuna-m avatar hakuna-m commented on August 30, 2024

Do you have any clues why WUBI has a problem accessing the file?

Wubi needs only read permissions for D:\ubuntu\install\boot\vmlinuz. IMHO if the file doesn't exist, there would be another error message. So you confirmed my assumption:

I am also sure that WUBI created file D:\ubuntu\install\boot\vmlinuz

I think WUBI would not even let me leave its initial window, if the installation folder was not deleted

In general, you are right. But maybe a hidden folder would be not deleted.

IMHO there are the following possible reasons:

  • wrong file attributes. e.g. the file is hidden
  • the sub task runs with the permissions of an underprivileged user
  • some antivirus software block reading of the file for security reasons
  • the used Python version 2.7 has problems with Windows XP because XP is not supported by Microsoft anymore.

from wubiuefi.

Javapraca avatar Javapraca commented on August 30, 2024

I have tried to install Ubuntu with WUBI on another Windows XP computer (also on D partition) and got the same errors. Both computers have installed Avast antivirus, but there were no warnings from it. The file attributes are set correctly.

Would you please try to replicate the error and fix it. I think that WUBI on Windows XP is most needed/demanded since XP users are practically forced to change their OS nowadays.

from wubiuefi.

hakuna-m avatar hakuna-m commented on August 30, 2024

Would you please try to replicate the error

Some hours ago, I tried to replicate the error on an old computer with Windows XP SP3. The computer has no internet connection for security reasons. So I copied wubi1610r319.exe and a matching 32 bit ISO to my old computer and tried to install ....

But no error occured, the installation was successful.

from wubiuefi.

hakuna-m avatar hakuna-m commented on August 30, 2024

I compared my log and your logs and I found only minor differences.

  • I didn't use Internet connection, so the step "metalink md5sums comparing" was skipped.
  • Avast antivirus has never been installed on my old XP system. There is an old version of Avira Antivir which was installed some years ago when this system had its last internet connection.
  • I used wubi1610r319.exe instead of wubi1610r318.exe or wubi1610r317.exe but IMHO the differences between r317, r318 and r319 are not important for your issue.
  • I used lubuntu-16.04.1-desktop-i386.iso instead of ubuntu-16.10-desktop-i386.iso. This also skips some internet checks even if there is an internet connection.
  • I used drive F: instead of drive D: But I don't think that it is important. Maybe there is a difference between system drive C: and other drives.

Here is the part of the log where I expected errors:

02-10 14:46 DEBUG  CommonBackend: Extracting files from ISO F:\ubuntu\install\installation.iso
02-10 14:46 DEBUG  WindowsBackend:   extracting md5sum.txt from F:\ubuntu\install\installation.iso
02-10 14:46 DEBUG  WindowsBackend:   extracting casper\vmlinuz from F:\ubuntu\install\installation.iso
02-10 14:46 DEBUG  WindowsBackend:   extracting casper\initrd.lz from F:\ubuntu\install\installation.iso
02-10 14:46 DEBUG  CommonBackend: Checking kernel, initrd and md5sums
02-10 14:46 DEBUG  CommonBackend:   checking F:\ubuntu\install\boot\vmlinuz
02-10 14:46 DEBUG  CommonBackend:   F:\ubuntu\install\boot\vmlinuz md5 = 51e5984c776b1c420ced96f9f88b0116 == 51e5984c776b1c420ced96f9f88b0116
02-10 14:46 DEBUG  CommonBackend:   checking F:\ubuntu\install\boot\initrd.lz
02-10 14:46 DEBUG  CommonBackend:   F:\ubuntu\install\boot\initrd.lz md5 = 11bf9a6fae56bf7a9b426008033d5397 == 11bf9a6fae56bf7a9b426008033d5397
02-10 14:46 DEBUG  TaskList: ## Finished extract_kernel 

So maybe it works, if you disconnect internet during installation or if you use an iso which is not downloadable for the current version. (e.g. wubi1610r.... with a 16.04 iso). This should skip some steps.

from wubiuefi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.