[Bug 1155216] Re: Unable to umount /isodevice when using grub loopback method

Michel-Ekimia contact at ekimia.fr
Thu Feb 13 16:45:04 UTC 2020


With the help of aecooper 's comment , I succeed to install from Grubed iso ! 
Many thanks 

I will update the bug right now

** Description changed:

  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/focal.iso http://cdimage.ubuntu.com/daily-live/current/focal-desktop-amd64.iso
  - add toram option  :  echo ' CUSTOM_BOOTOPTIONS="toram" ' | sudo tee -a /etc/default/grml-rescueboot
  - Generate the Grub entry : sudo update-grub
- - Reboot and edit the grml menu grub entry to add toram option - then press F10 to boot it 
+ - 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://help.ubuntu.com/community/Grub2/ISOBoot for more info
+ 
+ 
+ 
+ -----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

** Summary changed:

- Unable to umount /isodevice when using grub loopback method
+ Unable to install to disk when using grub loopback method

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1155216

Title:
  Unable to install to disk when using grub loopback method

Status in ubiquity package in Ubuntu:
  Confirmed

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/focal.iso http://cdimage.ubuntu.com/daily-live/current/focal-desktop-amd64.iso
  - add toram option  :  echo ' CUSTOM_BOOTOPTIONS="toram" ' | sudo tee -a /etc/default/grml-rescueboot
  - 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://help.ubuntu.com/community/Grub2/ISOBoot for more info


  
  -----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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1155216/+subscriptions



More information about the foundations-bugs mailing list