wubi, unable to install 8.04 Beta

Bug #216161 reported by JC
8
Affects Status Importance Assigned to Milestone
Wubi
Invalid
Undecided
Unassigned
lupin (Ubuntu)
Fix Released
High
Colin Watson
parted (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

i had wubi installed, and it worked fine
untill kernel 24-15 came
Hal crashed and ubuntu didn't work anymore
kernel 24-14 worked fine

so i erased wubi, and tried to reinstall with the beta of 8.04
but i did not succeed

a window said te report it!

Related branches

Revision history for this message
JC (jcsaintpo) wrote :
Revision history for this message
Agostino Russo (ago) wrote :

Interesting

Apr 11 21:05:10 ubuntu ntfsresize: ntfsresize v2.0.0 (libntfs 10:0:0)
Apr 11 21:05:10 ubuntu ntfsresize: ERROR: Device '/dev/sda1' is mounted read-write. You must 'umount' it first.
Apr 11 21:05:10 ubuntu partman: Error running 'ntfsresize --info'

I had disabled ntfsresize in partman-auto-loop whenever the disk images are pre-made, will have to find out if there is any other place where that is used...

JC can you please retry using latest Ubuntu daily ISO from http://cdimage.ubuntu.com/daily-live/current/ and wubi rev 482+ from wubi-installer.org?

Changed in wubi:
assignee: nobody → ago
Revision history for this message
Agostino Russo (ago) wrote :

JC,

In fact, before you try a newer ISO, can you please uninstall and run the installer again using the same beta ISO/CD but in verbose mode?
To run in verbose mode, when you reboot, after selecting "ubuntu" press esc and then select "Verbose mode"
Then if the error repeats, please attach the logs again.

Revision history for this message
JC (jcsaintpo) wrote :

my guess it's something in the kernel or in hal

the backgroundscreen of ubuntu opens, and then it stops installing!

i was a bit fast and already deleted the iso

I am downloading daily now
in 30minutes i should have it! ;-)

Revision history for this message
JC (jcsaintpo) wrote :

this time, i got into ubuntu
but hal did a system failiure
and i couldn't even connect to internet to report the bug

Revision history for this message
Agostino Russo (ago) wrote :
Changed in wubi:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
JC (jcsaintpo) wrote :

first link is me :p

Revision history for this message
Colin Watson (cjwatson) wrote :

ntfsresize -i might be called while setting up the choices for the automatically_partition question (ubiquity/d-i/source/partman-auto/automatically_partition/resize_use_free/choices). That shouldn't happen with partman-auto/method and partman-auto/disk preseeded, though, so you shouldn't have to worry about that. I don't see anywhere else where it could be called non-interactively.

The other obvious possibility is that the disk images didn't in fact get created properly for some reason.

Revision history for this message
JC (jcsaintpo) wrote :

i get everytime
HAL can not initialize

in alfa 4 & 5 all worked fine

Revision history for this message
JC (jcsaintpo) wrote :

i wanted ti reinstall in verbose menu
but i must redownload whole iso!
why isn't it using the back-up?

Revision history for this message
Agostino Russo (ago) wrote :

JC,

Wubi should reuse the old ISO unless you unchecked the "backup installation files" when you uninstalled. In any case also please provide the wubi log which is located in the user temp folder under Windows (%temp%).

My understanding is that you cannot reproduce anymore the original issue. One reason though might be that ntfsresize --info failure can be triggered by a bad shutdown, and if you reboot and shutdown cleanly from Windows the fs gets fixed automatically and ntfsresize will pass with green lights on the Linux side... Which still does not answer why ntfsresize was involved at all...

You may want to open a separate bug report for the HAL issue providing any info/log you can. Since that is likely a separate problem.

Revision history for this message
Agostino Russo (ago) wrote :

Colin,

Unfortunately JC reinstalled and so the original /ubuntu/disks is gone, I'll stay alert for other reports and test the lack of virtual disk images.

Revision history for this message
Agostino Russo (ago) wrote :

Colin can we add maybe some logging around ntfsresize calls that appear also without debug mode?

Revision history for this message
JC (jcsaintpo) wrote :

here the log of wubi

Revision history for this message
JC (jcsaintpo) wrote :
Revision history for this message
thedoorguy (thedoorguy) wrote :
Revision history for this message
Agostino Russo (ago) wrote :

Please replace the content of c:\ubuntu\install\custom-installation\hooks\early-command.sh with the following 2 lines (cut and paste):

#!/bin/sh
sed -i '/#! \/bin\/sh/ a\set -x' /root/bin/autopartition-loop

Then save and reboot. Press esc after selecting "ubuntu" and go for verbose mode. If the error happens again, pls attach c:\ubuntu\installation-logs.zip

Revision history for this message
Agostino Russo (ago) wrote :

Just use http://wubi-installer.org/devel/minefield/Wubi-8.04-beta-rev487sh.exe
Press esc after selecting "ubuntu" and go for verbose mode. If the error happens again, pls attach c:\ubuntu\installation-logs.zip

Agostino Russo (ago)
Changed in wubi:
status: Confirmed → In Progress
Revision history for this message
JC (jcsaintpo) wrote :

is this normal?
I coninuously get into a live-session instead of an installed version of 8.04

Revision history for this message
Agostino Russo (ago) wrote :

If you experience the bug please provide the following information (use Wubi revision 487sh) :

* c:\ubuntu\installation-logs.zip
* c:\ubuntu\install\custom-installation\preseed.cfg
* list of files (and size) in c:\ubuntu\disks

Revision history for this message
JC (jcsaintpo) wrote :

iif i uninstall, and then reinstall, wubi downloads again the disk iso
eventhough i said to keep the backup!

Revision history for this message
JC (jcsaintpo) wrote :

i used 487sh but i keep getting into a live session
and i had to download evrything again

i get an amd 64
but my system is intel

Revision history for this message
JC (jcsaintpo) wrote :

no installation logs

Revision history for this message
JC (jcsaintpo) wrote :

disks /
a boot & shared map

Revision history for this message
JC (jcsaintpo) wrote :

root.disk is 13.671.975 kb
swap disk is 976.563

Revision history for this message
Agostino Russo (ago) wrote :

JC, if the issue is unrelated to the original bug please open a new bug report. In your case, the relevant log related to the Windows side of things, is in the user temp folder under Windows (%temp%). For the others experiencing an error dialog after having rebooted, please follow the instructions in my post above.

Revision history for this message
thedoorguy (thedoorguy) wrote :

Re: the following instructions... error reoccured.

(((Was this instruction for me? Hope so, otherwise I have distroyed the early-commands.sh file)))

"Please replace the content of c:\ubuntu\install\custom-installation\hooks\early-command.sh with the following 2 lines (cut and paste):

#!/bin/sh
sed -i '/#! \/bin\/sh/ a\set -x' /root/bin/autopartition-loop

Then save and reboot. Press esc after selecting "ubuntu" and go for verbose mode. If the error happens again, pls attach c:\ubuntu\installation-logs.zip"

Revision history for this message
thedoorguy (thedoorguy) wrote :

Re: following instruction.... failure reoccured.

"Just use http://wubi-installer.org/devel/minefield/Wubi-8.04-beta-rev487sh.exe
Press esc after selecting "ubuntu" and go for verbose mode. If the error happens again, pls attach c:\ubuntu\installation-logs.zip"

Revision history for this message
thedoorguy (thedoorguy) wrote :

re: following instruction.
__________
"If you experience the bug please provide the following information (use Wubi revision 487sh) :

* c:\ubuntu\installation-logs.zip
* c:\ubuntu\install\custom-installation\preseed.cfg
* list of files (and size) in c:\ubuntu\disks"
___________
1. installation log attached to prior comment
2. attached
3. there are no file is c:\ubuntu\disks or any of its subdirectories

Revision history for this message
thedoorguy (thedoorguy) wrote :

whoops... didn't attach file... try again

Revision history for this message
Agostino Russo (ago) wrote :

thedoorguy, I assume you are installing on VFat
After a wubi installation on the windows side (use same settings), can you please check you have the following file before rebooting?

c:\ubuntu\disks\root.disk

(and report the size)

Revision history for this message
thedoorguy (thedoorguy) wrote :

I just ran the wubi installer and there to select until the window saying to reboot... I don't know about vfat. My hd is formatted fat32 and reviewing some of the log files in 'c:\ubuntu\install error log' I know that the install program is finding the drive and correctly indentify make, size, format and perhaps other fact about the drive.

I ran the wubi exe file without uninstalling ubundu then checked for the root.disk. None exists. There are no file in the c:\ubuntu\disks directory of either of its subdirectories.

Should I uninstall ubuntu, reinstall and look for root.disk?
-------------
Here are some intries denoting errors that I pulled from a couple of the log file... don't know if they even pertain to problem.

1)
From wubi-8.04 beta rev479.log & Wubi-8.04-beta-rev487.log
Download status=success:c:\ubuntu\install\MD5SUMS
      Verifying signature c:\ubuntu\install\MD5SUMS.asc
0; gpgv: error loading `iconv.dll': One of the library files needed to run this application cannot be found.

2)
From c:\ubuntu\install error log\var\syslog (last few lines of file)

Apr 11 19:49:53 ubuntu kernel: [ 104.009404] end_request: I/O error, dev fd0, sector 0
Apr 11 19:49:53 ubuntu kernel: [ 104.033338] end_request: I/O error, dev fd0, sector 0
Apr 11 19:49:59 ubuntu ubiquity: expr:
Apr 11 19:49:59 ubuntu ubiquity: non-numeric argument
Apr 11 19:49:59 ubuntu ubiquity:
Apr 11 19:49:59 ubuntu partman-auto-loop: Error: partman-auto-loop/recipe too large (5200 > 0)

Revision history for this message
Agostino Russo (ago) wrote :

Please do a clean uninstall and install (reselect the same drive / size). Then attach the wubi log in your temp folder and list the content of c:\ubuntu\disks

Revision history for this message
Agostino Russo (ago) wrote :

Please use this file: http://wubi-installer.org/devel/minefield/Wubi-8.04-beta-rev487.exe
it will provide a more detailed log, I only need the windows log, there is no need to reboot.
In short have to find out why image files are not created in fat32

Revision history for this message
thedoorguy (thedoorguy) wrote :

Ago....SUCESS!!

I uninstalled ubuntu and ran Norton Speed Disk routine for good measure before I rebooted. I used rev487.... the installation proceeded without a hitch.

the following files now exits in c:\ubuntu\disks:
home.disk 976,563kb
root.disk 3,906,250kb
swap.disk 976,563kb
usr.disk 3,906,250kb

Thank You so much for your Help!!! I look forward to learning ubuntu.

Revision history for this message
Agostino Russo (ago) wrote :

Did you do anything differently from the first run (different drive/size)? I would like to understand why the files were not there at the beginning. That should be fixed.

Revision history for this message
thedoorguy (thedoorguy) wrote :

Re:
"Did you do anything differently from the first run (different drive/size)? I would like to understand why the files were not there at the beginning. That should be fixed."

Two things I did different:
 (1) use rev487 after uninstalling ubuntu {{had run rev487 before but without uninstalling unbuntu}}
 (2) Ran Norton Speed Disk. It organizes the HD by placing swap file, folders, applications, seldom used data files and frequently used data file in specific seqence. The swap, folders, apps and seldom used files are placed at the beginning of the disk, the frequently used data files are place at the end. All the space between is open. {{the program did quite a bit of reorganizing}}
-------------

You probably had things fixed with the 487 rev. I probably should have
run the disk program before I ever ever tried to load ubuntu and should have unstalled before I ran the 487 rev. Oh well, got a new problem now. Ran 238 mb worth of updates ubuntu wanted to install and when I rebooted ended up in busybox with some kind of an error involving a USB port. Just what I needed...something to do tomorrow. not.
--------------
Am attaching the wubi log from the first time I installed ubuntu. Don't know if will tell you anything but you haven't seen it.

Revision history for this message
Agostino Russo (ago) wrote :

Well you also used 487 in the earlier run, didn't you? From the log I can see you tried several times, and on several occasions you cancelled the download.

Revision history for this message
thedoorguy (thedoorguy) wrote :

re:
 "Well you also used 487 in the earlier run, didn't you? From the log I can see you tried several times, and on several occasions you cancelled the download."

A little history... when I initially download, 4/8/08, the download of the iso was interrupted because another task I was doing locked up my computer. That install bombed out with some error not related to partioning. I decided to uninstall, download all again and install again which I did on 4/11/08. (I don't know what wubi revision I got that 2nd time.) That 2nd install was when I started getting the partioning error.

The wubi log I sent last night was date 4/8/08 and appears to have been created using rev479. There is only one other wubi log in my temp file and it appears to be from rev487. Purhaps the rev487 log was over-written each time I installed using rev487. The one I have now, and sent with an earlier comment, is dated 4/14/08. I think I re-installed with and without uninstall, 3 or 4 times since the partioning error started. {{maybe a mod to wubi to create a "new name" install log file with each install attemp would be helpful when chasing bugs}}

I'm sorry I ran that Norton disk program when I did... I suppost that alone could have "solved" the partioning problem.

One again...Thanks ago.

PS: once again please note... a new comment will get me to respond again.

Revision history for this message
Hippu (teemu-heinamaki) wrote :

I also get this problem, testing if defragmenting helps.

Revision history for this message
Agostino Russo (ago) wrote :

Hippu, there shuould be a few large files (~4GB) in c:\ubuntu\disks, please check that they are there after running wubi. If not please provide the log in your user temp folder (%temp%)

Revision history for this message
Hippu (teemu-heinamaki) wrote :

I just ran wubi and in c:\ubuntu\disks there are root.disk (13 GB) and swap.disk (953 MB).

Revision history for this message
Hippu (teemu-heinamaki) wrote :

Some other files that could be handy.

Revision history for this message
Hippu (teemu-heinamaki) wrote :

run with verbose mode

Revision history for this message
Luke Yelavich (themuso) wrote :

Using the latest daily ISO image from cdimage, I attempted a wubi install onto a FAT32 partition which is part of a Windows XP install. This partition is not used for anything else.

The install size chosen was 15GB, and I have root.disk, usr.disk, and home.disk, all of which are 3815MB in size, with a 954MB swap.disk.

Revision history for this message
Agostino Russo (ago) wrote :

Luke, did the actual installation (linux side) work for you?

Revision history for this message
Agostino Russo (ago) wrote :

Hippu,

Can you please post the output of:

cat /proc/partitions
sudo parted -s /dev/sda print all

Revision history for this message
Hippu (teemu-heinamaki) wrote :

Output of 'sudo parted -s /dev/sda print all':

Error: Invalid partition table on /dev/sda -- wrong signature 0

Revision history for this message
Hippu (teemu-heinamaki) wrote :

output of cat /proc/partitions

Revision history for this message
Hippu (teemu-heinamaki) wrote :

better output of the parted command

Revision history for this message
Hippu (teemu-heinamaki) wrote :

Woo! I managed to solve the problem. The culprit was a broken partition that had been left to the hard disk from my previous time tinkering with Ubuntu. The partition caused some abnormalities in the allocation table, which caused parted to think it was broken. I solved the problem by removing the broken partition, I then reinstalled wubi and it worked. I forgot to say earlier but the error message I got got from Ubiquity was the "Root system not found. Please fix it from partition menu" one. So this bug wasn't really a wubi one.

Revision history for this message
Colin Watson (cjwatson) wrote :

OK, sounds like a parted bug for failing to deal, but not a release-critical one given that you've worked around it.

Revision history for this message
Colin Watson (cjwatson) wrote :

(Of course, I'm assuming that Hippu's issue is remotely related to the original bug report, which isn't a given!)

Revision history for this message
Agostino Russo (ago) wrote :

Hippu is a different issue, but it looks to me like the problem of the original poster is that he installed on a partition number > 9.

That appeared as partition #1 to autopartition-loop. It might be that the partition number gets truncated at some point.

Revision history for this message
Colin Watson (cjwatson) wrote :

OK, it's too confusing to have two bugs lumped together. Hippu, could you please file a separate bug report about your problem with Ubuntu parted? Thanks.

Changed in parted:
status: New → Invalid
Revision history for this message
Agostino Russo (ago) wrote :

That is a lupin issue affecting installations on partition # > 9, the patch was submitted there

Changed in wubi:
status: In Progress → Invalid
assignee: ago → nobody
importance: High → Undecided
Changed in lupin:
assignee: nobody → ago
status: New → Fix Committed
Colin Watson (cjwatson)
Changed in lupin:
assignee: ago → kamion
importance: Undecided → High
milestone: none → ubuntu-8.04
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lupin - 0.16

---------------
lupin (0.16) hardy; urgency=low

  * Tighten /proc/mounts test to avoid e.g. /dev/sda10 matching a search for
    /dev/sda1, thereby causing partman-auto-loop to operate on the wrong
    partition (thanks, Agostino Russo; LP: #216161).

 -- Colin Watson <email address hidden> Tue, 22 Apr 2008 15:57:27 +0100

Changed in lupin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.