0

I am trying to install Ubuntu on a Windows 7 64bit laptop. The installer didn't recognise Windows. The partitions, according to Windows Disk Management are 1) 100MB NTFS System, Active, Primary Partition 2) (C:) 220 GB Boot, Page File, Crash Dump, Primary Partition 3) 220.66 GB Unallocated 4) 25 GB Recovery Partition.

Could I install Ubuntu in the Unallocated Partition - I think it was called Free Space in the Installer - and then just use the BIOS to boot - at the moment I want to carry on using Windows most of the time, while I learn how to use Linux.

Andrew

P.S. I got this boot-info report: http://paste.ubuntu.com/7409913/

user5412
  • 11
  • 6

3 Answers3

0

Depends if you are using UEFI mode on Windows 7...if you are, then sure
-----The main reason I have found Ubuntu to not recognize a windows partition is either because encryption software like true-crypt is installed or quick-boot mode is enabled where each time you shutdown windows it is really only hibernating.
There are thousands of posts all over AskUbuntu and google that detail how to disable all of that. Just make sure you know your laptop vendors button to select which loader you want to use in the uefi. (an "f") key...

----Otherwise if you aren't using uefi, then you should be able to chainload either grub then windows boot loader or vice versa. When you install Ubuntu just make sure you install grub to the "unallocated partition" you have been speaking of. If you install grub to sda (no number) you will make the windows boot loader mad and have to do lots of extra work to get everything back to normal...

0

Create a new ext4 partition from that unallocated space through gparted and install Ubuntu on it by choosing something else option in the Ubuntu installer.

You don't need to run boot-repair before installing Ubuntu. It have to be runned after installing Ubuntu on a Windows pc only if the options for both Os's are not appears in the grub menu.

Avinash Raj
  • 80,446
0

just for clarification:

no, you can't install Ubuntu to a partition to select booting it from the BIOS.

This is mainly because to boot your computer needs a master boot record (MBR) on your hard disk (which is not the same than a partition). At present this is the Windows boot loader. On installing Ubuntu this boot loader has to be replaced by Grub. Different to the Windows boot loader Grub is able to boot both, Ubuntu and Windows. The Windows boot loader refuses to boot Ubuntu.

It is possible to use a boot loader other than Grub and direct it ("chainload") to Grub located on a paritition boot record but this is a special case and probably not what you want.

To be able to recognize a Windows partition on installing Ubuntu you need to take care of the following:

  • do not use Windows "dynamic" disk format.
  • do not hibernate Windows.
  • disable "fast boot" option from Windows.
  • do not have your Windows boot partition encrypted.
  • do not install Ubuntu when its installer does not see your Windows. All your data will be deleted then. If in doubt better ask somebody (e.g. here in chat) before you proceed.

In case you want to select the booting hard drive (not the partition!) from BIOS you will need another, separate hard disk.

Takkat
  • 144,580