How do I fix "can't open /dev/sr0: No medium found" on USB boot?

I tried to install Ubuntu 11.04 on my laptop using thumb drive, but it failed, even though I used the standard Startup Disk Creator utility.

The laptop is a a Dell Studio 1536.

The problem shows as:

stdin: error 0
/init: line 7: can't open /dev/sr0: No medium found
...

What is the problem? What did I do wrong or what's wrong with boot loader?


Solution 1:

I've had the same problem the entire night. It's due to the installer not recognizing the USB drive after it's booted to BusyBox.

To fix this, you need to press F6 and modify the boot options. First, remove "quiet splash" from the options and add "break debug" in it's place. Continue installation as normal from this point. Eventually, it will break and you'll be presented with the BusyBox shell, and see plenty of the errors relating to this.

Are you ready for the next step? I promise you, it's an advanced manuver that even Han Solo himself would struggle to attempt.

Step 1: Unplug your USB drive

Step 2: Plug your USB drive back in

Step 3: Type exit and press <Enter>

Step 4: Wait 5-30 seconds and you'll be booted into your Ubuntu graphical installer.

Note: I've verified this works for Ubuntu and Linux Mint. I've been working on this problem for about 4 hours tonight and this is what worked for me, after trying every imaginable method of configuration flags for both the installer and BIOS. I am using a Toshiba Satellite C655D and using a 32GB USB 3.0 flash drive as the installation media.

I hope this helps someone, as I was about to go back to Windows after this nightmare.

Solution 2:

If you got this bug, when you boot from USB, press F6 then edit the boot option:

Remove this:

file=/cdrom/preseed/ubuntu.seed

Add these:

live-media-path=/casper/
ignore_uuid

Full sample:

append boot=casper initrd=/casper/initrd.lz live-media-path=/casper/ quiet splash ignore_uuid --

If you don't want to edit every time you boot from USB, you can edit this file in USB: /syslinux/text.cfg

https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/492301/comments/17