Unable to install to disk when using grub loopback method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
How to quickly reproduce :
- From a Linux distro installed (Ubuntu 18.04 here)
- Install grml : sudo apt install grml-rescueboot
- Get Focal iso : wget -0 /boot/grml/
- add toram option : echo ' CUSTOM_
- Generate the Grub entry : sudo update-grub
- Reboot and select the Grub entry for the iso
- on the Second grub menu ( the live iso one ) edit with e key to add the toram option , boot with F10
- Start the Ubuntu installation : Ubiquity ask if it should try to umount /isodevice - You accept - But patitioning fails anyway .
See https:/
-----Solution ---------------
Before starting ubiquity :
sudo umount -l -r -f /isodevice
sudo losetup -d /dev/loop1
You can then install Ubuntu and partition your disk like if you were on USB !
--- Initial report ----
When installing from an iso file, with grub's loopback option, Ubiquity displays a message stating the isodevice cannot be unmounted, even when the isofile is not located on the same harddrive as the installation target.
sudo umount -l -r -f /isodevice
solves this problem, so Ubiquity should be able to issue this command by itself, without any user action.
Arbiel
tags: | added: bionic focal xenial |
summary: |
- Unable to umount isodevice + Unable to umount /isodevice when using grub loopback method |
description: | updated |
description: | updated |
Changed in ubiquity (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Status changed to 'Confirmed' because the bug affects multiple users.