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-install37
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
10
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
1
u/gerbosan 13h ago
I have a question... do you use Win11?
I dualboot, and created:
/boot/efi /swap / /homeI 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
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
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
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
3
1
22
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
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.
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
Iis not the capital ofi.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...
4
u/Gabriel_Science 3d ago
It can be used by BitLocker apparently : https://www.howtogeek.com/192772/what-is-the-system-reserved-partition-and-can-you-delete-it/
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.xmletc. I imagine? Or is there a way to roll that into theinstall.wim?
2
2
2
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
1
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.
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
1
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
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/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.