Install/reinstall wipes out all/other partitions

Bug #1265192 reported by Steve Devine
570
This bug affects 123 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Critical
Colin Watson
Trusty
Fix Released
Critical
Colin Watson

Bug Description

[Impact]

Serious data loss due to misleading UI in a variety of cases where the installer fails to accurately assess or describe the current partitioning layout. This set of proposed changes fix the problem both narrowly (by fixing a specific detection failure) and broadly (by being more consistent and conservative about how automatic partitioning methods are described, and by always displaying a confirmation dialog; "are you sure?" dialogs are generally dubious, but in this case it supplies more specific information which is a justifiable last resort for an operation as potentially destructive as partitioning). I have taken care to ensure that it has no impact on translations.

[Test Case]

Validating this ideally requires exploratory testing, but simple tests include setting up partitioning layouts that include deliberately-unrecognisable partitions and making sure that the installation process only removes those in response to options that explicitly state that they will erase the disk rather than merely erasing a single OS, and that a confirmation dialog is always displayed.

[Regression Potential]

This involves partitioning logic, so be careful. I've tried to keep the changes as isolated as possible to the automatic partitioning page, although the confirmation dialog change also affects the manual partitioner. It's worth checking that back/forward paths still work correctly, as this took me several goes to get right.

Original report follows:

Brand new Samsung laptop with UEFI. I had installed 13.04 Ubuntu but on reboot I never saw the 'grub' style menu. It just kept going into Windows 8.1. So I got the 13.10 version (64 bit) and choose "Reinstall Ubuntu" (That may not be the exact text)
It removed all the partiions including the recovery partitions. I do have a backup for the windows install, but I was very surprised that this happened.
On a positive note I now have Ububtu up and running on my machine.
This is not my first time with Ubuntu. I have installed Ubuntu alongside WinXp, Vista and Windows 7. I've used Ubuntu desktop for over 6 years.
If you would like me to try something to replicate this. .. I could shrink my existing partion make another one - reinstall and see if it whacks that one. I can do this now .. I'm still moving into this laptop so starting over is not so bad.

Steve Devine

Revision history for this message
oldfred (oldfred) wrote :

In Ubuntu Forums we have seen at least 4 or 5 users with exactly the same issue.

Installer only offers to reinstall Ubuntu but then overwrites entire hard drive. First thought it was user issue, but many have reported it and described consisently what they have done.
On re-install it only sees Ubuntu not Windows, but does not reinstall to an existing Linux partition, but does the install to entire drive.
Best to only use Something Else on re-install. But auto install should not offer incorrect choice.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Tomasz Kuczak (tomasz-ks9) wrote :

I was reinstalling Ubuntu 13.10 due to driver installation problem and I have chosen this option "Erase Ubuntu 13.10 and reinstall" (with text "Warning: This will delete all your Ubuntu 13.10 programs, documents, photos, music, and any other files" under it). It wiped everything including EFI, recovery and windows8 and created its own EFI (it was bigger than the previous), ubuntu ext4 and a swap at the end (I'm not sure if it deleted the EFI or just resized it). Unortunately, I don't have any backup of my windows installation. If it hadn't been for the swap I would have restored my recovery partition untouched. Now i will probably have to give my laptop to a service.

Phillip Susi (psusi)
Changed in ubiquity (Ubuntu):
importance: Undecided → Critical
status: Confirmed → Triaged
Revision history for this message
sudodus (nio-wiklund) wrote :

And it happened again ... this time the poor newbie asks:

'p.s. please have less ambiguous instructions during the installation. I seriously had no idea that option I chose was going to remove Windows.. '

http://ubuntuforums.org/showthread.php?t=2203184

and there is also

https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1256874

*We need to do something*

Best regards
Nio

Phillip Susi (psusi)
summary: - Reinstallation wipes out all partitions
+ Reinstallation wipes out all/other partitions
Revision history for this message
James Eniti (jpeniti) wrote : Re: Reinstallation wipes out all/other partitions

I believe that it is a critical fault to write to the disk without detailing to to user what you are about to do, and wait for confirmation.
I could have saved my disk if I had been asked about the partitions to remove.
It did not mention that it waws deleting my Win 8.1 , but wiped everything.
It did identify Fedora 20 and I selected to replace F20
It Failed (seems to always fail if LVM selected.)

Recovery is tomorrows task

Revision history for this message
Tomasz Kuczak (tomasz-ks9) wrote :

@ James Eniti (jpeniti)
Please save /var/log/installer if you still can, it may be needed because it was needed in the bug report I've written which is marked as a duplicate of this bug now.

Revision history for this message
Brian Murray (brian-murray) wrote :

It took some mucking about (modifying ubi-partman so that calculate_reuse_option was called when there are 3 operating systems and in that function setting final to True (since Trusty is not final)) but I was able to test this situation. I choose to reinstall Ubuntu 14.04 and lose all my 14.04 settings and documents. This worked exactly as expected and my 14.04 installation was blown away but I was still able to boot into Windows 7 or whatever it is and my grub menu was unchanged.

Changed in ubiquity (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
no longer affects: ubiquity
Revision history for this message
sachit (staticd-growthecommons) wrote :

Is there any hope of making this truly "replace OS" with distro before 14.04 rolls out for good? (@brian-murray)

Failing that We need to remove the "replace OS" option with the "Erase disk option" as this is unambiguous about what it does.

One way or another this bug HAS to be closed by then. Friendly GUI to sneakily wipe hard-disk is utterly unacceptable.

Revision history for this message
Phillip Susi (psusi) wrote :

Since we can't reproduce it, we will need a copy of the installer logs from someone who had this happen in order to proceed.

Changed in ubiquity (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Tomasz Kuczak (tomasz-ks9) wrote :

@ Phillip Susi (psusi)
In 1-2 weeks I'm going to give my laptop for repair and before this I will want to wipe all my data so I can then reproduce the bug and give the logs if there is no other person that can do it.

Revision history for this message
sachit (staticd-growthecommons) wrote :

@psusi I managed to reproduce it 2 out of 2 times I tried on a virtual box set up with a seperate home and / partition on the pre-existing ubuntu install. It deleted the home partition.

Will put up the install logs shortly (as an aside can someone help speedup this bug https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1288096 Debugging will be soooo much easier)

Revision history for this message
sachit (staticd-growthecommons) wrote :

Can some one please look over and clean up this page:
https://wiki.ubuntu.com/DebuggingUbiquity

I cant understand the deeper debugging section, and how is it different from the "What next section" where it is suggested to launch ubiquity with the -d flag.

How many of these need to be done / which are redundant:
1) the debug-ubiquity command line option
2) the editing of the partman file
3) starting ubiquity with the -d flag

Revision history for this message
sachit (staticd-growthecommons) wrote :

command line option at boot: debug-ubiquity
edited /bin/partman to contain set -x
started ubiquity with ubiquity -d
chose erase existing lubuntu and reinstall

previous partition layout: sda1: 4G / ; sda2 2G /home
new layout : sda1 4G / ; sda5 2G swap

logs:

/var/log/installer
/var/log/partman
/var/log/syslog

Revision history for this message
Phillip Susi (psusi) wrote :

I was able to reproduce this using those steps: install 13.10 with a separate /home, then install 14.04 and pick the install along side option. It discards /home and gives you the choice to balance the size of the old and new root partitions.

Changed in ubiquity (Ubuntu):
status: Incomplete → Triaged
milestone: none → ubuntu-14.04
Revision history for this message
Phillip Susi (psusi) wrote :

Sorry, I jumped the gun. It was only the display that did not show the /home partition; it was in fact, preserved.

Changed in ubiquity (Ubuntu Trusty):
status: Triaged → Incomplete
Revision history for this message
Phillip Susi (psusi) wrote :

After looking at those logs I thought the problem was too small of a disk. It looked like partman realized it could not resize the existing volumes to make enough room for a new install, then fell back to erasing the whole disk. Unfortunately, I am not able to reproduce it, even using a disk and starting partitions exactly the same size as in the logs. It simply does not give the option to do a side by side install. Are you sure you chose that option?

Revision history for this message
Tomasz Kuczak (tomasz-ks9) wrote :

@ Phillip Susi (psusi)
He didn't choose the alongside option, he chose "erase ubuntu and reinstall" (I may be wrong).

Revision history for this message
Phillip Susi (psusi) wrote :

Ahh, right, my fault. Yes, that does indeed do the wrong thing.

Changed in ubiquity (Ubuntu Trusty):
status: Incomplete → Triaged
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

"erase ubuntu and reinstall" is erase full disk and do a full disk installation.

the label is a bit wrong if one happens to have a dual boot on that particular drive (e.g. erase all OS on single drive and reinstall)

However it does says in BOLD RED Warning this will erase all your data, applications and documents.

...

Revision history for this message
sachit (staticd-growthecommons) wrote :

Even if you have a single boot system, "reinstall ubuntu" or "replace windows" silently erases all partitions on the hard drive.

@Dimitri
The warning does not unambiguously specify that ALL PARTITIONS including non-OS partitions will be deleted. (e.g. a D: drive on windows or a separate /home partition that was used by the previous linux install)

The fallout from this is going to be truly ugly, and is just growing everyday that the new LTS is out with this bug and people attempt to try out ubuntu for the first time / reinstall their previous OS.

At a bare minimum, we need to remove the reinstall option entirely. Alternatively it can be renamed to "erase and use entire drive". (This used to be an option that used to be present before)

Revision history for this message
Phillip Susi (psusi) wrote :

Indeed, the way the option is currently worded indicates that your applications and data *within the ubuntu partition* will be removed, but not everything else on the disk.

Revision history for this message
Steve Devine (devine-steve) wrote :

Since I am the guy that origianally posted this bug I would like to give you the perspective of a normal 'user'
I love Ubuntu and have used it for over 5 years. It really kinda breaks my heart that this problem is still evident in the current installer. My laptop came with no media and although I backed up my machine to a network drive I have yet to get the Windows OS restored. I dont really care about losing the Windows partition but I wont be able to sell this machine without it.
I don't have the knowledge to fix this problem or I would offer to help. I mean no disrrespect with these comments but I ask that you realize how inconvenient this is for those of us that don't have the original replacement media.

Just my two cents.

Revision history for this message
Tomasz Kuczak (tomasz-ks9) wrote :

Ok, here you have my /var/log/installer. I installed ubuntu alongside windows 8 and then reinstalled ubuntu which erased everything including efi and recovery partitions and made it's own efi partition and swap at the end of the disk. If you need any more logs you have ~1,5h, then I'm giving it to service.

Revision history for this message
Achim Behrens (k1l) wrote :

 I did not have that issue.

I replaced an 14.04 beta install with the final 14.04 ISO and that reinstall Option in the installer. The win7 install and other partitions were not touched.

Its a 32bit non-uefi netbook with a win 7 install and ubuntu not encrypted with a seperate /home partition.

Revision history for this message
sachit (staticd-growthecommons) wrote :

Just tried again using the ubuntu-14.04-desktop-amd64.iso. md5(dccff28314d9ae4ed262cfc6f35e5153).

Erase and reinstall wipes all partitions ntfs, ext4 logical/primary. Both when replacing ubuntu 14.04 and when replacing 13.04

Revision history for this message
Nikita Kozubenko (wingedboars) wrote :

 I think this goes here. "Replace Windows 8" option also erases entire disk

I have HDD which until recently had two partitions: NTFS with legitimate Windows 8 and ext4 with Fedora 20. I decided to install Ubuntu instead of Windows, just to give Ubuntu a try. I took "replace windows 8" option (мy thoughts were: "What a service!") during installation, assuming that only windows 8 will be removed. Imagine my surprise when I discovered that Ubuntu "replaced" entire disk with itself.

installer log attached.

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

I just got clobbered too :^(

I have an old box running a dual-boot of Win XP (to operate some prehistoric genealogy software) and Ubuntu 12.04 that I decided to upgrade to Lubuntu 14.04.

I'll attach a screenshot of the options offered, but I chose Upgrade Ubuntu 12.04.4 LTS to Lubuntu 14.04 LTS and it did save the documents, pics, etc. in Ubuntu but also gobbled up the old XP partition.

Not a huge deal because I'm anal about creating backups but I'll have to reinstall XP + a bit of software.

Revision history for this message
sachit (staticd-growthecommons) wrote :

@Erick: WT#? it gobbled your XP partition when you said upgrade ubuntu 12.04? Eeeeeek!
Some please replicate this and see.

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

> @Erick: WT#? it gobbled your XP partition when you said upgrade ubuntu 12.04? Eeeeeek!

Data loss on partitioning is sadly common, just browsing AskUbuntu today I counted 35 reports of people inadvertently deleting or formatting their Windows partitions since the start of April -- http://askubuntu.com/questions/tagged/partitioning+data-recovery?sort=newest&pagesize=50 -- that's one user's data being deleted, due to bug or error, every 1.5 days. And that is obviously just a lower bound, consisting of the minority of users who knew about AskUbuntu, and bothered to report it there, and had their questions properly tagged.

I just now saw a report of "Install Ubuntu alongside Windows" deleting all the partitions on a 2nd drive: http://askubuntu.com/questions/471996/data-lost-after-installing-ubuntu-alongside-windows -- The user managed to recover his deleted partitions using a data recover tool but concludes, "I am still angry over B**tard Ubuntu i hate it VERY much, I WONT USE UBUNTU AGAIN IT IS S**T. "

Ubuntu attracts a lot of novice users. The installer needs to make it really, really clear when it is going to wipe a partition that contains an existing file system. I would say it is necessary to make the confirmation crystal clear - maybe go so far as making them type WIPEMYDATA! or similar in capitals, to confirm that they read the text and really understand what is about to happen.

Revision history for this message
Martin Dindoffer (mdindoffer) wrote :

So the question is - Is it a bug or not? Does the option do what it is supposed to do?
Just so you know, this bug is affecting also derivatives of ubuntu - particularly Mint, here: http://forums.linuxmint.com/viewtopic.php?f=29&t=159164
I think it's a bug, whether you like to admit it or not.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1265192

tags: added: iso-testing
Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

> So the question is - Is it a bug or not?

Regardless of what it is called, it is clearly a problem that affects a significant number of novice users in a very destructive way, and that should be reason enough for some action to be taken to improve the situation.

Since I wrote the comment above, I wondered what percentage of new users:

    a) know about AskUbuntu
    b) look up their problem there
    c) do not find an existing question that matches
    d) bother to ask a new question

This combination subset is clearly a minority of new users. At a guess, I would say they probably represent, what, 10% of new users? So the lower bound of "1 report every 1.5 days on AskUbuntu" might actually translate to 10 or so new users wiping their data every day. It is just a guess, but I wouldn't be surprised.

1 comments hidden view all 146 comments
Revision history for this message
Mauricio Gracia (mauriciogracia) wrote :

Chris Bainbridge

I did post a question on AskUbuntu
http://askubuntu.com/questions/400594/why-remove-ubuntu-12-04-and-replace-it-with-ubuntu-13-10-means-to-use-all-of-t
but it was closed as off-topic by RolandiXor

I have been using Linux since 1998 and still was victim of this BUG. I usully selected CUSTOM PARTITIONING but decided that UBUNTU has evolved nicely to be user friendly and selected REPLACE UBUNTU which in fact USED THE WHOLE DISK

I believe that this kind of errors can damage the LINUX and the UBUNTU reputation

So please fix this problem as soon as posible

Thanks

Revision history for this message
DoubleYY (doubleyy) wrote :

I second Mauricio Gracia.

I have, similarly, been toying with Linux since '98. And actually using Ubuntu since 2010. I have also been a vocal Linux/Ubuntu evangaliser until Unity and then Mint/Cinnamon evangaliser.

I was trying to convert my team at work to change over to Linux, when this same 'disaster' struck me as I was showing them how safe it was to change over to Linux.

I'm still struggling to recover my data after 36 hours of 'TestDisk' scanning. And my team has been traumatised enough to want to agree to pay whatever licence fees the closed source OS manufacturer demands, just to avoid such slash-and-burn destruction of their individual computers.

So, please do bear in mind, that unless and until this matter is resolved positively, it is succeeding in driving more people over to the 'other' camp than anything else.

Revision history for this message
Reginaldo Junior (junior-register) wrote :

+1. I just opened a question in AskUbuntu about this issue: http://askubuntu.com/questions/480993/ubuntu-erased-my-windows-when-i-chose-to-replace-old-ubuntu-install

I tried to overwrite my Ubuntu 12.04 with 13.10 and it erased my Windows 7 and Ubuntu now occupies my entire HD.

Revision history for this message
R.C. Primak (bobprimak) wrote :
Download full text (3.6 KiB)

Just my two cents worth.

An unsophisticated newbie would certainly consider this thread to be a legitimate bug report. I won't argue otherwise.

You at Ubuntu are not alone in assuming too much knowledge on the part of newbies and even many experienced users.

I come from a different background. I have always done multi-OS/multi-boot installations, from DOS to Windows 95/98/XP/7 and 8 (previews and 8.0). And now Ubuntu Linux from 13.04 to 14.04. I have never accidentally wiped out any installed OS. Lost OS access a few times, but that could be fixed later (with difficulty). Read on to find out why I have been so "lucky".

I have NEVER let an OS installer, disk or download or upgrade adviser, use ANY default installation routine. These are notorious for overwriting the entire hard drive, or even multiple internal drives, formatting them and then making the OS installation take over the entire disk or disks. What this thread describes is nowhere near unique to Ubuntu 14.04.

NO ONE makes it clear on their install disk selection screens, not even Windows System Builder Editions, that the failure to select "Custom partitioning" or a "Custom Installation" will result in the ENTIRE hard drive being reformatted. It is assumed that anyone sophisticated enough to be doing their own OS install from a disk (or a download) will know enough to choose "Custom" for ANY dual- or multi-boot or Repair or Upgrade In-Place installation.

My precautions are to make Full Image Backups of all contents of the drive which can be backed up, burn disks of the Windows Restore Partition, and to use gParted or MiniTool to make my own partitions before running any OS upgrade or fresh installation.

And other precautions, but everyone should see my point.

Not everyone makes such a study of partitioning and OS installation before using an install disk for the first time (or as an upgrade).

While most Upgrade Advisors do not reformat before upgrading, most full install disks do exactly that to the entire hard drive. Maybe not every Upgrade Install Disk behaves as I describe, but all Full Versions. Nearly every OS I've installed behaves the same way.

And, maddeningly enough, without so much as a screen saying,
"You are about to wipe out all data on this entire drive. Proceed? ... Are you SURE?" (If Not Sure, offer the Custom Partitioning installation and be prepared for screams of agony from newbies. This safeguard will not necessarily save those installing into VMs, but they should know better than to do a Default Install anyway.)

What is really needed, is for anyone attempting to install Ubuntu to find on some prominently labeled Web Page, all the warnings in this thread, in BOLD CAPS. All Ubuntu installation instructions should bear BOLD CAPS warnings about the default installation tending to WIPE OUT the entire disk -- ALL partitions. Otherwise, users should be instructed to select CUSTOM partitioning and installation options.

(A side-note: GRUB2 is now by default another source of issues, as it ALWAYS installs into the MBR, and takes over Boot Manager duties for all installed OSes. There have been many complaints about this inflexibility. Again, som...

Read more...

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Hi,

This is for the devs and the Ubuntu Installer Team:

We experienced this issue as well in Linux Mint. Our bug report is at https://bugs.launchpad.net/linuxmint/+bug/1325786.

We decided to fix it by renaming "Replace OS with.." with "Erase disk and install..":

https://github.com/linuxmint/ubiquity/commit/8bfc98e60cc80cefe7986774f3740a5b0530e364

We've rolled out this commit in our Xfce edition. Although it's still in RC, we're confident the resulting installer is far less misleading.

Long term I would also suggest a confirmation dialog. You added warning dialogs for cases such as the lack of SWAP, or the non-formatting of / which I think is great. It would be nice to add one to scenarii where the disk is wiped. Even though there is a red warning there underneath the label, there's no dialog to interrupt the flow. It might lessen the quality of the experience but if it saves a few people from wiping their drive just because they didn't read all the info on the screen, it might be worth the annoyance.

Revision history for this message
Clement Lefebvre (clementlefebvre) wrote :

Here's the fix, in case derivatives or upstream follow this report: https://github.com/linuxmint/ubiquity/commit/8bfc98e60cc80cefe7986774f3740a5b0530e364

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

R.C. Primak (bobprimak)
> What is really needed, is for anyone attempting to install Ubuntu to find on some prominently labeled Web Page

The problem is that people won't find or read the web page. All it would take to fix this issue for the vast majority of new users is a final popup confirmation box that says:

    This operation will DESTROY existing data!

        Windows C: drive with 200GB of data will be DELETED
        Windows D: drive with 150GB of data will be DELETED

     Are you really sure you want to do this? Type YES in capitals to confirm.

The advantage of a "final check" is that it would also catch people who just do not realise that they are about to delete their Windows partitions - like this guy 2 days ago: http://askubuntu.com/questions/482785/installed-over-windows-8-partition or this girl 5 days ago: http://askubuntu.com/questions/481065/accidentally-deleted-windows-partition-when-trying-to-install-ubuntu

Windows may have the same problem with their installers, but Ubuntu is in a slightly different situation, in that Ubuntu users more often want to install and dual-boot with their existing OS, whereas most users re-installing Windows will want it to the the sole OS. The Ubuntu project encourages people to download and install Ubuntu, whereas Microsoft encourages new users to buy a PC with Windows pre-installed. So Ubuntu ends up with a higher percentage of new users trying to do a dual-boot install, and so needs to be more careful with deleting data.

As pointed out above, it is odd that not adding a swap partition results in a warning and confirm dialog, but installing over a Windows partition full of data is fine...

summary: - Reinstallation wipes out all/other partitions
+ Install/reinstall wipes out all/other partitions
Changed in ubuntu-livecd-image (Ubuntu Trusty):
status: New → Confirmed
Changed in ubuntu-livecd-image (Ubuntu):
status: New → Confirmed
no longer affects: ubiquity
Changed in elementaryos:
milestone: none → freya-beta2
tags: added: patch
Changed in ubiquity (Ubuntu):
status: Triaged → Fix Released
Changed in ubuntu-livecd-image (Ubuntu Trusty):
importance: Undecided → Critical
Changed in ubuntu-livecd-image (Ubuntu):
importance: Undecided → Critical
Changed in ubiquity (Ubuntu):
assignee: Dimitri John Ledkov (xnox) → nobody
Changed in elementaryos:
status: New → Triaged
milestone: freya-beta2 → freya+1-beta1
Changed in ubiquity (Ubuntu):
assignee: nobody → staticd (staticd-growthecommons)
assignee: staticd (staticd-growthecommons) → nobody
Chris J Arges (arges)
Changed in ubiquity (Ubuntu):
status: Fix Released → Confirmed
Steve Langasek (vorlon)
Changed in ubiquity (Ubuntu):
assignee: nobody → Stéphane Graber (stgraber)
Steve Langasek (vorlon)
Changed in ubiquity (Ubuntu):
assignee: Stéphane Graber (stgraber) → Colin Watson (cjwatson)
66 comments hidden view all 146 comments
Revision history for this message
Erick Brunzell (lbsolost) wrote :

@ Bruno, yes I'm talking about the advanced partitioning buttons. It turns out that you are correct. The installer only appears to have deleted the partition (see complied screenshot) but if you click on Quit the partition still exists, so it is possible to quit if you mistakenly think the - button means "shrink" rather than delete. I still contend that's a poor design though because - does not universally = delete, it can also indicate reduce (or shrink/lower).

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

My profound apologies for our poor and slow response to this bug. It's clear that we need to do much better. I think my colleagues who've looked at this so far have focused on the detail of individual failures, which is an understandable response, but this bug needs us to step a bit further back than that. I've tried to analyse as many of the specific examples given here as I could, but this bug is very long and that length has itself I think deterred some developers from responding to it promptly; from here on in I'd appreciate it if any responses necessary could be kept short and to the point, so that we don't get further bogged down.

The root cause of this is essentially an overoptimistic design that assumes that we can always accurately detect the set of operating systems installed on the system. I can see why the designers of the current automatic partitioning page wanted that - it's obviously a desirable feature to have - but it is vital that we defend in depth against it being wrong. While we certainly should try to fix OS detection errors, a more fundamental principle needs to be that we do not mislead users into erasing valuable data because we made an OS detection error. OS detection must be treated as a useful advisory tool, and not something whose failure can result in the involuntary erasure of user data.

I generally agree with Clement Lefebvre (comment #38) and Chris Bainbridge (comment #80) that the problem lies in the descriptions selected for various basic automatic partitioning options; I'm not quite using their patches verbatim, but I'm taking a fairly similar approach. The "use_device" option must *never* be described in any terms that do not make it clear that it erases the disk. Furthermore, even if we believe that only Ubuntu is installed, we must offer separate "erase Ubuntu and reinstall" and "erase disk and install Ubuntu" options, because we might be wrong.

Chris Bainbridge has several good points in their rewording of the automatic partitioning options. However, it's critical that we be able to apply this patch to 14.04 point releases as smoothly as possible, and I don't want to run into translation delays (as it's important that non-English-speakers be able to understand these warnings too). The current text for ubiquity/partitioner/multiple_os_format is clear enough, I think ("Erase disk and install Ubuntu"; "Warning: This will delete all your programs, documents, photos, music, and any other files in all operating systems"), so I'm simply arranging never to use any other text to describe the "use_device" option. That saves having to worry about translation updates here.

I'm also inclined to agree at this point that a confirmation option is probably desirable. Again, I can absolutely see why the design ended up here, as it certainly gives us an installer with cleaner lines, but it seems cavalier to fail to be absolutely clear what's about to be done. Resurrecting the old confirmation page in its entirety would be pretty difficult at this point, and it had its own issues anyway, but we can probably at least manage a simple confirmation dialog. I'll look into that.

no longer affects: ubuntu-livecd-image (Ubuntu)
no longer affects: ubuntu-livecd-image (Ubuntu Trusty)
Changed in ubiquity (Ubuntu):
status: Confirmed → In Progress
milestone: ubuntu-14.04 → ubuntu-14.10
Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

@Colin Will your changes fix the problems with multiple drives? calculate_operating_systems returns a list of operating systems without location (drive or partition), then calculate_autopartitioning_options uses that list to decide how to proceed *as if all of the detected operating systems were on a single drive*. Being told that a drive is being wiped is not enough, since it is not clear to the user which drive is being wiped. Copy/paste from previous discussion in case you missed it:

    - a two disk setup of first disk with (undetected) EFI Windows 8 and second disk with Ubuntu is handled as a 'single OS Ubuntu upgrade', and when the user clicks to upgrade, the Windows disk is wiped.

    - If there are two disks, and os-prober shows no operating systems on sda and Ubuntu on sdb, then the Ubiquity "Install" screen will have title "Erase Ubuntu 12.04 and reinstall" and will incorrectly select drive "sda" (Ubuntu is not on sda). If the user clicks continue, the installer will go ahead and overwrite all partitions on the first disk while claiming to be "erasing Ubuntu 12.04". It does say that "4 partitions will be deleted" (another bug, it seems to include free space gaps in the partition count) but it's easy to miss that text, given the reassuring big font text "Erase Ubuntu xx and reinstall".

(Also, there are tests for autopartitioning in tests/test_ubi_partman.py - if you are familiar with the test code here it might be useful to add some test cases to cover the error cases documented in this bug report - multiple partitions and/or drives, os-proper potentially returning nothing - so that future code changes will not reintroduce these bugs.)

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

Regarding the 2 drive (perhaps I should say - more than one drive) issue the Install alongside option has an existing problem in that regard - see bug #1262824. The one good thing about that particular scenario is that if the wrong drive is selected you do still have the option of selecting the advanced partitioning tool from that screen if the wrong drive is selected by default.

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 1265192] Re: Install/reinstall wipes out all/other partitions

On Tue, Oct 14, 2014 at 03:48:30PM -0000, Chris Bainbridge wrote:
> @Colin Will your changes fix the problems with multiple drives?

I'll certainly check what happens with multiple drives and try to make
sure it's reasonable. (Needless to say, the tests are somewhat
time-consuming.) Adding a confirmation dialog provides an extra safety
net, although does require recognising which device is which so it's not
perfect.

> - a two disk setup of first disk with (undetected) EFI Windows 8 and
> second disk with Ubuntu is handled as a 'single OS Ubuntu upgrade', and
> when the user clicks to upgrade, the Windows disk is wiped.

This should not be a problem; with my patches the "Erase Ubuntu and
reinstall" option in the single-detected-OS case will really just erase
Ubuntu, not be a stealth "wipe the disk" option.

> - If there are two disks, and os-prober shows no operating systems
> on sda and Ubuntu on sdb, then the Ubiquity "Install" screen will have
> title "Erase Ubuntu 12.04 and reinstall" and will incorrectly select
> drive "sda" (Ubuntu is not on sda).

Similarly, "erase Ubuntu and reinstall" won't wipe a disk any more; it
will remove the partition corresponding to the Ubuntu root file system
and autopartition whatever's left. This is the underlying "replace"
option, and is what "Erase Ubuntu and reinstall" already mapped to in
the case where Ubuntu and some other operating system are detected. I
think it makes a lot of sense to ensure that the same option text always
corresponds to the same underlying implementation.

The "Erase disk and install Ubuntu" option will still send you off to
select which disk to wipe (I believe; as I say, I still need to test
this), but I think that's a lot more forgiveable when it's preceded by
"This will delete all your programs, documents, photos, music, and any
other files in all operating systems". If anything, that overstates the
case on a system with multiple disks. We will in any event no longer be
implying by the structure of the automatic partitioning workflow that
the disk that's selected by default is the one that previously contained
Ubuntu.

> It does say that "4 partitions will be deleted" (another bug, it seems
> to include free space gaps in the partition count)

Indeed, thanks. I have a patch for that in my tree now, pending
testing.

> (Also, there are tests for autopartitioning in tests/test_ubi_partman.py
> - if you are familiar with the test code here it might be useful to add
> some test cases to cover the error cases documented in this bug report
> - multiple partitions and/or drives, os-proper potentially returning
> nothing - so that future code changes will not reintroduce these bugs.)

Yes, my changes make those tests fail right now, so I'll have to update
them in any case.

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

On Tue, Oct 14, 2014 at 10:05:15PM -0000, Erick Brunzell wrote:
> Regarding the 2 drive (perhaps I should say - more than one drive) issue
> the Install alongside option has an existing problem in that regard -
> see bug #1262824.

That's a long-standing issue, and not one we need to track down at the
same time as this. I've marked that as a duplicate of bug 351473, which
is the oldest one I could find and which is in the place this would need
to be fixed first.

Revision history for this message
sachit (staticd-growthecommons) wrote :

Hey @Colin, thanks a ton for looking into this amid all the other billion things you juggle in ubuntu :)
I have an exam coming up so I will be busy till Oct 17, 1800 UTC, but I'll standby from then on to do any last minute testing/ grunt work you need done for this.
Cheerio

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.20.0

---------------
ubiquity (2.20.0) utopic; urgency=medium

  * Exclude free space from counts of deleted partitions.
  * There are far too many situations where we fail to accurately detect all
    the operating systems installed on the disk, and we must defend in depth
    against losing user data as a result of this. This includes not
    misleading users into believing that an option will erase less than it
    in fact does. Therefore, never describe the use_device autopartitioning
    mode in any way other than "Erase disk and install Ubuntu", and offer
    separate "Erase Ubuntu <version> and reinstall" and "Erase disk and
    install Ubuntu" options even if we believe that the disk only contains
    Ubuntu (LP: #1265192).
  * Always show a confirmation dialog before committing partitioning. I've
    read considerably more reports of users having their data destroyed by
    some misunderstanding or other of the partitioner than I'm comfortable
    with; if a slightly ugly confirmation even when we think things are
    clear saves some people from that, then it's worth it, and it adds
    another layer of defence against bugs.
  * Update translations from Launchpad.
 -- Colin Watson <email address hidden> Thu, 16 Oct 2014 01:38:28 +0100

Changed in ubiquity (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
sudodus (nio-wiklund) wrote :

A big thank you to everybody who contributed to defining and squashing this bug :-)

Revision history for this message
Bruno Nova (brunonova) wrote :

Don't forget to backport the fix to Trusty before the next point release.

Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu Trusty):
milestone: ubuntu-14.04 → ubuntu-14.04.2
assignee: Dimitri John Ledkov (xnox) → Colin Watson (cjwatson)
status: Triaged → In Progress
Colin Watson (cjwatson)
description: updated
Revision history for this message
koen.h (koen.h) wrote :

Hope this fix gets released soon because it just happened to me when I installed 14.10.

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

On Wed, Oct 29, 2014 at 05:58:31PM -0000, koen.h wrote:
> Hope this fix gets released soon because it just happened to me when I
> installed 14.10.

My fixes were released in 14.10. Please file a new bug carefully
detailing your previous setup and the exact nature of the problems you
encountered, aiming if you can to make it possible for a developer to
replicate the problem, and mention the new bug number here; it's not
feasible for us to keep tracking a series of similar but slightly
different problems in this same bug report.

Changed in elementaryos:
status: Triaged → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Steve, or anyone else affected,

Accepted ubiquity into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/ubiquity/2.18.8.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ubiquity (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Bagus Tris (bagustris) wrote :

Today this bug affects me, Trusty 14.04.01 on MBP 9,2 mid 2012
 (Linux ubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linu

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 1265192] Re: Install/reinstall wipes out all/other partitions

On Sun, Nov 23, 2014 at 11:55:08PM -0000, Bagus Tris wrote:
> Today this bug affects me, Trusty 14.04.01 on MBP 9,2 mid 2012

This is to be expected, as I didn't fix this until after 14.04.1.

Mathew Hodson (mhodson)
description: updated
Revision history for this message
Bruno Nova (brunonova) wrote :

I've made a few tests with the ubiquity installer in trusty-proposed in Virtualbox (EFI mode not enabled).

* First I installed Windows 8 and left around 30 GB free.
* Then I installed Ubuntu to the free space using the automatic partitioning. All good! Windows was still there.
* Then I reinstalled Ubuntu. All good!
* After reboot, I ran the installer again to see what the "erase entire disk" option would do. The confirmation dialog reported that partitions 1 and 5 would be formatted, as expected (I didn't proceed).
* Then I went back and used manual partitioning to reinstall Ubuntu again. When making the first change, a message informed me that "the changes must be written to disk before continuing". That message is a bit alarming, but the installation worked correctly.
* Then I booted a Kubuntu live session to test the KDE frontend. This frontend didn't offer an option to replace Ubuntu with Kubuntu. It only had options to resize the Windows partition and install there, and to use the whole disk. So I used the manual partitioning. The confirmation dialog was displayed in this frontend too.
ubiquity-frontend-kde is in the "universe" repository, so it's not officially supported by Canonical, but I wanted to test it too.
* Finally, I formatted the Windows partitions with GParted and added a few files to them, then ran the installer to replace Kubuntu with Ubuntu (automatic partitioning). Everything worked as intended.
There was also an option to install Ubuntu alongside Kubuntu (by resizing one of the formatted Windows partitions). I tried it later: the confirmation dialog didn't mention those partitions being formatted. Then, during the installation I mounted those partitions (using "mount") and, as expected, they weren't formatted (I didn't have the time to finish the installation). So it seems to have worked correctly.

The confirmation dialog was always displayed (including after the manual partitioning).

Every time before running the installer, I enabled trusty-proposed and upgraded 3 packages: ubiquity, ubiquity-frontend-gtk, ubiquity-ubuntu-artwork (I wrote these names from memory).
I also wanted to see if ubiquity would detect an hibernated Windows 8 partition, but I couldn't find the option to enable it in Windows 8 (maybe it's not supported inside Virtualbox).

ubiquity 2.18.8.3 seems to be working correctly from these not very extensive tests in Virtualbox.

However, I haven't added the verification-done tag yet.
It would be great if someone else also tested this. Better yet if the tests could be done on a real UEFI testing machine.
But note that, according to https://wiki.ubuntu.com/TrustyTahr/ReleaseSchedule, 14.04.2 will be released on February 5th. The new version of ubiquity should be tested and "approved" before then.

Revision history for this message
Tuomas Kantonen (tuomas-kantonen) wrote :

My Windows 8.1 (including recovery partition) got wiped just few moments ago.
Using the 'reinstall' option to replace 12.04 by 14.04.01.

For the love of god, put some warning to the Ubuntu installation guide.

Revision history for this message
Bruno Nova (brunonova) wrote :

OK, no one else tested the proposed update, so I'm going to mark this as verification-done.

Comment #122 details the tests I have done.
The tests are not extensive, but they will have to suffice: according to the release schedule, 14.04.2 will be released in February 5th (in 1 month), and this fix must be included in that point release!

tags: added: verification-done
removed: verification-needed
Revision history for this message
sudodus (nio-wiklund) wrote :

I'll see if I can get someone to test it in UEFI mode.

Revision history for this message
ventrical (dale-f-beaudoin) wrote :

Ok... ventrical on the job now :)

Revision history for this message
ventrical (dale-f-beaudoin) wrote :

I will be testing Intel machine in UEFI mode using xubuntu 15.04 daily-current. (hard install)

Revision history for this message
ventrical (dale-f-beaudoin) wrote :

This is a non bug. Installing ubuntu trusty/unity will work in hard UEFI mode on a previously installed windows8 machine. The problem is understanding how gparted works and that it needs confirmations for each operation and that it is not very apparent in GUI. With windows 8 already fully installed , gparted can resize the windows partition. The new 'free space' partion needs to be CONFIRMED after it has been marked for ext4 file format. each step has to be confirmed. It is not immediately clear that the confirmation process takes place by clicking the green checkmark in the upper menu bar. If not clicked on with mouse, not confirmed and system will be borked or not work.

Enabling proposed repos to download new version of ubiquity will cause unstable ubiquity in 'live' mode and is not neccessary to install ubuntu over windows 8 installation.

The 'no other operating systems detected' bug is still there but if one uses gparted correctly it is really a non issue.however it poses a commercial embarrassment for Canonical to not be able to have windows 8 detected automatically without fanagling around with obscure an outdated tools.

regards..

Revision history for this message
sudodus (nio-wiklund) wrote :

Hi Bruno,

Please have a look at the testing notes by ventrical at the Ubuntu Forums

http://ubuntuforums.org/showthread.php?t=2259055

and ask questions, if want him to explain some part of the results.

Revision history for this message
sudodus (nio-wiklund) wrote :

Testing in UEFI mode:

Ventrical and I think that the real bug is that windows 8 OS is not being detected (or reported) because GRuB will detect it after ubuntu install. Maybe it is just not being echoed to the screen so somewhere in the code there needs to be port to screen.

Revision history for this message
ventrical (dale-f-beaudoin) wrote :

I was advised to post this:

"It worked but not in the way Bruno described. The real bug is that windows 8 OS is not being detected (or reported) because GRuB will detect it after ubuntu install. This is simple bug that is non bug .. just not being echoed to the screen so somehwere in the code there needs to be port to screen. The other problem is with the way gparted try to explain it's 'operations pending' reports. They are very hard to see and each and every step has to be confirmed in that particular order - so gparted needs some GUI retrofit so people can better understand it IMO.

so it works good without proposed (trusty current) but the how too help files are lacking. Ubiquity presenter and partitioner has very bad logic problems with UEFI and needs to be looked at but the install process was seamless here. I left some verbage at launchpad and ubuntuforums thread.

regards..

Revision history for this message
sudodus (nio-wiklund) wrote :

See these links (which are related to this bug)

http://ubuntuforums.org/showthread.php?t=2259055&p=13199638#post13199638

http://ubuntuforums.org/showthread.php?t=2259055&p=13199723#post13199723

I opened a new thread on this. I was successful in detecting Windows bootloader and partioning 'alongside' with xubuntu 15.04. Both OSes are working fine in UEFI mode. The thing is I am not sure what happened .... whether disabling UEFI then shutdown, restart , re-enable had flushed a buffer or if using the F10 option. I think it was a combination of both. Nonetheless... it's the first time Iv'e seen this work with Windows 8 bootloader without irreversible repair work. I'll try to document this a little more comphrehensively after some rest. All you U+1 testers .. thanks for encouragement , input and help.!

-o-

... and helping you find the continued work of ventrical:

http://ubuntuforums.org/showthread.php?t=2259219

Revision history for this message
Phillip Susi (psusi) wrote :

This has nothing at all to do with gparted and the failure to detect the windows installation is only a contributing cause. The real issue is the *wording* of the option that makes it sound like nothing but the existing Ubuntu install will be deleted when instead, the entire disk is erased.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 2.18.8.3

---------------
ubiquity (2.18.8.3) trusty; urgency=medium

  [ Stéphane Graber ]
  * Fix Windows UEFI detection. (LP: #1265192)

  [ Colin Watson ]
  * Exclude free space from counts of deleted partitions.
  * There are far too many situations where we fail to accurately detect all
    the operating systems installed on the disk, and we must defend in depth
    against losing user data as a result of this. This includes not
    misleading users into believing that an option will erase less than it
    in fact does. Therefore, never describe the use_device autopartitioning
    mode in any way other than "Erase disk and install Ubuntu", and offer
    separate "Erase Ubuntu <version> and reinstall" and "Erase disk and
    install Ubuntu" options even if we believe that the disk only contains
    Ubuntu (LP: #1265192).
  * Always show a confirmation dialog before committing partitioning. I've
    read considerably more reports of users having their data destroyed by
    some misunderstanding or other of the partitioner than I'm comfortable
    with; if a slightly ugly confirmation even when we think things are
    clear saves some people from that, then it's worth it, and it adds
    another layer of defence against bugs.
 -- Colin Watson <email address hidden> Wed, 29 Oct 2014 12:54:19 +0000

Changed in ubiquity (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for ubiquity has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
nader (waltersar) wrote :

sto caricando ubuntukylin 14.10.posso continuare?

Revision history for this message
nader (waltersar) wrote :

corrego,sto salvando file,sono in download.

Revision history for this message
Barry Clearwater (barryc) wrote :

If the fix is committed, when does it get included in the downloadable iso? This bug just wiped an attached hard drive on me with *No* Warning. 1TB of recordings data.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

According to the date this was release, it should have been included in the latest point release for Trusty: 14.04.2, downloadable here: http://releases.ubuntu.com/trusty/

If you're using an earlier release, it wouldn't be in.

It's possible you've run into a different issue; please file a separate bug about it (especially if it can be reproduced) so that we can get to it as soon as possible. Thanks!

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

Barry's problem could be caused by the issues with >1 drive described in #109 - the installer has no concept of multiple drives and will always choose to install on /dev/sda by default, even if the previous Ubuntu install is on another drive.

Revision history for this message
pemula (faizsynt) wrote :

help me to fix bugs on my ubuntu please. im new user. cant use desktop manager. i've installed this

Revision history for this message
Jan Groenewald (jan-aims) wrote : Re: [Aims] [Bug 1265192] Re: Install/reinstall wipes out all/other partitions
Download full text (3.6 KiB)

Hi Permula,

I think you are in the wrong place. Try these:

http://www.ubuntu.com/support (also try phrase your "can't use desktop
manager" more clearly there) and
https://help.ubuntu.com/ (documentation)

Regards,
Jan

On 7 April 2015 at 17:55, pemula <email address hidden> wrote:

> help me to fix bugs on my ubuntu please. im new user. cant use desktop
> manager. i've installed this
>
> --
> You received this bug notification because you are a member of AIMS,
> which is subscribed to the bug report.
> https://bugs.launchpad.net/bugs/1265192
>
> Title:
> Install/reinstall wipes out all/other partitions
>
> Status in elementary OS:
> Fix Released
> Status in ubiquity package in Ubuntu:
> Fix Released
> Status in ubiquity source package in Trusty:
> Fix Released
>
> Bug description:
> [Impact]
>
> Serious data loss due to misleading UI in a variety of cases where the
> installer fails to accurately assess or describe the current
> partitioning layout. This set of proposed changes fix the problem
> both narrowly (by fixing a specific detection failure) and broadly (by
> being more consistent and conservative about how automatic
> partitioning methods are described, and by always displaying a
> confirmation dialog; "are you sure?" dialogs are generally dubious,
> but in this case it supplies more specific information which is a
> justifiable last resort for an operation as potentially destructive as
> partitioning). I have taken care to ensure that it has no impact on
> translations.
>
> [Test Case]
>
> Validating this ideally requires exploratory testing, but simple tests
> include setting up partitioning layouts that include deliberately-
> unrecognisable partitions and making sure that the installation
> process only removes those in response to options that explicitly
> state that they will erase the disk rather than merely erasing a
> single OS, and that a confirmation dialog is always displayed.
>
> [Regression Potential]
>
> This involves partitioning logic, so be careful. I've tried to keep
> the changes as isolated as possible to the automatic partitioning
> page, although the confirmation dialog change also affects the manual
> partitioner. It's worth checking that back/forward paths still work
> correctly, as this took me several goes to get right.
>
> Original report follows:
>
> Brand new Samsung laptop with UEFI. I had installed 13.04 Ubuntu but on
> reboot I never saw the 'grub' style menu. It just kept going into Windows
> 8.1. So I got the 13.10 version (64 bit) and choose "Reinstall Ubuntu"
> (That may not be the exact text)
> It removed all the partiions including the recovery partitions. I do
> have a backup for the windows install, but I was very surprised that this
> happened.
> On a positive note I now have Ububtu up and running on my machine.
> This is not my first time with Ubuntu. I have installed Ubuntu alongside
> WinXp, Vista and Windows 7. I've used Ubuntu desktop for over 6 years.
> If you would like me to try something to replicate this. .. I could
> shrink my existing partion make another one - reinstall and see if it
> whacks that one. I...

Read more...

Cody Garver (codygarver)
no longer affects: elementaryos
Revision history for this message
Grant Mercer (gmercer015) wrote :

Just lost ALL of my windows data because of this . What a completely awful installer to offer such a misleading option. By erase ubuntu, I expected it to erase UBUNTU, not my hard drive. Cannot express how much I lost because of this installer

SamWanPaul (wanpaul964)
affects: ubiquity (Ubuntu Trusty) → clean-ubiquity (Ubuntu Trusty)
affects: clean-ubiquity (Ubuntu) → ubiquity (Ubuntu)
Changed in ubiquity (Ubuntu):
milestone: ubuntu-14.10 → none
Revision history for this message
Asaad K Alkarnuis (saad56191956) wrote :

failed to start Ubuntu failed to start due to following:
http:\\ubuntu\winboot\wubild.mbr is missing

please help ,,,,,,,thanks.

Paul (goossens-paul)
affects: ubiquity (Ubuntu Trusty) → clean-ubiquity-ubuntu (Ubuntu Trusty)
Colin Watson (cjwatson)
affects: clean-ubiquity-ubuntu (Ubuntu) → ubiquity (Ubuntu)
Revision history for this message
marcatq (marc-qcontinuum) wrote :

It appears that Windows update may have spread this problem. I'm trying to do a dual boot install, and the install utility for 14.04.3 can't detect my existing OS (Windows 7). From what I understand, the windows update will put windows 8.1 and windows 10 files onto computers that haven't updated to windows 10. I may try 15.10.

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :

@marcatq - does running `os-prober` in a terminal show any other operating systems installed? If you run `journalctl -f` in another terminal you'll see the debug output from os-prober - it should test each partition in turn using a different script for each possible OS - /usr/lib/os-probes/mounted/20microsoft should detect an install of Windows.

Changed in ubiquity (Ubuntu):
assignee: Colin Watson (cjwatson) → valentino (ciobanuvalentino6)
Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu):
assignee: valentino (ciobanuvalentino6) → Colin Watson (cjwatson)
Mathew Hodson (mhodson)
affects: ubiquity → ubuntu-translations
no longer affects: ubuntu-translations
a59ff5 (a59ff5a59ff5)
Changed in ubiquity (Ubuntu):
assignee: Colin Watson (cjwatson) → Slavik (slavikstar)
assignee: Slavik (slavikstar) → nobody
assignee: nobody → Slavik (slavikstar)
Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu):
assignee: a59ff5 (a59ff5a59ff5) → Colin Watson (cjwatson)
Displaying first 40 and last 40 comments. View all 146 comments or add a comment.
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.