Make Ubuntu dual boot windows 7

Mazamin

Well-Known Member
OP
Member
Joined
Sep 4, 2014
Messages
1,891
Trophies
0
XP
2,818
Country
Italy
Hi everyone,
time ago I removed windows from the main hard disk and installed ubuntu on an external hard disk.
Now i boot my pc into ubuntu from that external hd.
I want now to dual boot on the external hard disk or the main hard disk windows 7.
How can i do?
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
25
Location
Earth
XP
1,784
Country
Italy
First, install Windows 7 to the internal HD without plugging the external one. After it's finished installing, simply boot the external HD from the Boot Menu of your BIOS/UEFI. If you want Windows to show in GRUB, open a terminal and type:
Code:
sudo update-grub
followed by your password. Then set the first boot priority to the external drive in the BIOS/UEFI settings.
 

Mazamin

Well-Known Member
OP
Member
Joined
Sep 4, 2014
Messages
1,891
Trophies
0
XP
2,818
Country
Italy
First, install Windows 7 to the internal HD without plugging the external one. After it's finished installing, simply boot the external HD from the Boot Menu of your BIOS/UEFI. If you want Windows to show in GRUB, open a terminal and type:
Code:
sudo update-grub
followed by your password. Then set the first boot priority to the external drive in the BIOS/UEFI settings.
Yes, but i don't have windows installed

Get the installer on a DVD or USB then install it on the main drive.

btw why would you boot off an external drive?
I'll try it
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,348
Trophies
3
XP
27,316
Country
United Kingdom
2 main options.

1) You manually select the boot disc. When you power on your PC it will say something like "press f8 for boot options" (might also be f12 or something else entirely). From there you can select the external, a DVD, a the internal hard drive....

2) You install some kind of jump loader. Traditionally people would do this to boot a PC from a device that the BIOS did not support, mainly USB. However you can install a boot loader on a device of your choice and then get it to boot from that, it will then display an options screen and allow you to pick between them.

If you are the only one using the machine and you only want to go into windows occasionally then I would probably just opt for 1). If multiple people want it and they are not as tech capable then have fun getting 2) sorted. Sometimes it is painless but other times it gets very annoying.

If you prefer a Windows based bootloader then I like http://neosmart.net/EasyBCD/
If you prefer a Linux based bootloader then you have a few options, I am not sure what Ubuntu is doing these days (newer versions of windows and UEFI changed a few things) but normally it is Grub ( https://help.ubuntu.com/community/Grub2 ) that is used. You have probably already seen something like this where it says "ubuntu some version" and on the next line is says "ubuntu some version (single user mode)" and gives you a few seconds to choose.

Both will allow you to choose between Linux and Windows and whatever else you want in there. I like and use both for various things.
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,604
Trophies
1
XP
2,704
Country
Vietnam
GRUB is used on Ubuntu and supports UEFI as well (even Secure Boot). During setup it should automatically add an entry for avery bootloader/OS on the drive (not sure if it works on another drive).
 

nastys

ナースティス
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
25
Location
Earth
XP
1,784
Country
Italy
GRUB is used on Ubuntu and supports UEFI as well (even Secure Boot). During setup it should automatically add an entry for avery bootloader/OS on the drive (not sure if it works on another drive).
Ubuntu is already installed, so it won't add Windows automatically and has to be done manually, with sudo update-grub.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • JuanMena @ JuanMena:
    Will you give me mouth to mouth oxygen if my throat closes?
  • K3N1 @ K3N1:
    Nah the air can do that
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    A @ abraarukuk: hi guys