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,580
Trophies
2
Age
29
Location
I forgot
Website
POCKET.LIKEITS
XP
19,253
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,600
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
  • Psionic Roshambo @ Psionic Roshambo:
    My 1500ish games is all hand picked and scraped it's taken me months but zero trash well except MAME.... Tried deleting clones and broke the originals uugghh
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I legit have been complaining about MAME for over 20 years... Hate the way they handle roms
  • BigOnYa @ BigOnYa:
    Yea is a pain sometimes
  • Psionic Roshambo @ Psionic Roshambo:
    Now that they decided to add Tiger handheld and fruit machines.... Newer sets are worthless
  • Psionic Roshambo @ Psionic Roshambo:
    Because who doesn't want to emulate Halo LCD by Tiger when the machine needed to emulate it... Could just play Halo....
  • K3Nv2 @ K3Nv2:
    Batocera has some tiger games
  • Psionic Roshambo @ Psionic Roshambo:
    I don't have them on mine Ken lol
  • K3Nv2 @ K3Nv2:
    Waste of the 128kb they take
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Tiger handhelds are good for one thing.... Occupying space in a landfill
  • K3Nv2 @ K3Nv2:
    They make good burning plastic
  • BigOnYa @ BigOnYa:
    Makes me wonder if the Pi5 can play PS2? If there's even a core for it yet.
  • K3Nv2 @ K3Nv2:
    Pi5 should be able to do ps2
  • Psionic Roshambo @ Psionic Roshambo:
    Try Dragon Quest VIII it ran perfectly on a core 2 Duo I had
  • Psionic Roshambo @ Psionic Roshambo:
    Easiest game to run I found
  • K3Nv2 @ K3Nv2:
    Ps2 emulation is cake compared to 3 years ago
  • Psionic Roshambo @ Psionic Roshambo:
    Hardest is probably Gran Turismo 4
  • Psionic Roshambo @ Psionic Roshambo:
    It's much better now yes but Gran Turismo 4 is still the hardest one to emulate that I have in my collection
  • Psionic Roshambo @ Psionic Roshambo:
    Runs perfectly fine but it's as if I can feel it always on the boarder line of dropping a frame lol
  • BigOnYa @ BigOnYa:
    I ordered a spin ball couple days ago to add to my arcade cabinet, will be nice for games like golden tee, or bowling
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted a controller for like Ikari Warriors, Time Soldiers, Heavy Barrel, Forgotten Worlds games like those
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not even sure what to call that controller
  • Xdqwerty @ Xdqwerty:
    an online friend I've known since 2021 left me :( bc my attitude is "cutty"
  • Psionic Roshambo @ Psionic Roshambo:
    Sylvester Stallone should have played Kyle Reese lol Arnold still as the Terminator
  • BakerMan @ BakerMan:
    TF DOES "CUTTY" EVEN MEAN?
  • Xdqwerty @ Xdqwerty:
    @BakerMan, he is peruvian so it's probably an idiom
    Xdqwerty @ Xdqwerty: @BakerMan, he is peruvian so it's probably an idiom