How to Install Ubuntu on separate hard drive in a dual boot With Windows 7?

Bazman

I am in a similar situation as this poster except I have Windows 7 Pro:
I have SSD which is the C drive which stores windows and a 1TB hard drive.
I have created a CD with an image of Ubuntu.
I'm still pretty new to all this so need a bit of hand holding!

How to Install Ubuntu on separate hard drive in a dual boot?

I'm not clear from his post whether or not he has partitioned his hard drive prior to installing Ubuntu or not.

However judging from the response there 2nd hard drive sdb does not appear to be partitioned. The responder (Mitch) goes on to partition the drive using the Ubuntu installer as shown.

enter image description here

In my case I already have files stored on the second drive, can I still safely use the Ubuntu installation software to partition software? Or would it be better to use a different piece of software to partition the hard drive prior to install? Obviously I don't want the existing files to be wiped (although I have backed them up). FYI, I've never partitioned a hard drive before.

Also I noticed that other answers to the same problem suggest disconnecting the windows hard drive first.

http://www.tomshardware.co.uk/answers/id-2653283/dual-booting-windows-ubuntu-linux-hard-drives.html

2 ways, depending on exactly how you want to choose what OS you want to boot into.

  1. You want to choose via the BIOS boot menu: Disconnect the current Windows drive Connect the other drive Install Ubuntu Choose the OS during the BIOS boot sequence

  2. You want to choose via the GRUB menu: Leave the Windows drive connected Connect the other drive Install Ubuntu to the new drive (be careful here that you choose the correct drive!) At boot time, you will be presented with a menu, allowing you which OS to boot into

As well as being safer (in that your Windows drive won't be wiped) especially important in my case as I don't have the capacity to back it up.

Is there any major advantages between choosing the OS via the BIOS as opposed to the Grub drive?
FYI... I'm not even sure what a Grub drive is, I'm just looking for the easiest/quickest solution.

Mitch's original response seems to be the the GRUB based solution. Is this correct?

However all I have to do to amend Mitch's solution to the BIOS based one is to physically disconnect the windows drive after switching the boot to DVD drive in BIOS and then follow Mitch's instructions for the rest but having one drive instead of two.

I then reconnect the windows drive afterwards. Do I have to make any other changes to the BIOS after this?

user68186

This answer assumes the computer in question uses legacy BIOS (not UEFI), and MBR (not GPT) and Windows 7.

First, prepare Disk 2 for Ubuntu installation

Since you have data on disk 2 and you want to preserve it (and you have backup, in case things go south), you first need to create some unallocated space in this disk.

This can be done with Ubuntu installation disk using Try Ubuntu without installing option and the GParted program. Or you can do this using Windows 7 native tools. I recommend using Windows as you may be more familiar with it. Follow https://technet.microsoft.com/en-us/library/gg309169.aspx guide for how to shrink the partition in Disk 2.

Shrink your 1TB data partition in Disk 2 to approximately half its size if you want Ubuntu to use half the space.

Move the data partition to the end of the disk, so that the unallocated Free space is at the beginning. This step may or may not be necessary. Some computers don't boot if the boot partition begins too far from the beginning of the physical disk.

Second, Install Ubuntu in the Disk 2.

This is where you follow Mitch's answer in How to Install Ubuntu on separate hard drive in a dual boot?

When you select Something else option you will see something like this picture from Mitch's answer:

enter image description here

Except in your case /dev/sdb (assuming this is your Disk 2) will have a data partition after the free space called /dev/sdb1. Leave that alone and work on the free space as in the linked answer above.

Note at the bottom of the image there is a dropdown menu for Device for bootloader installation The bootloader is another name for the GRUB. You may want to change this from your Disk 1 which may be /dev/sda to Disk 2 which may be /dev/sdb. Note, here you choose the whole disk, not any specific partition (sdb1, sdb2 etc.) within the disk.

The advantage of selecting the Disk 2 for the GRUB is it will keep Windows and Ubuntu completely separate. You would get the same result if you unplug the Disk 1 before installation.

Third, Boot order of disks (BIOS or GRUB)

Once Ubuntu is installed you will be asked to reboot the machine. If you want to use the BIOS Boot menu, you are done.

When you reboot the machine it will boot to Windows as before. If you want to boot Ubuntu you will need to press the BIOS Boot selection button. This varies between different computers. It can be F10, F12, Esc, etc. and you may see something like Press F10 for boot manu briefly before Windows boots.

If you want to use GRUB:

Go into BIOS setting (or configuration) and look for the Boot section. Change the boot order such that the Disk 2 is the first one on the list. Save the settings and exit BIOS and reboot.

On first boot, you may or may not see the GRUB menu. If this happens you will directly boot Ubuntu. This is normal. After Ubuntu boots login using the username and password you selected during Ubuntu installation.

Open a terminal by pressing Ctrl+Alt+T together. Then enter:

sudo update-grubEnter

You will be prompted for your password. When you enter the password in the terminal the cursor will not move, there will be no dots or ****. this is normal. Press Enter after password.

The above command will look through all the drives and discover that you have Windows 7 (and possibly recovery partitions) in Disk 1 and add these to the GRUB menu in Disk 2. It will not change anything in Disk 1.

In the next reboot, you will see the GRUB menu, something like:

enter image description here

Yours will look slightly different. If you do nothing after a few seconds the computer will boot Ubuntu.

  • You can press Enter to boot Ubuntu right away.
  • To boot Windows, use the Down Arrow Key to select Windows 7 and press Enter.

If you want GRUB to boot Windows instead of booting Ubuntu if you do nothing, you can change GRUB default to boot Windows.

Hope this helps.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

questions about dual-boot install Ubuntu 10.04 and Windows 7 on same hard drive

From Dev

Installing Ubuntu 14.04 to dual boot with windows 7 on one hard drive

From Dev

How to partition hard disk for dual boot for Windows 7 and Ubuntu Linux

From Dev

Install Ubuntu directly off a hard drive and dual boot

From Dev

Install Ubuntu on D:\ drive partition as Dual-boot with windows 7 on a SSD C:\ drive

From Dev

Zorin/Windows 7 Dual Boot on New Hard Drive, no GRUB!

From Dev

dual boot windows 7 with xp hard drive compatibility mode

From Dev

Dual Boot Windows 7 with Ubuntu on Second Hard Disk

From Dev

Ubuntu dual boot with Windows 7 on two hard disks issue

From Dev

Dual Boot Ubuntu on a laptop with Hard Drive

From Dev

How should I install Ubuntu onto a new SSD drive with Windows 7 on my old hard drive?

From Dev

How to Revamp my hard-drive and then do a dual-boot windows xp and ubuntu 12.04 LTS Ubuntu currently installed

From Dev

How to Revamp my hard-drive and then do a dual-boot windows xp and ubuntu 12.04 LTS Ubuntu currently installed

From Dev

Dual boot of Ubuntu and Windows 7 from separate drives

From Dev

How to dual boot ubuntu with windows 7

From Dev

How to dual boot ubuntu with windows 7

From Dev

How do i install Windows 7 on separate hdd and ubuntu on a separate drive?

From Dev

How to Correctly Set up Dual Boot windows 7 and ubuntu on 120Gb SSD drive with UEFI

From Dev

How to dual boot Windows and Ubuntu on 2 hard drives

From Dev

How to dual boot Windows and Ubuntu on 2 hard drives

From Dev

How to Launch a real install of Ubuntu already on another hard-drive in Windows 7 like a VM

From Dev

dual boot install windows7 after ubuntu12.04

From Dev

How to Dual Boot Windows 10 and Ubuntu 16 off an External Drive

From Dev

Dual boot Ubuntu and Windows 7?

From Dev

Dual boot of Windows 7 and Ubuntu

From Dev

Want to dual boot: Windows 8.1 / Ubuntu 13.10, but can't boot from flash drive and hard drive is reported as "full"

From Dev

How to add ubuntu to windows 10 boot manager, but it will be in another hard drive?

From Dev

Dual boot Ubuntu with Windows on another drive

From Dev

How to install Win7 with dual boot in my ubuntu 12.04

Related Related

  1. 1

    questions about dual-boot install Ubuntu 10.04 and Windows 7 on same hard drive

  2. 2

    Installing Ubuntu 14.04 to dual boot with windows 7 on one hard drive

  3. 3

    How to partition hard disk for dual boot for Windows 7 and Ubuntu Linux

  4. 4

    Install Ubuntu directly off a hard drive and dual boot

  5. 5

    Install Ubuntu on D:\ drive partition as Dual-boot with windows 7 on a SSD C:\ drive

  6. 6

    Zorin/Windows 7 Dual Boot on New Hard Drive, no GRUB!

  7. 7

    dual boot windows 7 with xp hard drive compatibility mode

  8. 8

    Dual Boot Windows 7 with Ubuntu on Second Hard Disk

  9. 9

    Ubuntu dual boot with Windows 7 on two hard disks issue

  10. 10

    Dual Boot Ubuntu on a laptop with Hard Drive

  11. 11

    How should I install Ubuntu onto a new SSD drive with Windows 7 on my old hard drive?

  12. 12

    How to Revamp my hard-drive and then do a dual-boot windows xp and ubuntu 12.04 LTS Ubuntu currently installed

  13. 13

    How to Revamp my hard-drive and then do a dual-boot windows xp and ubuntu 12.04 LTS Ubuntu currently installed

  14. 14

    Dual boot of Ubuntu and Windows 7 from separate drives

  15. 15

    How to dual boot ubuntu with windows 7

  16. 16

    How to dual boot ubuntu with windows 7

  17. 17

    How do i install Windows 7 on separate hdd and ubuntu on a separate drive?

  18. 18

    How to Correctly Set up Dual Boot windows 7 and ubuntu on 120Gb SSD drive with UEFI

  19. 19

    How to dual boot Windows and Ubuntu on 2 hard drives

  20. 20

    How to dual boot Windows and Ubuntu on 2 hard drives

  21. 21

    How to Launch a real install of Ubuntu already on another hard-drive in Windows 7 like a VM

  22. 22

    dual boot install windows7 after ubuntu12.04

  23. 23

    How to Dual Boot Windows 10 and Ubuntu 16 off an External Drive

  24. 24

    Dual boot Ubuntu and Windows 7?

  25. 25

    Dual boot of Windows 7 and Ubuntu

  26. 26

    Want to dual boot: Windows 8.1 / Ubuntu 13.10, but can't boot from flash drive and hard drive is reported as "full"

  27. 27

    How to add ubuntu to windows 10 boot manager, but it will be in another hard drive?

  28. 28

    Dual boot Ubuntu with Windows on another drive

  29. 29

    How to install Win7 with dual boot in my ubuntu 12.04

HotTag

Archive