This should be fixed, because when you boot an ISO file from your hard
drive and load Ubuntu to RAM, you are not able to do any repartitioning,
installing etc to the hard drive from where the ISO was loaded from when
it stays mounted. I have tested this on a Ubuntu installation with LVM
hard drive
Issue is still occurring on ubuntu-20.04.3-live-server-amd64.
Unfortunately having difficulty unmounting the iso file with the
following two commands,
losetup -d /dev/loop0
umount /isodevice
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
When booting Kubuntu 20.04.1 (LTS) iso the workaround of detaching
/dev/loop0 device and then unmounting /isodevice was required, as in
comment #27. Then setup finished.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Description changed:
Binary package hint: ubiquity
Ubiquity cannot install if you are booting LiveCD directly from ISO.
Booting directly from GRUB to the ISO, mounts the ISO to /isodevice.
Ubiquity will not install (even if on separate disk) if this is not
unmounted.
Just an Update : umount -lfd was not enough
So I'm trying to embed a startup script in a Live custom ISO :
losetup -d /dev/loop0
umount -lfd /isodevice
And it works
** Description changed:
Binary package hint: ubiquity
Ubiquity cannot install if you are booting LiveCD directly from
Still on 20.04.1 ...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/684280
Title:
casper toram forgets to disconnect loop device
To manage notifications about this bug go to:
Any update on this small but big win fix ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/684280
Title:
casper toram forgets to disconnect loop device
To manage notifications about this bug go to:
Even better option of umount : -d ( detach loop devices )
So sudo umount -lfd /isodevice
should be the way.
** Description changed:
Binary package hint: ubiquity
Ubiquity cannot install if you are booting LiveCD directly from ISO.
Booting directly from GRUB to the ISO, mounts the ISO
Did you try to force umount at line
https://git.launchpad.net/ubuntu/+source/casper/tree/scripts/casper?h=ubuntu
/focal-devel#n200
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/684280
Title:
** Tags removed: maverick
** Tags added: bionic focal
** Description changed:
Binary package hint: ubiquity
Ubiquity cannot install if you are booting LiveCD directly from ISO.
Booting directly from GRUB to the ISO, mounts the ISO to /isodevice.
Ubiquity will not install (even if on
Regarding comment #20, 2019-10-03,
I tried this patch and umount -d ${copyfrom} seems like it should
unmount the loopback device, but it does not.
Yet this works:
root@xubuntu:~# losetup -d /dev/loop0
root@xubuntu:~# umount /isodevice
I am still looking that this, but was curious if anybody
Here's a patch for casper to delete the loopback after copying:
diff --git a/scripts/casper b/scripts/casper
index 5861ced..fa06c0d 100644
--- a/scripts/casper
+++ b/scripts/casper
@@ -191,7 +191,7 @@ copy_live_to() {
if [ -e ${copyfrom}/.disk ]; then
cp -a ${copyfrom}/.disk
Yes; the install only fails if the iso file is on your hard disk.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/684280
Title:
casper toram forgets to disconnect loop device
To manage notifications
Philip Susi: Confirmed with the Bionic live CD:
root@xubuntu:~# cat /proc/cmdline
BOOT_IMAGE=(loop)/casper/vmlinuz boot=casper
iso-scan/filename=/linux/xubuntu-18.04-desktop-amd64.iso toram
root@xubuntu:~# umount /isodevice
umount: /isodevice: target is busy.
root@xubuntu:~# losetup -d
14 matches
Mail list logo