During install reports size of new partition as 0.0 B

Bug #626299 reported by Søren Bredlund Caspersen
74
This bug affects 14 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
High
Evan

Bug Description

Binary package hint: ubiquity

With latest daily build of Maverick the installer, when telling how much space the partition will take up, when choosing to use the entire disk, reports a size of 0.0 B.

This is clearly wrong. I think the disk was around 50 GB.

Revision history for this message
Monkey (monkey-libre) wrote :

I can confirm this bug with maverick-desktop-i386 30-Aug-2010 08:06
Also I´ve attached a screenshot.

tags: added: maverick
Changed in ubiquity (Ubuntu):
status: New → Confirmed
Evan (ev)
Changed in ubiquity (Ubuntu):
assignee: nobody → Evan Dandrea (ev)
importance: Undecided → High
tags: added: iso-testing
Revision history for this message
Erick Brunzell (lbsolost) wrote :

Using the newest i386 Desktop for iso-testing I notice this both attempting "entire disc" or "side by side" installs, but it's not consistent.

In addition to that I notice when that's displayed the other options (Use entire partition, use entire disc, split largest partition) will be "greyed out".

In reality I think the "use entire" options are going to result in a lot of confusion for complete noobs. I'll have to discuss this at the forums to get my brain wrapped around it all ;^/

Revision history for this message
Erick Brunzell (lbsolost) wrote :

Oops, forgot to mention that the "x # of smaller partitions are hidden, please use advanced................." is also NOT present when that 0.0B shows up.

I can though always just quit the install, restart the install, select "manual partitioning" and always successfully complete the installation. So, at least the manual (advanced) install seems to be working flawlessly.

Changed in ubiquity (Ubuntu):
milestone: none → ubuntu-10.10
Revision history for this message
Erick Brunzell (lbsolost) wrote :
Download full text (4.2 KiB)

@ Evan Dandrea,

I just tried two more installs , using ubiquity version 2.3.13, details below:

I began with another entire disc install, beginning with only one drive installed:

ubuntu@ubuntu:~$ sudo parted /dev/sda print
Model: ATA WDC WD800JB-00JJ (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 1049kB 25.4GB 25.4GB primary ext4 boot
 2 25.4GB 80.0GB 54.7GB extended
 6 25.4GB 50.1GB 24.7GB logical ext4
 8 50.1GB 73.5GB 23.4GB logical ext4
 9 73.5GB 74.6GB 1061MB logical linux-swap(v1)
 7 74.6GB 76.7GB 2142MB logical linux-swap(v1)
 5 76.7GB 80.0GB 3305MB logical linux-swap(v1)

After choosing the "Erase and use entire disc" option I'm taken to a screen that shows "Allocate drive space" and I see the graphic "Ubuntu /dev/sda (ext4) 0.0B" with the two options "Use entire partition" or "Split largest partition". Since I'd already selected the "entire disc" option why is it even asking me those two questions? Which partition? I've already chosen to "Erase and use entire disc" so why ask if I want to split a partition?

Also the "use the advanced partitioning tool" option was NOT available!

I clicked on neither one of those options. I just clicked on "Install now".

It did install properly (I rebooted to be sure):

lance@lance-desktop:~$ sudo parted /dev/sda print
Model: ATA WDC WD800JB-00JJ (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 1049kB 76.7GB 76.7GB primary ext4 boot
 2 76.7GB 80.0GB 3305MB extended
 5 76.7GB 80.0GB 3305MB logical linux-swap(v1)

But I can easily see how this would be very confusing,

Next I went for a "side by side" install on that same drive. I made no changes to the partitions before beginning. After clicking on "Install side by side choosing between...." I go to a screen that this time shows the partitions properly. It showed 37.8GB and 38GB, and it showed one smaller partition hidden (obviously SWAP) along with the option to use the advanced partitioning tool. And the "slider" works to change partition size.

But it also shows the options to "Use entire partition" or "Use entire disc". Need I explain the potential confusion surrounding that? Which partition are they referring to? Which disc? Remember that Windows users are used to thinking "A", "C", "D", etc. Many don't know the difference between a disc and a partition because Windows keeps us "dumbed down" :^)

However I simply bypassed those options again, clicked on "Install now", and the install was successful:

ubuntu@ubuntu:~$ sudo parted /dev/sda print
Model: ATA WDC WD800JB-00JJ (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
 1 1049kB 38.7GB 38.7GB primary ext4 boot
 2 38.7GB 80.0GB 41.3GB extended
 6 38.7GB 75.1GB 36.4GB logical ext4
 7 75.1GB 76.7GB 1605MB...

Read more...

Revision history for this message
Erick Brunzell (lbsolost) wrote :

Just following up on things before I call it a day and I see I left one thing out.

In comment #2 I mentioned some options being "greyed out" and after repeating this many times that appears to only happen if I've clicked on "Back" and then clicked on "Install" again.

Although IMHO a lot of those options should not even be present.

Sorry to be a pain.

You can contact me anytime to request testing.

Revision history for this message
starslights (starslights) wrote :

Hello,

i has tested the last ISO build on virtualbox OSE 3.2 x86 64 and i get the same errors as described up.

Best Regards

Revision history for this message
Pranesh Prakash (the-solipsist) wrote :

Confirming this bug with the Meerkat Beta (not daily build) AMD64 ISO.

Evan (ev)
Changed in ubiquity (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :
Download full text (4.2 KiB)

ubiquity (2.3.18) maverick; urgency=low

  [ Evan Dandrea ]
  * Improve the text on the prepare page, based on input from Matthew
    Paul Thomas, Amanda Brock, and Andrew Sinclair
    (LP: #635269, LP: #635260).
  * Translate latitude and longitude from the Geonames service to its
    respective Olsen timezone database entry.
  * Add back the hostname entry (LP: #628087).
  * Use a block device icon for cases where we cannot detect the
    operating system on a partition.
  * Set the amount of used space on a partition that we presume contains
    no operating system (LP: #626299).
  * Make requiring a password to log in the default again, matching the
    behavior in the previous version of Ubuntu.
  * Use the correct string for the resize partition option.
  * Set the size of the disk on the automatic partitioning page
    (LP: #626299).
  * Use dmidecode to get a more unique suffix for the hostname
    (LP: #628087).
  * Also generate a sample hostname when generating a sample username
    (LP: #634279).
  * Only set the next button to 'Install Now' when not on the first
    partitioning page (LP: #636392).
  * Fix transposed latitude and longitude in geonames lookup.
  * Provide a version parameter to the geoname lookup.
  * Show the number of partitions that will be deleted when in 'use
    entire disk' mode.
  * Remove Pango markup from the debconf templates where possible.
  * Properly set the partition widget description label.
  * Use a GtkMenuBar rather than a GtkMenu as the source of the dark
    styling to match recent changes to the default theme.
  * Properly start a ConsoleKit session (LP: #631538).
  * Fix the spacing on the automatic partitioning page.
    gui/gtk/stepPartAuto.ui
  * Correct layout based on suggestions from Matthew Paul Thomas.
  * Correct layout on keyboard guesser.
  * Run the Jockey backend with an in-memory debconf database, and run
    the frontend asynchronously (LP: #627822).
  * Don't show the GTK frontend until it's done constructing the UI.
  * Show a spinning cursor on the X root window in addition to the
    ubiquity window, so it's clear that the installer is loading the
    next page even when the cursor is off the main window.
  * Make return_to_partitioning work with parallel debconf instances
    (LP: #637706).
  * Added a Windows icon for the resize widget. Thanks Otto Greenslade!
  * Disable the alpha warning, albeit late.
  * Add a command line option to not install a bootloader
    (-b, --no-bootloader) (LP: #615033).
  * Do not show 'free space' partitions in the bootloader target
    combobox (LP: #615033).
  * Meet the Geonames.org CC license requirements by adding 'Geonames.org'
    to the map.
  * Install the restricted package independent of the apt-installed
    packages, since those are installed with just the live CD's
    sources.list (LP: #638073).
  * Disable the wireless plugin for now. It's not ready for release.
  * Make use of the new connectivity check page.
  * Automatic update of included source packages: apt-setup
    1:0.45ubuntu2, hw-detect 1.73ubuntu5.

  [ Mario Limonciello ]
  * Restore the functionality of the noninteractive frontend.
  * Disable GVFS fuse dae...

Read more...

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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