Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Installed Ubuntu over a Windows 8 trial. After installation, Windows 8 still tries to boot. Wiped disk clean with Acronis and reinstall Ubuntu. Windows 8 still tries to start, but goes to blank screen. Ubuntu never tries to boot. Naturally live mode works fine. What do you think of wiping disk again, install Windows 7 and try using GRUB approach or do you know how to remove Windows from the cleaned disk?

share|improve this question
Boot from the LiveCD and run sudo fdisk -l, edit your question and add the output of that command to it. – Bruno Pereira Jul 4 '12 at 13:50
This might be an UEFI issue. When selecting the boot device to start from the live CD (or USB drive), are you able to choose between (U)EFI and non-EFI? – soulsource Jul 4 '12 at 14:28
@soulsource : I'm pretty sure for windows 8 it is a requirement to boot from UEFI. – Schweinsteiger Aug 17 '12 at 10:03
@Schweinsteiger : I know about Windows. Ubuntu on the other hand can be booted either by UEFI or by Bios. Only if you boot the installation CD/USB-Drive with UEFI it installs an UEFI bootloader and only then it will be possible to boot the installed system from UEFI without Bios compatibility. Of course there are some other ways to install an UEFI bootloader after installing Ubuntu. – soulsource Aug 18 '12 at 12:17
@soulsource : Exactly. Parley : In the Bios option you need to choose "UEFI:USB" . If you boot ubuntu in UEFI,then the bootloader will be properly installed. – Schweinsteiger Aug 19 '12 at 9:28

Theres two options to boot an Operating System from..

  1. MBR (Master Boot Record) Boot sector at very beginning of Disk drive
  2. Boot Sector of each partition

some OS's like MS.Windows affects MBR and you need to place grub boot loader at MBR. for this purpose:

Step 1: Boot up your system with any grub installed emergency disk.
(like : Gparted Emergency, HBCD, Bootable Grub, or Puppy linux)

Step 2: Run gparted program or this command: df and determine what is your drive name (result is like: /dev/sda) without any number at end of /sda

Step 3: if grub is preinstalled then run these commands in shell (terminal):

sudo grub-install /dev/sda
sudo grub-setup /dev/sda

and if its not installed,do this command:

sudo apt-get install grub

anyway you need to edit /boot/grub/grub.cfg to enable resume function (Hybernate)

share|improve this answer

You don't necessarily need to install Windows 7 to edit your GRUB. You could also run a live copy of Ubuntu on a flash drive and then edit your GRUB file following this wiki guide:

Alternatively, if the GRUB menu doesn't open automatically upon startup, try holding down the SHIFT key before Windows 8 boots. That usually signals it to open, if it's installed properly.

share|improve this answer

Do you see GRUB menu or not? May be you have just installed GRUB loader in wrong partition (not the one you are booting from). You can select partition for GRUB loader during setup while selecting partition to setup Ubuntu.

share|improve this answer

If you want to install GRUB on your hard disk. You can do this by using the Ubuntu Live CD.

  1. Boot to the Live CD. When you get the Ubuntu Live Desktop, Open terminal ( What is the terminal? ) and type the following:

    sudo grub

    This will get you a grub> prompt (i.e. the grub shell).

  2. At grub>. enter these commands

    find /boot/grub/stage1

    This will return a location. If you have more than one, select the installation that you want to provide the grub files.

  3. This is important: what was returned for the find command use it in the next line for the "?" -

    root (hd?,?)

    Again use the value from the find command i.e. if find returned (hd0,1) then you would enter root (hd0,1)

  4. Next enter the command to install grub to the mbr

    setup (hd0)
  5. Finally exit the grub shell


Now you are done. Reboot the machine.

Another option is to run this command:

grub-install /dev/hda
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.