0

I have a Dell Inspiron 14R laptop, and I have tried almost everything to install Ubuntu.

  1. Bootable USB drive
  2. PLOP
  3. Regular installation

I'm currently on Windows 8.1.

I want to install Ubuntu on my laptop and remove Windows 8 completely.

My problem is that I never got to the Ubuntu installation screen. I always failed to boot from the USB drive. When I use the special restart the only option available is the Windows 8 "Startup Settings".

enter image description here

enter image description here

enter image description here

karel
  • 114,770
  • I don't want a dual-boot. I want to install Ubuntu, and remove windows 8 completely – bustrama Mar 07 '15 at 13:03
  • 2
    In the Ubuntu installer there is an Installation type screen and on this screen select the option that says Replace Windows 8 with Ubuntu. Selecting this option will install Ubuntu and remove Windows 8 completely. – karel Mar 07 '15 at 13:06
  • Well, my problem is that I never got to the installation screen. always failed to boot from usb. – bustrama Mar 07 '15 at 13:08
  • Yes, I know. Maybe it's because of the UEFI firmware on the laptop. – karel Mar 07 '15 at 13:10
  • When I use the special restart the only option available is "Startup Setting" – bustrama Mar 07 '15 at 13:20
  • First disable fastboot from within windows, then on that model you have to choose F2 and adjust the primary boot device to the live media you are installing from. As others have stated you may also have to disable UEFI. Then follow http://askubuntu.com/questions/221835/installing-ubuntu-on-a-pre-installed-windows-8-64-bit-system-uefi-supported but choose to overwrite rather than dual boot in the installation choices if you want to overwrite Windows. Always backup all your critical data before making changes to your system of this type. – Elder Geek Mar 14 '15 at 22:05

1 Answers1

1

A less radical fix

Most computers enable you to enter the firmware setup utility, or at least get a boot manager menu, by hitting a function key (or sometimes Esc, Del, or something else) in the first few seconds after you power on the machine. Unfortunately, there's no standardization in what key does what, so if you don't see a prompt, you may have to just try all the function keys, Esc, and Del until something works. The timing can be tricky, too. I generally start hitting the desired key 2-3 times a second as soon as I power the computer on.

If you get a boot menu, it should have options for launching your USB drive. Pick the option that includes "UEFI" in the description, if there are two entries.

If you get into the firmware setup utility, look for options to disable "fast start," enable USB ports, or something similar. ("Fast start" in the firmware causes it to do little or no initialization of USB devices, among other things, which speeds the boot process but prevents booting from external media.) You may also be able to adjust the boot order to boot from a USB device first, but that device may need to be plugged in for the option to be available.

A more radical fix

If you can't get a boot menu or the setup utility, you could try using a partitioning tool to delete all the partitions on the disk. With no partitions present, the firmware will either enter its own setup utility, which should enable you to adjust the boot order, or boot to whatever external medium has a valid boot loader.

Be sure to get all the partitions, though. The Windows boot loader is stored on the EFI System Partition (ESP), so if you leave it intact, the firmware will think everything's just fine and boot to the Windows boot loader, which will then fail, leaving you in a worse state than you're in now. A few partitioning tools, like OS X's Disk Utility, intentionally hide the ESP from view, so there is a risk of missing it with some tools. I'm pretty sure that the standard Windows tool does show the ESP. If you want to be 100% sure of getting it, you could use my GPT fdisk (gdisk), which is available in Windows form.

You'll be unable to restore the system to a factory default settings if you do this. A compromise might be to delete the ESP but leave everything else intact. This should still enable you to boot an external disk and use it to back up the remaining partitions. (In fact, you could even back up the ESP by recovering it with TestDisk or the like, once you've booted your external medium.)

Of course, the big risk here is that if you try this approach and it doesn't work, you'll have no way to use the computer. If it's new, though, I'd return it to the store at that point because if the firmware doesn't enable you to boot from an external medium when there's no OS on the built-in disk, it's badly broken by design and deserves to be returned.

Rod Smith
  • 44,284
  • 7
  • 63
  • 105
  • Less radical fix, I didn't succeed to with any of the buttons. – bustrama Mar 07 '15 at 15:38
  • I have already used bootable usb for windows installation and it worked. Only the ubuntu installation is making problems. – bustrama Mar 07 '15 at 15:39
  • Is this the boot menu you said ? https://mega.co.nz/#!JgURAbzb!56ryLoMaURGbP636uf4LPDw0uNYAEuUkBndqjhMQEcA – bustrama Mar 07 '15 at 17:14
  • 1
    That's the screen to set the default boot priority. You can adjust items up or down and reboot. If the top-priority item has changed (or a lower-priority item, if the top item is unavailable or broken), what boots will change. If you can boot from a Windows USB drive but not an Ubuntu one, it could be that Secure Boot is both active and broken. You might try looking for an option to disable it. – Rod Smith Mar 08 '15 at 14:58