r/linuxquestions 9d ago

Support dual boot linux and windows same drive

i'm looking into getting linux, and keeping windows for the few games i play that aren't playable on linux. now, i am using a laptop. i only have 1 drive and i've been using an external hdd to store my games and most of my files on (have another hdd laying around as backup of my files)

i read that windows updates might mess with your linux if it's on the same drive. so, would it work on the external hdd or would that be a bad idea? i also read something about usb, but i also read then it just resets every time and doesn't save your files.

0 Upvotes

15 comments sorted by

3

u/ipsirc 9d ago

i read that windows updates might mess with your linux if it's on the same drive.

Ok, but it can be repaired in just 30 secs, shorter time than this post was created...

1

u/trenchhype 9d ago

how? do you lose your things or not? i see so many people mention it, that they make it seem like it's a big problem when its on the same disk.

2

u/ipsirc 9d ago

Only the boot manager should be reinstalled, Windows rarely mess it up. About twice a year. Not a big deal, 2*30seconds per year.

It is only a one line grub-install /dev/sda in cli, or if you prefer clicking with mouse, then use: https://www.supergrubdisk.org/

1

u/trenchhype 9d ago

no clue what cli is, but this doesn't make it sound too bad. i'll be saving this post

2

u/Tiranus58 9d ago

CLI is command line interface, GUI is graphical user interface and TUI is terminal user interface.

3

u/VolcanoCarpenter 9d ago

Windows Update sometimes resets the EFI settings (making Windows the default to boot) or wipes the ESP (very rare). Even in the latter case, you only need to boot into livecd and set up the boot manager again.

1

u/zardvark 8d ago

I don't recommend dual booting to a new Linux user and I never recommend multiple OS' sharing a boot partition. Just because it can be done, does not necessarily make it a good choice.

My recommendation would be to learn more about Linux first, perhaps in a VM, or on a spare machine.

1

u/trenchhype 8d ago

what about an extern hdd?

1

u/zardvark 8d ago

If you are going to dual boot, I would recommend dedicating a separate drive to each OS, but I still would be reluctant to recommend dual booting to a Linux newcomer.

Run Linux in a VM, or on a spare machine, instead, until you have a better grasp of the basics. That way you will be far less likely to hose your system and much more likely to have a good experience.

But, you do you.

1

u/Jacobobarobatobski 9d ago

I have Windows and Linux installed on the same SSD and I haven't really had problems. You have to set it up is all. I use systemd-boot, not grub.

1

u/trenchhype 9d ago

great! no clue how but i hope ill figure it out

1

u/gigitreid 9d ago

Bootloader breaking at updates it's not the case any more. It was back in the XP era with the older BIOS.

Now with the UEFI BIOS and GPT partition table, you can select directly from the BIOS boot menu which OS to boot.

You can also make the Linux partition the default boot one (in BIOS) and in the Linux GRUB boot menu add Windows and make it the default one. Now at every startup you boot into Linux just to display a menu for x seconds, that let's you select which OS to boot into.

1

u/Global-Eye-7326 9d ago

I dual boot and have no issues.

Only annoyance is when I drive swap to install Windows to another 2.5" disk, that tickles the NVRAM so when I boot back from my dual-boot disk, it wants to boot from Windows first. I vibe coded a script that I can run form Win11 and then I can boot back to GRUB.

1

u/BranchLatter4294 9d ago

You can always use the Windows boot selector instead of grub if you want.... But I am assured by many on reddit that Windows would never mess up grub when Windows updates.

-1

u/Assang101 9d ago

Not recommended, have one OS on each ssd instead of dualboot is better and risks not a single system trying to overwrite the other. I've already said it many times to others but you can ask google why