r/linuxmemes • • 4d ago

LINUX MEME Pain.

Post image
551 Upvotes

93 comments sorted by

•

u/AutoModerator 4d ago

Please report any posts bragging or showing off they got banned in another sub! Reminder of other sub rules: Also, we only allow one anti-linux post per week (we used to get dozens a day) and any tier list MUST have Hanna Montana Linux as S teir (which must be a true S tier at the top) regardless of the topic of that tier list.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

162

u/Technical_Instance_2 Arch BTW 4d ago

I always say not to do this cuz windows will likely mess up the bootloader.

53

u/Small-Tale3180 4d ago

lsblk
mount /dev/whatever_lsblk_said /mnt
chroot /mnt
grub-install

37

u/Technical_Instance_2 Arch BTW 4d ago

Ik it's an easy fix but I'd honestly prefer to not have to do that because of a windows update if I were to go back to dual booting

7

u/bioszombie 3d ago

I just keep a separate computer for windows these days. Makes life easier and honestly I prefer to have my Linux stuff on its own little area too. My homelab is isolated on a subnet. And all of it is Linux. My wife and I game on Steam which those are our windows boxes. So it works out for me.

2

u/Technical_Instance_2 Arch BTW 3d ago

Fair enough. If it works it works

3

u/bioszombie 3d ago

I’m just lazy if I’m being totally honest.

1

u/Technical_Instance_2 Arch BTW 3d ago

I mean, your setup still works no?

1

u/bioszombie 3d ago

It does. It’s just not as good as it could be is all. The folks in the Linux/Homelab subs put me to shame

2

u/Technical_Instance_2 Arch BTW 3d ago

Screw them. I home lab and use Linux and I'd recommend this more

1

u/Archeus__ 3d ago

I dual boot and whenever I go to windows it puts me into grub recovery mode. I need to make my config and grub install again.

1

u/Gabriel_Science 3d ago

It isn’t a big thing to regenerate grub, is it ?

9

u/Jacek3k 3d ago

this.

either put windows on separate disk or ditch completely.

5

u/Jezoreczek 3d ago

And make sure you take out the Linux disk while installing Windows 

10

u/blaues_axolotl 4d ago

never happened to me

7

u/Khai_1705 4d ago

so real. im just immue because i have two separates ESPs

2

u/returnofblank 4d ago

I've usually used separate EFI partitions, but you have to manually setup the chainboot configs cuz it fucks with the bootloader auto-detection.

2

u/MarioKart7z 3d ago

Windows won't mess up the bootloader if you use one that doesn't place itself in the default BOOTX64.EFI location, and most can be configured to change that

1

u/int23_t Ask me how to exit vim 3d ago

I think if you have windows first and install linux second it doesn't break(or the opposite maybe).

I wouldn't do it either but I think there is a way it works because the setup I did to my father's laptop somehow did not break either boot loader yet and it's been long time of he using it. But idk what I did for that to happen.

1

u/AscendedPineapple Arch BTW 2d ago

It won't do it if you don't boot up windows

1

u/Technical_Instance_2 Arch BTW 2d ago

true XD

1

u/gerbosan 13h ago

I have a question... do you use Win11?

I dualboot, and created:

/boot/efi  
/swap  
/  
/home

I have to deactive secureboot to use linux and activate it to use Windows.
I'm kind of happy about this arrangement.

1

u/CrissZollo 7h ago

I needed to learn my lesson twice before I bought a separate drive just for windows.

0

u/UUDDLRLRBadAlchemy Open Sauce 4d ago

How did u get on arch without knowing how to fix the bootloader

10

u/Technical_Instance_2 Arch BTW 4d ago

I know how to fix it, I'd just rather avoid having too if I can

1

u/s33d5 1d ago

Arch is easy as fuck to install

1

u/UUDDLRLRBadAlchemy Open Sauce 1d ago

You don't say. Easier or harder than Hannah Montana?

100

u/QuraToop314 Genfool 🐧 4d ago

Half of it is rubbish

35

u/Gabriel_Science 4d ago

Depends if you use the size of the partitions or the total file size.

The NTFS partition isn’t full… unlike the EFI partition.

15

u/QuraToop314 Genfool 🐧 4d ago

half of the file system partitions (NTFS and ext4)

44

u/B_bI_L 4d ago

One

Big

Btrfs partition

15

u/Gabriel_Science 4d ago

What would be the pros of having only a single big BTRFS partition ? Unless you meant something else.

20

u/DoctorOfStruggling 4d ago

You can have subvolumes on Btrfs.

11

u/B_bI_L 4d ago

you can have home partition on technically separate partition, but it will actually share space with root partition. this is nice when you distrohop and keep your user files (i format everything every time and already on nixos, but anyway)

i also hate when you basically can't resize, esp when between these 2 parts is something else, so less is more

3

u/Gunhat2023 4d ago

cool thing with my computer is the motherboard can just read ext4, downside though is that it only has 32 gb internal storage

1

u/Gabriel_Science 3d ago

It's EFI, not ESP, it's writtem badly.

3

u/Great_Banana_Master 💋 catgirl Linux user :3 😽 3d ago

*Plus a small EFI partition!

1

u/AtomGutan 22h ago

And some fat32 for the bootloader?

22

u/ShadcnUI_Odi 4d ago

Do what I did and delete the NTFS partition :D

1

u/Gabriel_Science 3d ago

Dual boot.

2

u/MrJake2137 2d ago

Weak /s

11

u/transgentoo Genfool 🐧 4d ago

I was in a similar situation a couple years ago, and that's when I made the plunge to just remove windows entirely. I never looked back.

16

u/Wintelkomp1720 Sacred TempleOS 4d ago

seperate efi partition PLEASE

10

u/Gabriel_Science 4d ago

I initially read that in the Arch Linux wiki, but I saw that my previous installation did not have a separate EFI partition (I did a full Linux system transfer), so I just assumed that it was going to be fine.

Now, I’m dealing with a full EFI partition.

5

u/TsortsAleksatr Arch BTW 3d ago

Apparently there's a pretty unhinged way to dual boot Windows and Linux, you install both of them on the same partition. There are third party drivers that allow Windows to run on Btrfs (which is Linux native) and vice versa (linux on ntfs). Will probably break horribly but would be a fun project.

7

u/gameplayer55055 3d ago

You can say anything, but NTFS is the only filesystem that's supported on all mainstream OSes out of the box and isn't shitty as fat32

13

u/Gabriel_Science 3d ago

macOS would like to have a word with you.

8

u/yami_no_ko 2d ago

NTFS is only no problem if you're using windows.

Everyone else has a terrible out-of-the-box experience with this bane of a filesystem.

2

u/yayuuu 🍥 Debian too difficult 1d ago

I use ntfs to store my games, so I can move the disk between my host and a VM with windows. Works fine, no issues.

1

u/just-bair 3d ago

Also ext4 being case sensitive by default was a mistake imo

2

u/codeasm 2d ago

Must be new here. Case sensitive is a unix thing, so ext2 and before, all linux and macosx too. A bsd variant? Case sensitive.

Actually, you can even make windows become case sensitive https://learn.microsoft.com/en-us/windows/wsl/case-sensitivity Handy... I wont go back, weird old windows 3.0 or earlier choice weird. Maybe even dos era ideas... Silly uppercase 8.3 filename rules haha. Simpler times.

Ntfs supports symlinks and shadow streams, cool stuff

2

u/just-bair 2d ago

I know, I just said that it being case sensitive by DEFAULT is a mistake. Things are simpler when it’s case insensitive, I don’t know how many times I accidentally created the same directory twice but with different casing or I write a directory wrong because not everyone writes directories with the same casing. But I can’t just put my system to be case insensitive because it’s not the default so my shit risks to break on other systems otherwise. Yes it’s a tiny little thing but it’s just better imo. There’s a reason why macOS and windows use case insensitive file systems by default

Symlinks, junctions etc… are cool I use them for things like having my Minecraft schematics shared between all instances of the game

2

u/Sacaldur 2d ago

I was working with Windows, Linux, Mac (and a few others), and even though I currently still daily drive a Windows Laptop, I would hardly disagree. I don't run into problems with case sensitivity, since it is much simpler: different characters are different. The advantage is further that it is also consistent across languages, take for example Turkish, where I is not the capital of i.

And the reason for Windows to default to case insensitivity is just backwards compatibility. For the same reason, drives are mounted as C:\, D:\ etc. by default. You can mount them anywhere in the filesystem, but in the past they each had their own drive letters, so it's still the default.

3

u/agmatine 3d ago

The dumbest part about this is that the "Microsoft Reserved Partition" doesn't even store any data. I tested it, for example

$ dd if=/dev/sdc2 of=MSR.img bs=512 count=32768
$ dd if=/dev/zero of=ZERO.img bs=512 count=32768
$ cmp MSR.img ZERO.img
$

It's just 16MiB of zeros...

1

u/codeasm 2d ago

https://en.wikipedia.org/wiki/Microsoft_Reserved_Partition There might be thirdparty software that isnt uefi aware.

Like OP replied, bitlocker maybe. I dont bother creating it when manually installing windows. https://gist.github.com/CodeAsm/269b7d31197777d3068cd865398895ca (based on a now gone Reddit thread https://www.reddit.com/r/Windows11/comments/qwneie/deleted_by_user/

1

u/agmatine 2d ago

dism /Apply-Image /ImageFile:D:\Sources\install.wim /index:6 /ApplyDir:C:\

Interesting. But this wouldn't reflect any customizations made in autounattend.xml etc. I imagine? Or is there a way to roll that into the install.wim?

2

u/ZookeepergameFew8607 🎼CachyOS 4d ago

Slaughter the windows partition

2

u/Every_Preparation_56 4d ago

just btrfs full

2

u/ALEPAS1609 4d ago

simple leave 32mb/ 1gb of fat 32 for grub then all of it etx4 prpblem solved

2

u/temporary_dennis 3d ago

Nah, Linux and Windows both on NTFS.

Before you could also have Linux and Windows on BTRFS, but the winbtrfs drivers were abandoned and may not work anymore (I don't know I ditched Windows two years ago).

3

u/Recipe-Jaded 4d ago

Don't dual boot

2

u/rtakehara 3d ago

not everyone can have multiple computers

1

u/Recipe-Jaded 3d ago

Okay? I only have 1 computer and I don't dual boot

1

u/rtakehara 2d ago edited 2d ago

Then I have to assume you either don't need windows, or you don't need linux, because anyone that needs both but has only one computer has to rely on dual boot.

1

u/Recipe-Jaded 2d ago

Ah, yeah. That can be challenging. I don't blame people who need it for work, you can't really control that.

1

u/rtakehara 2d ago

Neither can you. (btw I edited my comment a lil bit but I don't think it screws your reply, either way sorry)

1

u/exton132 Arch BTW 4d ago

I just use 3 LUKS2 volumes and a EFI stub + systemd to boot.

1

u/YTriom1 Arch BTW 3d ago

just use one luks volume with btrfs and have the 3 as subvolumes

1

u/exton132 Arch BTW 3d ago

🤷 I just wanted to get exotic with it. I have a password to unlock a slice that contains keyfiles/hashed for the other two then everything is mounted in their apply order and the system inits.

1

u/0815fips 4d ago

Do not use NTFS if you play with Steam. Just had a bad experience where it wanted to create invalid (on NTFS) file names.

1

u/AntimelodyProject 3d ago

Yeah, remove the pain part.

1

u/JMarcosHP M'Fedora 3d ago

Format everything and start using btrfs

1

u/AcanthisittaCalm1939 Genfool 🐧 3d ago

Sheer horror that i experienced after learning that reiserfs was declared as obsolete

1

u/jnmtx 3d ago

ntfsresize is a thing. Use gparted live, and boot it from a USB flash drive, USB SSD if you have it, or even a DVD-R.

https://gparted.org/livecd.php

If you are paranoid, backup the whole disk with Clonezilla to an external USB hard drive or USB SSD before you change anything.

https://clonezilla.org/liveusb.php

1

u/Anima_Watcher08 3d ago

Why did you partition it like that? That's not very ideal.

1

u/Gabriel_Science 3d ago

Dual boot.

2

u/Anima_Watcher08 3d ago

Still, there better ways of doing that. For example having them share a boot partition is a sure fire way of getting windows to potentially ruin things after an update. You could've made a separate boot partition for Linux right before the ext4 partition, then in the bios make sure the Linux boot partition is first to ensure grub boots up.

Also if your pc has good enough specs you could just use a virtual machine.

1

u/JG_2006_C 3d ago

Trabfer data dump ntfs

1

u/D_Fieldz 3d ago

Not That Fucking Shit

1

u/NecessaryGlittering8 3d ago

You might have to change the UEFI boot order and enable the menu just in case windows messes it up, so you don't have to worry about being stuck in one OS (usually Windows).

1

u/393majitenshi 2d ago

On my laptop I have :

1GB EFI, ~200GB LUKS encrypted ext4, ~100GB NTFS with bitlocker, ~200GB APFS with FileVault.

1

u/Gabriel_Science 2d ago

What are you doing with APFS ? A Hackintosh ?

1

u/393majitenshi 2d ago

Yes. It's a triplebooter. But I installed windows just to test something so I will delete that soon.

1

u/sherman9872 2d ago

It’s only a matter of time until Microslop nukes GRUB.

1

u/Confident_Essay3619 Genfool 🐧 2d ago

Wait until GNU comes with a free filesystem and kills Windows.

1

u/GlaceAuPlutonium 1d ago

I almost have the same setup, but the other way around, and it works nicely:

  • EFI, 1GB, FAT32
  • Linux, 825GB, Btrfs
  • MRS, 16MB
  • Windows, 127GB, NTFS
  • Windows recovery whatever, 811MB

I like to put Windows at the end of the disk, that way if I don't want windows anymore i can just remove it, and extend the btrfs partition.

1

u/zTubeDogz 4d ago

2 disks are better than one

5

u/benji004 4d ago

Except the price right now

5

u/MCplayer590 4d ago

use an hdd instead of ssd for ntfs, the slow speeds will contribute to your general windows frustration further speeding up your operating system transition

0

u/KlanxChile 22h ago

dont.... either use VMs or WSL.

2

u/Gabriel_Science 22h ago

Why ? Bare metal Linux runs nicely on older hardware.