Need to dualboot Windows 10 with Debian (Debian already installed)

BlastedGuy9905

where's the updated autopsy report
OP
Member
Joined
Apr 13, 2017
Messages
2,334
Trophies
1
Age
33
Location
under your desk
XP
4,043
Country
United States
I installed Debian on one of my older laptops to test it out and while I liked it, I still couldn't run some apps, not even with Wine. How do I dualboot Windows 10 with Debian already installed?
 

Tom Bombadildo

Dick, With Balls
Member
Joined
Jul 11, 2009
Messages
14,578
Trophies
2
Age
29
Location
I forgot
Website
POCKET.LIKEITS
XP
19,236
Country
United States
There are a couple ways to go about this. The first way is doing it from Debian itself, which can be a bit more involved, and the second way is to reformat your PC as it currently is, install Windows first, and then install Debian on a second partition. The second way is easier, since you won't have to deal with reinstalling GRUB/using EasyBCD to add the Debian install to Windows' boot manager and it usually has less a chance of going wrong.

Since the second way is easiest, I'll start with that way. First, install Windows. You'll want to completely reformat your HDD, including your Debian install, while you do this. Once that's done, shrink the partition using Disk Manager in Windows for your Debian install and leave it unformatted. Then, install Debian to that empty partition. This way is easiest, as GRUB will take over Windows' bootloader, and have Debian and Windows listed.

The first way is as follows:

While in Debian, using Gparted, shrink the partition Debian is installed to, create a new partition, and leave it unformatted. Then install Windows 10 to that unformatted partition however you like (via USB is usually best), and let it format that partition whatever way it likes. Make sure it's that blank partition, otherwise you'll install Windows over Debian and you'll have to install Debian again.

Then you'll have both installs on your HDD, but Windows will have overwritten your GRUB bootloader and won't have Debian listed when you boot up. In this case, you have two options. You can use EasyBCD to create a boot entry in Windows' boot manager so you have options for both Windows and Debian, or you can reboot into a live Linux USB and reinstall GRUB and use that as a bootloader. I personally prefer GRUB myself when I dualboot Linux and Windows, but you can use whichever you like.
 
  • Like
Reactions: VinsCool

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
To add to what Tom said, you can easily install GRUB from a Live USB like so.
Code:
mount -t *fstype* (most likely ext4) /dev/sd* (replace with your Debian partition) /mnt
grub-install /mnt && grub-mkconfig -o /mnt/boot/grub/grub.cfg
It'll automatically generate a configuration file that detects both Windows and Debian. Also, out of sheer curiosity, what could you not run with WINE?
 
Last edited by Joom,

matpower

Messenger from Zero
Member
Joined
May 5, 2012
Messages
1,103
Trophies
2
Age
24
Location
Best state in Brazil
XP
2,594
Country
Brazil
If you have UEFI, you don't need to worry about installing Windows first, as both should have their own bootloader and not mess with MBR. Just use GParted to create some free space in your HDD and then install Windows 10 in that free space. By then it should should up in your UEFI boot menu as "Windows Bootloader", if you want to load it from Debian's bootloader (GRUB), run "sudo upgrade-grub" or something along those lines, os-prober should pick Windows's boot loader and add it as an entry in GRUB.

Also protip, Debian has old packages (not that old atm, but still), you can get a newer version of Wine with some patches here.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Gray zone warfare looks kinda cool
  • Psionic Roshambo @ Psionic Roshambo:
    Ohhh on one episode they could use rings to summon Captain Criminal who is just Obama like a spoof of Captain Planet lol
    +1
  • BigOnYa @ BigOnYa:
    Does look good
  • Psionic Roshambo @ Psionic Roshambo:
    By your powers combined, hmmm where is Epstein?
  • K3Nv2 @ K3Nv2:
    Just another shit fps clone
  • K3Nv2 @ K3Nv2:
    Thought it was some warzone dlc bs
  • Psionic Roshambo @ Psionic Roshambo:
    Looks like an enhanced Far cry 1
  • K3Nv2 @ K3Nv2:
    That's a far cry from it
  • BigOnYa @ BigOnYa:
    Is it a free to play bs, pay to get any good weapon/gear
  • K3Nv2 @ K3Nv2:
    Not free to play but $35
  • K3Nv2 @ K3Nv2:
    Inb4 kiiwii gives it a 0/10
  • BigOnYa @ BigOnYa:
    6/10 rating on steam
  • Psionic Roshambo @ Psionic Roshambo:
    I would like a Predator game "Kill Team" it takes place in the Jungle of the first movie, your team is sent to hunt the predator, using current tech drones and a trained team. Set traps use strategy to hunt and trap or kill the predator.
  • BigOnYa @ BigOnYa:
    Ill stick with my Battlefield. Yea a predator hunting game like that would be cool. Esp if you can be Arnold and say "Get to da choppa"
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe Arnold could do a cameo voice acting, he is the one briefing you on the mission
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Honestly surprised they didn't make a tie in game for Predators that movie was awesome
  • Psionic Roshambo @ Psionic Roshambo:
    I was kinda sad the Yakuza guy died sword fighting a predator lol
  • Psionic Roshambo @ Psionic Roshambo:
    The Russian guy went out like a boss
  • Psionic Roshambo @ Psionic Roshambo:
    Double claymores to the face definitely kill a predator lol
  • BigOnYa @ BigOnYa:
    I went today and looked at a motorcycle someone was selling. I get there and the battery on it was dead, so the guy grabbed a battery charger and hooked it up. He plugged it into the wall, and the motorcycle sparked and started smoking. Come to find out the bike uses a 6 volt battery and the guy had the charger set to 12v. I said sorry to the dude and walked away. I felt bad for him tho.
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds like it would be an exciting ride....
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure I would want something on fire between my legs
    Psionic Roshambo @ Psionic Roshambo: Not sure I would want something on fire between my legs