deleted by creator
Tip, just make a seperate EFI partition for Linux. That way, garbage Windows installer won’t be able to fuck up your install. Altough this assumes you’re running a non-shit EFI mobo that looks for things to boot in every partition.
And this is why you should install windows to a docker container on your server and not let it touch anything else. Link to GitHub repo.
In my case it wasn’t the boot entry being removed. It actually ate the partition. When installing Linux Mint, I resized the Windows partition in Linux. Then I noticed that Windows absolutely didn’t recognize that change, and thought its partition is still as big as it used to. Then on a restart it hit me with the “Repairing drive C:” which killed the Linux partition leaving just something corrupted.
“Repairing”Windows: “Let me repair Linux for you”
Ew, you’ve got a linux on your windshield, lemme just hit the wipers for you real quick
Have you tried first resizing the windows partition inside windows? That’s what I did and my dual boot has stayed intact
Yep, that’s what I did later and it worked.
I really hate that Windows does this. Which is why when I decide to switch a machine to Linux it’s the only OS allowed to boot to bare metal. Windows can go in a VM and suck it.
I want to do this so bad but gaming always stops me. Some anticheat refuses to let you play in a vm
Just install windows on a physically separate disk. It doesn’t eat other disks, but might take a bite of other partitions on the same disk (if NTFS is corrupted or misaligned).
Get a separate disk for windows and you can set up your windows VM to also optionally dual boot into it
That’s the way to go
Depending on your configuration, you can pass a gpu to your Windows VM so you don’t even lose any performance if you use Windows for gaming. All you need is an iGPU and a few extra cores/ram to handle the host overhead.
Not sure why, but your comment made me think about the first machine I switched to Linux. It was a laptop who’s fan eventually had a bad bearing and needed to be replaced. Luckily it was still under warranty, so I sent the laptop in to get the fan replaced, and received my laptop back with Windows installed on it… I was so livid.
Had something similar happen to me. Something unrelated to the OS or hard drive and they reformatted my drive and I lost everything. I was ballistic when I found that one out.
That pissed me off
Never send them the drive.
They are probably required to boot to the desktop for qa
Yup, exactly what they said. But I didn’t know any better at the time. These days I would just fix that myself rather than send it to them
Yeah, it’s a once in a lifetime thing lol, but it’s better to put that out on the off chance someone reading it may have to send one in.
I hate to say it, but unless they’re corporate machines or you put it together yourself, computers are basically disposable these days.
Yeah, that is really sad. I’m actually due for a new laptop soon, I’m just very thankful that Framework exists now.
Cheeky way to get windows for free?
Just install it without a key.
I mean if you already bought the computer, they’re really just giving it back to you and I’m pretty sure you can just download it.
I was mostly being snarky. Windows only comes preinstalled if you buy a full setup. All my stuff is either Mac laptops or custom towers so I always have to acquire a new windows license when I setup a new build for myself or my partner
No, yeah I was just being snarky too. I guess builders(probably gamere) are the only real retail windows buyers lol
I have the opposite problem. I don’t often boot to windows, but when I do, BitLocker is not happy that I’ve been talking to another operating system.
I assume secure boot is off and your Windows drive/partition is encrypted.
This is what made me jump the gun.
I think the phrase you want is “pull the trigger”. “Jump the gun” means to do something too soon, whereas “pull the trigger” means to do something after a wait.
Protip:
Just don’t have a live Windows partition.
This. I entirely understand that some people don’t have that option, but it’s worth reiterating that if you have a choice, you’re best off not to have partitions at all.
I run Mint on an 8-year-old Mac desktop machine with no partitions and it’s lightning-fast for everything I need it to do.
It’s also worth mentioning that I have said desktop machine because my wife is a pro photographer and Apple and Adobe have colluded for decades to create a kind of “planned obsolescence” whereby professional photographers are ostensibly locked out of the current industry standard unless they run a very recent version of Photoshop that by design isn’t compatible with hardware architecture that’s more than about 5-years-old.
Partitioning is good even if you’re just running Linux. Specifically separating your / from your /home/ – In case shit goes wrong you can nuke the OS side and keep all your files and shit. (also, mandatory for UEFI systems cuz you also need a /boot/efi partition)
Cheryl Blossom? Anyone?
Image Transcription:
White text on a black background reading
'Me: *Dual booting windows and linux.
'Windows: *Updates itself.
'Me: Where is the linux partition?
‘Windows:’
Below the text is the Daenerys Targaryen Squint meme showing Daenerys Targaryen from Game of Thrones squint smiling. Over the image is the text ‘“dunno!”’
[I am a human, if I’ve made a mistake please let me know. Please consider providing alt-text for ease of use. Thank you. 💜 We have a community! If you wish for us to transcribe something, want to help improve ease of use here on Lemmy, or just want to hang out with us, join us at [email protected]!]
What? Windows kills other partitions during update?
Windows likes to mess with the EFI partition on updates, scrweing up bootloaders. That you can prevent by separate EFI partition on another disk, This way Windows doesn’t see the other efi files to boot. But when it feesl really obnoxious, it also edits your EFI table and sets itself as the default. That doesn’t actually damage your linux boot files, but you still need to log back with some bootstick and revert the change, to make your bootloader/menu the default again.
That’s the reason people often switch to Windows only as a VM (there are even solution to passthrough a dedicated graphics card just for Windows, if that’s for gaming) after some time. Because Windows is actively working against other OS’s on your computer.
In a way their Secure Boot bullshit is nothing different. Get vendors to include MS keys by default, then pretend that Windows is somehow more secure because you need to deactivate Secure Boot to install soemthing else (who cares that one key on every machine is not exactly secure, even more so as MS keys were already found in the wild in malware so they don’t even know how to not lose them…)
Secure boot is the main reason I gave up dual booting on my desktop. Just couldn’t be fucked to keep turning it on and off every time. (I have an Nvidia GPU, kernel driver signing, updates, etc. tldr, fuck nvidia)
I’ve never personally experienced that. But it’s been Windows replaces the bootloader which is typically grub with their bootloader and Windows’ bootloader doesn’t default to letting you choose your OS like grub does.
So when you update Windows and restart, it has reset the settings for the bootloader as their own default bootloader which defaults to Windows. You then need to go in and replace grub as the default bootloader so you can once again select your OS.
Anticompetitive behaviour from microsoft??? gasp
No, Windows is just setting the computer up for users who don’t typically change anything in the bootloader.
I can confirm. It does this I think if both OS are on the same disk, probably share bootloader. Never happened when I used separate disks.
Is there a grub installer that runs under windows? (no spell checker I refuse to capitalize windows)
I’m not sure, to be truthful. Never looked into it! But even if one exists, I’m sure what Windows is doing during an update is grabbing its own bootloader and either installing it or just hitting the switch to set it as the default bootloader.
I say all that to say, that even if there is a grub made specifically for windows, it likely wouldn’t fix this problem. To ultimately get around this, a user would have to change the features in the Windows update, which I believe is possible since I know some installations exist that remove features from Windows during an initial OS install.
But I do believe that Windows’ default bootloader can boot into a Linux OS too. It’s been a while, but I have seen where you can choose different versions of Windows if you have them installed dual boot on the same machine. Where the bootloader will ask whether you want Windows 7 or Windows 10 to boot into. I believe Linux OS installs show here too, but I could be wrong. The problem is really that the bootloader doesn’t show by default so the user doesn’t know a second OS exists on the same disk. If Windows’ bootloader showed by default and let you choose your OS to boot into, I don’t think we’d have the issue OP’s meme shows except with it hiding grub or another non-Windows bootloader.
If you’re using UEFI there is nothing to reinstall. The installed bootloaders are still there in the UEFI partition, Windows just changed which one is set as the default. There are tools you can use, such as EasyUEFI (if I remember correctly), to revert the default to Grub or refind or systemd-boot, whichever you’re using.
What about stop making bullshit posts? Windows have never did that to me, and there’s no reason why would it touch any partition aside from its own and (if it exists) the Windows boot one.
That said, It MIGHT replace MBR boot record but I don’t know if that’s very likely these days. I remember upgrading from Windows 8 to 10 and Windows left my MBR alone, and I was able to boot to GRUB just fine.
deleted by creator
Calling someone out on their bullshit can do that to a person.
If you install Linux first and then Windows on the same drive, it will fuck up your bootloader.
You can easily make Grub boot Windows, so just overwrite whatever fuckup Windows made, or install Windows first.
It won’t happen with a simple update, though, that’s for sure. Maybe if you’re upgrading Windows to a new major release.
Noooo, not the heckin windorinos, s-stop bullying the multibillion dollar company g-guys ;-;
Someone having money isn’t an excuse to not call out poor behavior against them. Making nonsensical posts that are not even accurate from an IT perspective helps no one. At best, it’s just lies to get fake internet attention, at worst, it exposes a lack of understanding of the technology.
Lol didn’t read
deleted by creator
Windows users are lolcows bro, just farm them for lulz.
Did we just collectively travel 15 years back in time?
Not everyone here is a Lemmy user. I just don’t like people making idiotic comments. There’s plenty do criticize about Windows without having to make stuff up due to lack of IT knowledge. If you claim calling out someone’s incorrect IT knowledge as a defending Windows, that’s just you being an idiot and knowing nothing of IT.
It’s amazing, bro that you expose your woefully inadequate knowledge. If you want to troll, don’t pretend to be anything else.
deleted by creator
It doesn’t though. At best, it messes with the boot record (which has been mentioned) which isn’t deleting a partition. Windows can’t delete a partition it doesn’t actually use.
You can continue your inability to understand the actual details of what you’re talking about. I’m not defending Windows. I’m defending telling the truth about PCs. You can continue your fanboyism and inexperience with operating systems and hard drives.
deleted by creator
Are your comprehension skills that of a four year old?
Inventing FUD is a bad look regardless of if you’re punching up or punching down. It’s not about who the target is. It’s that FUD is inherently dishonest, and being dishonest reflects poorly on your character.
The Linux community should try to be better than that. We shouldn’t stoop to Microsoft’s old level.
Admittedly, I haven’t set up a dual booted Linux machine in about a decade, so I don’t know if it’s gotten dramatically worse.
Good meme, I like it. Windows blows. :)
Windows only updates the bootloader, it doesn’t touch Linux partitions. After an update you just have to fix the bootloader again which isn’t too hard if you know how it works.
deleted by creator
I’m sure it varies a lot, but you should be able to enter bios setup and add a boot option. There may be a file browser type popup and you can add the known file as a boot option. Right now it may be looking for the old file location on the current windows boot option you have.
I’d argue one shouldn’t even be messing with dual booting if they don’t understand much about the bootloader.
My counterpoint would be how does one best learn about anything if not by messing with it
As in tradition - mindset. Getting on Linux requires a certain mindset, and this gets more and more true the weirder and more involved whatever it is that you are planning to do gets.
The best way to learn how it works is to mess with it. I have reinstalled my Surface Go 2 numerous times because I messed something up. After leaving Windows I have used dual boot with Arch and Chrome OS for a while, and now I just use Arch including secureboot enabled.
For this reason, I put Linux on an NVMe drive and Windows on an old SSD. Seems to prevent it.
I do it too, but the essence is not to share a drive with Windows. Just use a second drive. It’s also better to select the boot drive using BIOS/UEFI.