5

Windows 7 was pre-installed on my machine. Ubuntu 11.10 doesn't boot after I installed it. Once Ubuntu finished its installation, I restarted.

After that, it just boots straight to Windows 7, no sign on Ubuntu at all.

slhck
  • 235,242
James1
  • 529

2 Answers2

3

If there was no error while installing then you can re-install your GRUB as follows:

  1. First, boot from a live CD
  2. Second, open your terminal and write sudo fdisk -l to see all your partitions and exact name of your linux one (sdxy) where x means the hard number (a,b,c,...) and y the number of partition (1,2,3,4,...)
  3. Third, after that you should write these following instructions:
  4. sudo mkdir /media/root
  5. sudo mount /dev/sdxy /media/root
  6. sudo grub-install --root-directory=/media/root /dev/sdx (without y number!)
  7. sudo update-grub

See also: Recovering Ubuntu After Installing Windows

slhck
  • 235,242
wisdom
  • 497
1

Something likely failed with the Grub installation.

There are multiple ways to tackle this.. but ill give you the short one

  • boot the Ubuntu live disk
  • mount your root directory(the partition you installed ubuntu on)
    • this can be done commandline or through the file browser
  • then use:

    sudo grub-install /dev/DRIVE

DRIVE is the drive first starts as selected in the BIOS.. usually this is /dev/sda

madmaze
  • 4,444