Install cannot modify hard disk

by Richard Rosa   Last Updated July 11, 2019 19:02 PM - source

I am running into an issue with installing Ubuntu from a multi-boot thumbdrive.

I CAN boot the OS, but install fails due to unable to umount /isodevice ("target is busy" error) Issuing the command:

  sudo umount -f /isodevice

also results in "target is busy" message.

The problem appears to be that the .iso file that is mounted at /isodevice is NOT from the thumbdrive, but from the same named .iso on one of the hard drive partitions. There appears to be some logic that tells the system to mount this .iso instead of the one on the thumbdrive.

The grub configuration that I am booting with looks like this:

   menuentry "(u) Ubuntu  Live/Install." --hotkey=u --class ubuntu {
      set iso="$imagedir/$ubuntu"
      search --set -f $iso
      loopback loop $iso
      linux (loop)/casper/vmlinuz iso-scan/filename=$iso file=/cdrom/preseed/ubuntu.seed boot=casper noeject toram quiet splash
      initrd (loop)/casper/initrd
   }

where "imagedir" is the device & directory where the image is kept. and "$ubuntu" is the .iso image name.

Is there any way to force the kernel to load the .iso from the thumbdrive instead of the hard drive? I don't want to have to worry about existing .iso files on hard disks when using this thumbdrive for installation...

Thanx

Richard Rosa



Related Questions



WinUSB Installation Error

Updated May 14, 2015 05:00 AM

How do I move empty space on hard drive

Updated May 26, 2015 01:01 AM

how I can rearrange my partitions?

Updated August 10, 2015 21:00 PM

Internal SATA not detected

Updated September 11, 2015 04:01 AM