Ubuntu – Cannot install Ubuntu with UNetBootin

11.04system-installationubiquityunetbootin

I have tried several times to install Natty on its own partition on my laptop (WinXP, Intel x86) using UNetBootin, but it always fail.

There is a dialog box:

Failed to unmount partitions

The installer needs to commit changes to partition tables,
but cannot do so because partitions on the following could
not be unmounted.

/cdrom

Please close any applications using these mount points.

Would you like the installer to try to unmount these partitions again?

If I click on "continue" Ubiquity will hang up, that is, the slideshow will play forever. I do not have a built-in optical drive and I'm not currently using any peripheral.

I have tried sudo umount /cdrom it says that cdrom is busy. Then the command fuser /cdrom returns "Stale NFS file handle".

How can I work around this to install Ubuntu?

Best Answer

I have also spent hours trying to fix this, even though my problem did not start with UNetBootin. However I got the same result: the installer just quit and said that thing about not being able to unmount /cdrom

Finally the right solution was found at https://help.ubuntu.com/community/Installation/FromLinux

Specifically, do this:

Note2: Instead of using 'workaround', an alternative is to modify the file /etc/mtab by erasing the line that specifies the partition where the cdrom is mounted. This way the kernel thinks thats the /cdrom is not mounted and will not show the advice when installing ubuntu. I think this procedure is less dangerous than the one in the previus note.

Do this before you start the installer. If that does not work, try to do this right before you press the "Install Now" button.