2018-04-25 18:05:11 |
Mathieu Trudel-Lapierre |
bug |
|
|
added bug |
2018-04-25 18:05:23 |
Mathieu Trudel-Lapierre |
bug task added |
|
partman-efi (Ubuntu) |
|
2018-04-27 08:15:46 |
Launchpad Janitor |
partman-efi (Ubuntu): status |
New |
Confirmed |
|
2018-04-27 08:15:46 |
Launchpad Janitor |
ubiquity (Ubuntu): status |
New |
Confirmed |
|
2018-04-27 08:15:58 |
Jean-Baptiste Lallement |
ubiquity (Ubuntu): importance |
Undecided |
Critical |
|
2018-04-27 08:18:46 |
Jean-Baptiste Lallement |
partman-efi (Ubuntu): importance |
Undecided |
Critical |
|
2018-04-27 21:32:10 |
experimancer |
bug |
|
|
added subscriber experimancer |
2018-04-29 15:23:13 |
Alain A Servais |
bug |
|
|
added subscriber Alain A Servais |
2018-04-30 07:29:34 |
Chen-Han Hsiao (Stanley) |
bug |
|
|
added subscriber Chen-Han Hsiao (Stanley) |
2018-05-03 12:38:53 |
Francis Ginther |
tags |
|
id-5aead343f853aedc876ae68b |
|
2018-05-04 23:53:44 |
Luis Adame Rodríguez |
bug |
|
|
added subscriber Luis Adame Rodríguez |
2018-06-06 16:01:18 |
Phillip Susi |
marked as duplicate |
|
1704510 |
|
2018-06-07 07:19:53 |
Jean-Baptiste Lallement |
removed duplicate marker |
1704510 |
|
|
2018-06-19 13:53:36 |
Łukasz Zemczak |
partman-efi (Ubuntu): assignee |
|
Łukasz Zemczak (sil2100) |
|
2018-06-19 13:53:40 |
Łukasz Zemczak |
ubiquity (Ubuntu): assignee |
|
Łukasz Zemczak (sil2100) |
|
2018-06-27 11:32:31 |
Łukasz Zemczak |
partman-efi (Ubuntu): status |
Confirmed |
In Progress |
|
2018-06-27 11:32:41 |
Łukasz Zemczak |
bug task added |
|
partman-auto (Ubuntu) |
|
2018-06-27 11:32:45 |
Łukasz Zemczak |
partman-auto (Ubuntu): importance |
Undecided |
Critical |
|
2018-06-27 11:32:47 |
Łukasz Zemczak |
partman-auto (Ubuntu): status |
New |
In Progress |
|
2018-06-27 11:32:49 |
Łukasz Zemczak |
partman-auto (Ubuntu): assignee |
|
Łukasz Zemczak (sil2100) |
|
2018-06-27 17:04:34 |
Launchpad Janitor |
partman-efi (Ubuntu): status |
In Progress |
Fix Released |
|
2018-06-27 17:14:39 |
Launchpad Janitor |
partman-auto (Ubuntu): status |
In Progress |
Fix Released |
|
2018-06-28 10:54:51 |
Łukasz Zemczak |
description |
If I have existing data on disk built by a previous version of Ubuntu (in BIOS (legacy) mode, or a previous Windows install, and no EFI system partition on disk; the installer presents three choices:
- Replace $existing and reinstall. (if a previous Ubuntu install was found)
- Resize and install
- Erase disk and install.
The first two options will attempt to complete the installation in EFI mode (as they should) but do not create an EFI system partition, which is required as a place to put shim and grub on disk for booting. The installer will then crash / fail as grub-install fails to find the ESP when copying the bootloader.
The last option works correctly, it creates the ESP as it erases the entire disks and proceeds with new partitioning. |
[Impact]
If I have existing data on disk built by a previous version of Ubuntu (in BIOS (legacy) mode, or a previous Windows install, and no EFI system partition on disk; the installer presents three choices:
- Replace $existing and reinstall. (if a previous Ubuntu install was found)
- Resize and install
- Erase disk and install.
The first two options will attempt to complete the installation in EFI mode (as they should) but do not create an EFI system partition, which is required as a place to put shim and grub on disk for booting. The installer will then crash / fail as grub-install fails to find the ESP when copying the bootloader.
The last option works correctly, it creates the ESP as it erases the entire disks and proceeds with new partitioning.
The proposed changes fix ESP creation for the replace and resize cases, additionally disabling the reuse-partition option as it would lead to unbootable systems without an existing ESP.
[Test Case]
A few valid cases to try, both for desktop and server, each of these on a clean disk:
* In legacy BIOS mode, install Ubuntu (whole disk).
* Switch to UEFI mode
* Start the Ubuntu installer.
* In partitioning, make sure the 'reuse existing partition' option is not visible (reuse, 'replace' should still be present).
* Select resize and install.
* Check if installation succeeds and system boots.
* In legacy BIOS mode, install Ubuntu (whole disk).
* Switch to UEFI mode
* Start the Ubuntu installer.
* In guided partitioning select the replace existing and install option.
* Check if installation succeeds and system boots.
* In legacy BIOS mode, install Ubuntu (manual partitioning, create 3 primary partitions, leave enough free space for another install).
* Switch to UEFI mode
* Start the Ubuntu installer.
* In guided partitioning select the use biggest free space option.
* Check if installation succeeds and system boots.
* In UEFI mode start the Ubuntu installer.
* Select a clean whole-disk install.
* Check if installation succeeds and system boots.
Additional random partitioning scheme dogfooding tests are welcome.
[Regression Potential]
The main change affects the recipes for -amd64-efi cases, so theoretically in the worst-case scenario there might be some problems when installing systems in UEFI mode with guided partitioning, like: wrong partitioning scheme present or the ESP not correctly created. But those regressions should be easily noticeable during testing.
Another small regression potential is in invalid ESP counting and the users not getting the 'reuse partition' option even if the ESP is present. But that also should be covered through the tests. |
|
2018-06-28 10:54:57 |
Łukasz Zemczak |
ubiquity (Ubuntu): status |
Confirmed |
In Progress |
|
2018-06-28 10:55:42 |
Łukasz Zemczak |
nominated for series |
|
Ubuntu Bionic |
|
2018-06-28 10:55:42 |
Łukasz Zemczak |
bug task added |
|
partman-auto (Ubuntu Bionic) |
|
2018-06-28 10:55:42 |
Łukasz Zemczak |
bug task added |
|
partman-efi (Ubuntu Bionic) |
|
2018-06-28 10:55:42 |
Łukasz Zemczak |
bug task added |
|
ubiquity (Ubuntu Bionic) |
|
2018-06-28 10:55:50 |
Łukasz Zemczak |
partman-auto (Ubuntu Bionic): status |
New |
Confirmed |
|
2018-06-28 10:55:53 |
Łukasz Zemczak |
partman-efi (Ubuntu Bionic): status |
New |
Confirmed |
|
2018-06-28 10:55:55 |
Łukasz Zemczak |
ubiquity (Ubuntu Bionic): status |
New |
Confirmed |
|
2018-06-28 10:55:57 |
Łukasz Zemczak |
ubiquity (Ubuntu Bionic): assignee |
|
Łukasz Zemczak (sil2100) |
|
2018-06-28 10:55:59 |
Łukasz Zemczak |
partman-efi (Ubuntu Bionic): assignee |
|
Łukasz Zemczak (sil2100) |
|
2018-06-28 10:56:01 |
Łukasz Zemczak |
partman-auto (Ubuntu Bionic): assignee |
|
Łukasz Zemczak (sil2100) |
|
2018-06-28 10:56:05 |
Łukasz Zemczak |
ubiquity (Ubuntu Bionic): importance |
Undecided |
Critical |
|
2018-06-28 10:56:07 |
Łukasz Zemczak |
partman-efi (Ubuntu Bionic): importance |
Undecided |
Critical |
|
2018-06-28 10:56:10 |
Łukasz Zemczak |
partman-auto (Ubuntu Bionic): importance |
Undecided |
Critical |
|
2018-06-28 10:56:15 |
Łukasz Zemczak |
partman-auto (Ubuntu Bionic): milestone |
|
ubuntu-18.04.1 |
|
2018-06-28 10:56:17 |
Łukasz Zemczak |
partman-efi (Ubuntu Bionic): milestone |
|
ubuntu-18.04.1 |
|
2018-06-28 10:56:20 |
Łukasz Zemczak |
ubiquity (Ubuntu Bionic): milestone |
|
ubuntu-18.04.1 |
|
2018-06-28 22:35:41 |
Brian Murray |
partman-auto (Ubuntu Bionic): status |
Confirmed |
Fix Committed |
|
2018-06-28 22:35:44 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-06-28 22:35:47 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2018-06-28 22:35:52 |
Brian Murray |
tags |
id-5aead343f853aedc876ae68b |
id-5aead343f853aedc876ae68b verification-needed verification-needed-bionic |
|
2018-06-28 22:37:14 |
Brian Murray |
partman-efi (Ubuntu Bionic): status |
Confirmed |
Fix Committed |
|
2018-06-29 10:06:06 |
Łukasz Zemczak |
ubiquity (Ubuntu): status |
In Progress |
Fix Released |
|
2018-06-29 14:04:16 |
Łukasz Zemczak |
ubiquity (Ubuntu Bionic): status |
Confirmed |
In Progress |
|
2018-06-29 16:54:50 |
Steve Langasek |
ubiquity (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2018-07-04 10:44:16 |
Łukasz Zemczak |
tags |
id-5aead343f853aedc876ae68b verification-needed verification-needed-bionic |
id-5aead343f853aedc876ae68b verification-done-bionic |
|
2018-07-06 21:03:16 |
Launchpad Janitor |
partman-auto (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-07-06 21:03:21 |
Steve Langasek |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-07-06 21:03:29 |
Launchpad Janitor |
ubiquity (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-07-06 21:03:33 |
Launchpad Janitor |
partman-efi (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-08-18 02:45:13 |
wltse601 |
bug |
|
|
added subscriber wltse601 |
2018-08-19 14:53:00 |
Yan |
ubiquity (Ubuntu): assignee |
Łukasz Zemczak (sil2100) |
Yan (biily) |
|
2018-08-20 07:09:40 |
Jean-Baptiste Lallement |
ubiquity (Ubuntu): assignee |
Yan (biily) |
Łukasz Zemczak (sil2100) |
|
2018-08-22 13:21:48 |
eMKi |
bug |
|
|
added subscriber eMKi |
2018-08-30 18:39:56 |
mostafasobhy |
ubiquity (Ubuntu): assignee |
Łukasz Zemczak (sil2100) |
mostafasobhy (plamdesign) |
|
2018-09-04 20:33:00 |
Santhosh Kumar R |
ubiquity (Ubuntu): assignee |
mostafasobhy (plamdesign) |
Santhosh Kumar R (santhoshrcms) |
|
2018-09-18 14:23:28 |
Saurav sagar |
ubiquity (Ubuntu): assignee |
Santhosh Kumar R (santhoshrcms) |
Saurav sagar (ss26690) |
|
2018-10-03 20:38:41 |
Razu Ahmad |
ubiquity (Ubuntu): assignee |
Saurav sagar (ss26690) |
Razu Ahmad (razu.a) |
|
2018-10-15 17:04:40 |
AB marof |
ubiquity (Ubuntu): assignee |
Razu Ahmad (razu.a) |
AB marof (marof) |
|
2018-10-25 03:28:02 |
Ravishankar Kathaotiya |
partman-auto (Ubuntu Bionic): assignee |
Łukasz Zemczak (sil2100) |
Ravishankar Kathaotiya (ravikathiyadell) |
|
2018-10-25 16:46:47 |
Mathieu Trudel-Lapierre |
partman-auto (Ubuntu Bionic): assignee |
Ravishankar Kathaotiya (ravikathiyadell) |
|
|
2018-10-25 16:46:52 |
Mathieu Trudel-Lapierre |
ubiquity (Ubuntu): assignee |
AB marof (marof) |
|
|
2018-10-25 17:19:28 |
Ashrafujjaman Rana |
ubiquity (Ubuntu): assignee |
|
Ashrafujjaman Rana (thinker-rana) |
|
2018-10-25 17:46:56 |
Mathieu Trudel-Lapierre |
ubiquity (Ubuntu): assignee |
Ashrafujjaman Rana (thinker-rana) |
|
|
2018-10-26 14:18:31 |
kero Adel |
ubiquity (Ubuntu): assignee |
|
kero Adel (kero3adel) |
|
2018-10-26 14:36:17 |
Jean-Baptiste Lallement |
ubiquity (Ubuntu): assignee |
kero Adel (kero3adel) |
Łukasz Zemczak (sil2100) |
|
2018-10-31 19:20:58 |
Parimal Prabhat |
bug |
|
|
added subscriber Parimal Prabhat |
2018-10-31 19:21:01 |
Parimal Prabhat |
removed subscriber Parimal Prabhat |
|
|
|
2018-11-01 10:55:32 |
Erdenebat Ganchuluun |
partman-auto (Ubuntu Bionic): assignee |
|
Erdenebat Ganchuluun (gerdenebat10) |
|
2018-11-01 12:36:54 |
pranaybangde |
bug |
|
|
added subscriber pranaybangde |
2018-11-02 22:40:22 |
Luis Adame Rodríguez |
removed subscriber Luis Adame Rodríguez |
|
|
|
2018-11-03 06:44:05 |
khashayar |
ubiquity (Ubuntu): assignee |
Łukasz Zemczak (sil2100) |
khashayar (ahrabi) |
|
2018-11-03 18:48:40 |
anirban pal |
bug |
|
|
added subscriber anirban pal |
2018-11-05 12:27:31 |
Marin Gugic |
ubiquity (Ubuntu): assignee |
khashayar (ahrabi) |
Marin Gugic (chempres234) |
|
2018-11-11 20:35:40 |
jeff thomas |
partman-auto (Ubuntu): assignee |
Łukasz Zemczak (sil2100) |
jeff thomas (jefrow27) |
|
2018-11-27 09:17:55 |
fahimfaezabir |
ubiquity (Ubuntu): assignee |
Marin Gugic (chempres234) |
fahimfaezabir (abir032) |
|
2018-11-27 12:33:45 |
Sergio Martín |
bug |
|
|
added subscriber Sergio Martín |
2018-11-27 17:36:41 |
David Goode |
bug |
|
|
added subscriber David Goode |
2018-12-16 03:05:35 |
shaik shoyab azmal |
ubiquity (Ubuntu): assignee |
fahimfaezabir (abir032) |
shaik shoyab azmal (shoyab) |
|
2018-12-18 19:43:11 |
kamiar |
ubiquity (Ubuntu): assignee |
shaik shoyab azmal (shoyab) |
|
|
2018-12-18 19:44:00 |
kamiar |
ubiquity (Ubuntu): assignee |
|
kamiar (kamiar321) |
|
2018-12-19 08:36:32 |
Jean-Baptiste Lallement |
ubiquity (Ubuntu): assignee |
kamiar (kamiar321) |
|
|
2018-12-21 18:50:58 |
Ankit Pandey |
bug |
|
|
added subscriber Ankit Pandey |
2018-12-21 18:51:05 |
Ankit Pandey |
removed subscriber Ankit Pandey |
|
|
|
2018-12-22 22:46:10 |
yehia elshenawy |
ubiquity (Ubuntu): assignee |
|
yehia elshenawy (yehia99) |
|
2018-12-24 12:51:27 |
cdattu777@gmail.com |
ubiquity (Ubuntu): assignee |
yehia elshenawy (yehia99) |
cdattu777@gmail.com (dattu123) |
|
2018-12-27 15:52:57 |
Mohammad Seyfayi |
ubiquity (Ubuntu): assignee |
cdattu777@gmail.com (dattu123) |
Mohammad Seyfayi (mohamad-sey) |
|
2019-01-12 07:40:21 |
vignesh |
ubiquity (Ubuntu): assignee |
Mohammad Seyfayi (mohamad-sey) |
vignesh (vickyporiki) |
|
2019-01-12 07:53:09 |
GizmoChicken |
removed subscriber GizmoChicken |
|
|
|
2019-01-26 12:06:10 |
Raja Ehtasham Ul Haq |
ubiquity (Ubuntu): assignee |
vignesh (vickyporiki) |
Raja Ehtasham Ul Haq (raja3233) |
|
2019-01-27 11:39:19 |
Jean-Baptiste Lallement |
partman-auto (Ubuntu Bionic): assignee |
Erdenebat Ganchuluun (gerdenebat10) |
|
|
2019-01-27 11:39:26 |
Jean-Baptiste Lallement |
ubiquity (Ubuntu): assignee |
Raja Ehtasham Ul Haq (raja3233) |
|
|
2019-02-01 05:03:00 |
Petre Cosmin Bogdan |
partman-auto (Ubuntu): assignee |
jeff thomas (jefrow27) |
Petre Cosmin Bogdan (bboybaby) |
|
2019-02-01 05:20:17 |
Ashu |
bug |
|
|
added subscriber Ashu |
2019-02-08 06:05:33 |
nur nahian |
ubiquity (Ubuntu): assignee |
|
nur nahian (nahian151) |
|
2019-02-08 15:12:28 |
Md Maruf Hossain |
ubiquity (Ubuntu): assignee |
nur nahian (nahian151) |
Md Maruf Hossain (maruf123) |
|
2019-02-10 15:28:55 |
Robert Jobin |
bug |
|
|
added subscriber Robert Jobin |
2019-02-10 15:29:19 |
Robert Jobin |
removed subscriber Robert Jobin |
|
|
|
2019-03-13 07:55:14 |
siavash rahimi |
ubiquity (Ubuntu): assignee |
Md Maruf Hossain (maruf123) |
|
|
2019-03-14 16:33:26 |
Abhishek Gupta |
ubiquity (Ubuntu): assignee |
|
Abhishek Gupta (mabhi4819) |
|
2019-03-21 01:40:54 |
Fawehinmi Oreoluwa |
bug |
|
|
added subscriber Fawehinmi Oreoluwa |
2019-04-17 14:57:40 |
Rakibul Islam |
ubiquity (Ubuntu): assignee |
Abhishek Gupta (mabhi4819) |
Rakibul Islam (rakib42) |
|
2019-04-19 05:40:56 |
vaishnav |
ubiquity (Ubuntu): assignee |
Rakibul Islam (rakib42) |
|
|
2019-05-31 10:08:06 |
hassan feras |
ubiquity (Ubuntu): assignee |
|
hassan feras (hassan5563) |
|
2019-06-11 16:57:35 |
Bouchakri Mhamed |
ubiquity (Ubuntu): assignee |
hassan feras (hassan5563) |
Bouchakri Mhamed (bouchakri15) |
|
2019-06-12 02:09:22 |
vikas |
removed subscriber vikas |
|
|
|
2019-08-14 18:11:08 |
Fares Uchiha |
partman-auto (Ubuntu): assignee |
Petre Cosmin Bogdan (bboybaby) |
Fares Uchiha (fares-uchiha) |
|
2019-08-20 16:01:47 |
pham van khoa |
ubiquity (Ubuntu): assignee |
Bouchakri Mhamed (bouchakri15) |
pham van khoa (spideypool) |
|
2019-09-25 05:04:17 |
Mauricio Medina Miranda |
bug |
|
|
added subscriber Mauricio Medina Miranda |
2019-09-25 05:04:38 |
Mauricio Medina Miranda |
removed subscriber Mauricio Medina Miranda |
|
|
|
2019-11-16 02:32:45 |
Ahmed Ragab Saleh |
ubiquity (Ubuntu): assignee |
pham van khoa (spideypool) |
Ahmed Ragab Saleh (ahmed-ragab-giga) |
|
2019-11-16 07:59:53 |
Gerardo Marco D'Aurelio |
removed subscriber Gerardo Marco D'Aurelio |
|
|
|
2019-12-04 05:53:24 |
Sushma Nagesh |
ubiquity (Ubuntu): assignee |
Ahmed Ragab Saleh (ahmed-ragab-giga) |
|
|
2019-12-04 05:54:05 |
Sushma Nagesh |
ubiquity (Ubuntu): assignee |
|
Sushma Nagesh (sushma-nagesh) |
|
2019-12-30 20:42:12 |
abdjalil |
ubiquity (Ubuntu): assignee |
Sushma Nagesh (sushma-nagesh) |
abdjalil (danane) |
|
2020-01-05 07:32:20 |
malindu buddhika |
ubiquity (Ubuntu): assignee |
abdjalil (danane) |
malindu buddhika (sanjeeva077) |
|
2020-01-10 15:21:51 |
Robert Jobin |
bug |
|
|
added subscriber Robert Jobin |
2020-01-10 15:22:05 |
Robert Jobin |
removed subscriber Robert Jobin |
|
|
|
2020-01-22 13:00:55 |
Vincent |
bug |
|
|
added subscriber Vincent |
2020-02-27 17:57:31 |
Tushar Vaibhav |
partman-auto (Ubuntu): assignee |
Fares Uchiha (fares-uchiha) |
Tushar Vaibhav (tusharvaibhavmca) |
|
2020-02-28 03:59:04 |
Alix |
ubiquity (Ubuntu): assignee |
malindu buddhika (sanjeeva077) |
|
|
2020-03-10 19:07:16 |
chung gyune choi |
ubiquity (Ubuntu): assignee |
|
chung gyune choi (chunggchoi) |
|
2020-05-02 13:10:12 |
Le Nguyen Nhut Truong |
ubiquity (Ubuntu Bionic): assignee |
Łukasz Zemczak (sil2100) |
|
|
2020-05-02 14:09:11 |
Le Nguyen Nhut Truong |
bug |
|
|
added subscriber Le Nguyen Nhut Truong |
2020-09-11 21:15:27 |
Andrew Tihaniy |
ubiquity (Ubuntu): assignee |
chung gyune choi (chunggchoi) |
Andrew Tihaniy (esterkill) |
|
2021-01-25 19:44:31 |
Pronob Sarker |
partman-auto (Ubuntu): assignee |
Tushar Vaibhav (tusharvaibhavmca) |
Pronob Sarker (pronobsarker) |
|
2021-06-23 19:03:11 |
abdul khobir |
ubiquity (Ubuntu): assignee |
Andrew Tihaniy (esterkill) |
abdul khobir (abdulkhobir) |
|
2021-06-24 01:01:51 |
Chen-Han Hsiao (Stanley) |
removed subscriber Chen-Han Hsiao (Stanley) |
|
|
|
2021-06-30 08:22:02 |
Dan Smith |
removed subscriber Dan Smith |
|
|
|
2024-06-06 06:15:54 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~juergh/apport/+git/ubuntu-bugpatterns/+merge/466997 |
|