|
WattsvilleBlues posted:Thinking of dual booting a Linux distro alongside Windows 11. I didn't think it was feasible since I have BitLocker enabled with Windows, but Copilot tells me I can disable BitLocker, give Linux its own partition and install, then re-enable BitLocker when I log into Windows. Yes you can do it, and yes there are problems. The only reason to turn off Bitlocker during install is that the linux installer can't resize an encrypted partition. You should be able to shrink the main windows partition from inside windows, using disk manager, without disabling Bitlocker. Then just point the linux installer at this new empty space, and you won't have to wait for hours while your drive is un- and then re-encrypted. The further and larger problem is that you can't easily chain GRUB -> Windows bootloader with Bitlocker, if you're using TPM keys. Every time you do that Windows will get mad and ask for the full recovery key. (There's legit security reasons for this, but it's a PITA.) So the easiest and most straightforward way to select which OS you want -- GRUB menu at boot -- is no good. What you can do instead: 1. Use the UEFI to select which OS to boot. There will be some key you can press at boot (on my MSI mobo it's F11) to get a boot menu. 2. Use the windows bootloader as the main boot device and add a Linux option to the Windows BCD. Uh, I don't know exactly how to do this, I only know that it's possible. It was a thing people were doing at one point when windows was constantly overwriting GRUB during updates. edit: possibility 3 is change from using TPM keys to using bitlocker with a regular password. This is less secure, but if this is a personal PC and your main reason to bitlocker is general privacy / theft insurance, it's not a huge deal. Klyith fucked around with this message at 19:22 on Apr 10, 2024 |
# ? Apr 10, 2024 19:17 |
|
|
# ? Jun 6, 2024 06:16 |
|
Ugh, this PC is used by my wife too so I might have to abandon the idea. She works from home sometimes and I don't want to potentially mess up her entire day with something not agreeing with Windows and Linux.
|
# ? Apr 10, 2024 20:53 |
|
How many disks does your PC have? During the brief transition period where I "dual-booted" Windows and Linux I simply cheated by installing Linux on one disk and Windows on another, and using the BIOS boot drive selection to choose OS at power on. No bootloader nonsense to worry about that way. Make the Windows disk the default boot device in the BIOS (and don't ever change it) so your wife can keep using the computer as usual, then when you need to use Linux reboot and press whatever the "boot drive temporary override" shortcut key is for your motherboard and select the Linux disk.
|
# ? Apr 10, 2024 21:18 |
|
You can do that with a single disk and UEFI boot selection too, such as per the earlier post.
|
# ? Apr 10, 2024 21:19 |
|
WattsvilleBlues posted:Ugh, this PC is used by my wife too so I might have to abandon the idea. She works from home sometimes and I don't want to potentially mess up her entire day with something not agreeing with Windows and Linux. I dualboot a couple of my machines and for this reason they all default to windows if one doesn't choose otherwise. I have not had issues with bitlocker being rude to me, but I can't tell you if I did anything special to achieve this. I have done the "point to Linux from the windows bootloader" version once, I probably followed the info on the arch wiki: https://wiki.archlinux.org/title/Dual_boot_with_Windows#Using_the_Windows_Vista/7/8/8.1_boot_loader Not sure how/if this works with win 10/11 though.
|
# ? Apr 10, 2024 21:19 |
|
Subjunctive posted:You can do that with a single disk and UEFI boot selection too, such as per the earlier post. I'm sure you can, but bootloaders and UEFI are all black magic to me, and all the horror stories of Window's installer ruining people's Ubuntu partitions and vice-versa from long ago have put me firmly in the "don't know, don't really care to learn if some dipshit OS installer can just ruin everything anyway".
|
# ? Apr 10, 2024 21:28 |
|
Well that's the end of that little thought experiment. Thanks anyway goons!
|
# ? Apr 10, 2024 21:33 |
|
WattsvilleBlues posted:Ugh, this PC is used by my wife too so I might have to abandon the idea. She works from home sometimes and I don't want to potentially mess up her entire day with something not agreeing with Windows and Linux. The UEFI boot selection method should be highly resistant to Bitlocker shenanigans -- if you have Windows as the default then the only way to enter linux would be pressing a special key at boot. However if someone else needs to use the PC with Windows than I'd agree on abandoning the idea regardless of the bitlocker situation. Rebooting all the time is a hassle, and my experience was always that in the absence of a compelling reason I'd avoid the reboot and just use the windows side. The pattern was always install linux, spend time getting everything set up, switch back to windows to do work or play a game, and gradually stop rebooting to linux. IMO dual boots kinda suck. It was a good way to dip a toe in the water a decade ago but VMs are better for that now. Storm One posted:I'm sure you can, but bootloaders and UEFI are all black magic to me, and all the horror stories of Window's installer ruining people's Ubuntu partitions and vice-versa from long ago have put me firmly in the "don't know, don't really care to learn if some dipshit OS installer can just ruin everything anyway". That was way more of an issue from the MBR-BIOS days, UEFI has really improves those matters. The black magic works like this: EFI partitions are FAT with some defined folders and a .efi file. You can have any number of EFI partitions and .efi files. The BIOS looks through all the disks for partitions marked with the special EFI ID, makes a list of all the valid .efi files, and lets you pick one. So you can have multiple bootloaders on a single disk and each OS can have its own, which makes them much less liable to gently caress with each other.
|
# ? Apr 10, 2024 21:37 |
|
WattsvilleBlues posted:Well that's the end of that little thought experiment. Thanks anyway goons! Just virtual machine it? Unless you have a lovely processor and ram you can run a decent Linux desktop in a VM.
|
# ? Apr 10, 2024 22:28 |
|
systemd-boot supports booting windows with bitlocker by using BootNext efi variable
|
# ? Apr 10, 2024 23:35 |
|
i think it would be more efficient to get rid of wife?
|
# ? Apr 11, 2024 02:44 |
|
Worf posted:i think it would be more efficient to get rid of wife? Hans Reiser, is that you?
|
# ? Apr 11, 2024 02:54 |
|
xzzy posted:Hans Reiser, is that you? That was an easy one. Too easy.
|
# ? Apr 11, 2024 03:04 |
|
WattsvilleBlues posted:Well that's the end of that little thought experiment. Thanks anyway goons! Have you looked into WSL? Not sure what Linux specific things you want to play with.
|
# ? Apr 11, 2024 07:34 |
|
Volguus posted:That was an easy one. Too easy. Maybe, but they killed it.
|
# ? Apr 11, 2024 12:17 |
|
You could always just disable BitLocker. If this is a desktop in your house, the threats it protects against are not super likely, and kind of pale compared to everything else they can do given unfettered access to everything in your house in the first place.
|
# ? Apr 12, 2024 00:15 |
|
mmkay posted:Have you looked into WSL? Not sure what Linux specific things you want to play with. Windows Subsystem for Linux? I've heard of it but have no clue what it is or how to use it. There's nothing I need Linux for, I just like to try new things. VMs may just suffice for now though. My machine is a Ryzen 5600x, 16GB RAM on an NVMe drive. Performance even only giving the VM two cores and 4GB RAM is surprisingly decent for mucking around with.
|
# ? Apr 12, 2024 02:03 |
|
Computer viking posted:You could always just disable BitLocker. If this is a desktop in your house, the threats it protects against are not super likely, and kind of pale compared to everything else they can do given unfettered access to everything in your house in the first place. I know it's unlikely to have it stolen but there are some work-related documents onboard so I do want to keep the disk encryption.
|
# ? Apr 12, 2024 02:04 |
|
Didn't see it mentioned so apologies if it was suggested but you can install pretty much any distribution completely isolated on a USB device (thumbstick or larger). That way you can leave Windows and all of it's partitions + bootloader pristine while you fart around. I actually used a Sabrent NVME enclosure for a while on a motherboard where the M2 slot was dead with a Debian install and had no complaints.
|
# ? Apr 12, 2024 02:12 |
|
WattsvilleBlues posted:Windows Subsystem for Linux? I've heard of it but have no clue what it is or how to use it. It's a built in Linux VM that's a button click away. CLI is 100% Linux, GUI apps are embedded in magic Microsoft windows, there's an automatic two way mount point for your files. Some apps have additional WSL integration, for example VS code can connect to projects in WSL without a hitch, others like pycharm have paid versions that do the same but you can just install a Linux version, create a Windows shortcut to it and it works anyway. It's great. I think the default distro is Ubuntu, but you can maybe change it? Unsure about that one.
|
# ? Apr 12, 2024 06:34 |
|
WattsvilleBlues posted:Windows Subsystem for Linux? I've heard of it but have no clue what it is or how to use it. Just throw more cores at it if you find it laggy, and set up usb pass through for peripherals and shared folders to the windows instance if you want to access stuff on that. It's probably the safest solution if you are worried about breaking your wife's system.
|
# ? Apr 12, 2024 09:48 |
|
mmkay posted:I think the default distro is Ubuntu, but you can maybe change it? Unsure about that one. There's not a default anymore. You enable WSL in the system and then pick a distro from the Windows Store. Being a professional RedHatter, I use Oracle Enterprise 9.2. Works the same, including installing EPEL. The trick is making sure WSL2 is enabled before installing, which has a couple of extra steps. There's even a distro on there that uses docker/distrobox to give you a ton more OS choices than the store. I use that for when I want Fedora.
|
# ? Apr 12, 2024 12:05 |
|
i missed being excited about kernel and os updates (lmfao) and stuff like explicit sync coming means I don't have to go back to windows again...
|
# ? Apr 13, 2024 18:03 |
|
Can't wait to upgrade my PC so I can actually run Linux again efficiently. Ever since Kubuntu started having the same suspend issues Endeavour had, I wiped it and tried to install some other OSes like Fedora and VanillaOS (which I'm especially intrigued by), but I can't get them to boot at all. I think something may very well just be borked with my motherboard at this point or something, who even knows.
|
# ? Apr 13, 2024 18:31 |
|
AlexDeGruven posted:There's not a default anymore. You enable WSL in the system and then pick a distro from the Windows Store. I dunno if things have changed in the last year but WSL2 Ubuntu sure seemed at least more well supported. I tried to do CUDA stuff in WSL2 Debian, turns out that just wasn't supported the same way it was in WSL2 Ubuntu.
|
# ? Apr 14, 2024 04:17 |
|
Hit a thing on friday night that made me so at Manjaro that I decided this weekend was the time to switch distros. Now on suse tumbleweed. Welp. Blamming my user profile straight into what was both a change of distro and an upgrade from KDE plasma 5 to 6 was a bit stupid in retrospect. Like, nothing is totally broken, which is kinda surprising! But there's some minor stuff that would have been much easier to fix if only one of those variables had changes at a time. The really stupid thing was forgetting to do a full copy of my old /etc before I wiped the partition. Idiot. I have backups of some stuff like systemd drop-ins I made, but not my samba or sshd configs. Good: • Snapper + systemd-boot looks incredible as far as bulletproof rollbacks • Suse's installer isn't as slick as the calamares thing everyone else is using, but I appreciated how it had a better middle-ground between basic "we do everything for you" mode and full nerd mode • Uh, everything works? I dunno. Bad: • suse doesn't have a deep library in their repos. gonna be using more flatpaks. having to manually download and install fonts like some type of caveman. • holy moly yast is some 90s throwback software The Ugly: Having to use bash for a bit because my zsh config was all messed up shows that I am way too reliant on zsh's history search and autofill. Hmm. What have we learned? To put everything that makes my .zshrc work into my home folder.
|
# ? Apr 15, 2024 19:45 |
|
Klyith posted:Hit a thing on friday night that made me so at Manjaro that I decided this weekend was the time to switch distros. Come on, you have to tell us what the thing was.
|
# ? Apr 15, 2024 20:41 |
|
cruft posted:Come on, you have to tell us what the thing was. I have a ventoy USB stick, for various bootable ISOs and tools. I wanted to put a more recent version of a couple thing on it. It wouldn't mount. Oh, is the stick bad? Lemme make a new one. Now that one doesn't mount. Is ventoy itself busted? No, it works on the windows pc. Let's wipe the stick and remake it there... I determine that the problem is that Manjaro can't mount any exfat partition. This leads me to the Manjaro forums, and a thread where someone says that it's because they're still using exfat-utils, the FUSE exfat component that's been deprecated for quite some time as exfat has been in the kernel for years now. Some new update has finally broken it. Uninstall exfat-utils, install exfatprogs, hey now my USB stick mounts just fine and I need to re-download the ISOs that were on it. And there are many old threads on the Manjaro forums pointing this out. Arch and Endeavour switched in 2021. There's one where a Manjaro maintainer actually sees it and replies that they'll hold it until exfatprogs has all of the functions of exfat-utils. What functions? So anyways, on reddit I've occasionally seen some weirdo axe-grindy Arch users who don't like Manjaro and post giant walls of text of all their sins, real and imagined. Starting with the actually-bad SSL fuckups and ending with some real dumb crap. You can feel the mouth foam through the text, so I kinda dismissed them. But if you want a devastating negative review of Manjaro in one sentence: they are cargo-culting the idea of a stable distro. They don't have the resources to test, so bugs affecting Arch have a good chance of hitting Manjaro. And when they do make changes from upstream, the follow through is lacking. This was a pretty minor problem, but I found it highly symbolic.
|
# ? Apr 15, 2024 22:13 |
|
Klyith posted:And there are many old threads on the Manjaro forums pointing this out. Arch and Endeavour switched in 2021. There's one where a Manjaro maintainer actually sees it and replies that they'll hold it until exfatprogs has all of the functions of exfat-utils. What functions? Even debian doesn't carry exfat-utils anymore. And they still package exfat-fuse.
|
# ? Apr 15, 2024 23:15 |
|
Fedora 40 tomorrow
|
# ? Apr 16, 2024 02:47 |
|
mmkay posted:
You can, I run arch with it at my workplace to mirror my home pc. It installs a different kernel for WSL but I've found it pretty nifty and all the automounting junk that worked with ubuntu is working fine with it too.
|
# ? Apr 17, 2024 00:35 |
|
Storm One posted:I'm sure you can, but bootloaders and UEFI are all black magic to me, and all the horror stories of Window's installer ruining people's Ubuntu partitions and vice-versa from long ago have put me firmly in the "don't know, don't really care to learn if some dipshit OS installer can just ruin everything anyway". have you tried learning it Nothing is "magic", you just don't understand. If my GRUB got broken it would be annoying but I would know exactly what to do, because I looked up both how to set up GRUB and how boot loaders work in general. And I always boot Windows from GRUB, I never use the Windows bootloader directly, because I set up GRUB a particular way and keep it that way, while Windows reserves the right to gently caress with the Windows bootloader any way it wants because it is "user friendly" and thus thinks it knows better than the user.
|
# ? Apr 17, 2024 20:18 |
|
How do people install gentoo in a vm with just a serial console? The installer iso isn't compatible for some reason, there's no "Distribution tree installation source" i can find. I'm on a debian host so just screwing around I was able to boot from the kernel on my machine into a disk image with an extracted stage 3 tarball and I guess i could go thru the installation guide from there but it seemed wrong and I dont really know enough or want to learn about gentoo or libvirt to do that process right
|
# ? Apr 18, 2024 02:03 |
|
hifi posted:How do people install gentoo in a vm with just a serial console? The installer iso isn't compatible for some reason, there's no "Distribution tree installation source" i can find. I'm on a debian host so just screwing around I was able to boot from the kernel on my machine into a disk image with an extracted stage 3 tarball and I guess i could go thru the installation guide from there but it seemed wrong and I dont really know enough or want to learn about gentoo or libvirt to do that process right Heh, just tried it out of curiosity and you're right: it appears that the minimal installation CD does not have serial console enabled in grub or for the kernel by default. Arch brags that they do have that by default. There is a forum post for Gentoo from 2009 that tells you how to make a bootable CD with serial console enabled: https://forums.gentoo.org/viewtopic-t-763379-highlight-.html . Strange that after 15 years they still don't have it. To me it looks quite convoluted and I think one can get away with just editing boot/grub/grub.cfg file once burned on a USB stick (so it's writable) and just add console=ttyS0,115200 to the kernel boot line. I did that in my VM (from the keyboard though) and it started in the serial console just fine (using screen on the host). On the other hand, fidgeting with qemu/libvirt a bit and getting the Virtual Machine Manager up and running shouldn't be too hard and then you at least have a nice management interface for the VM's.
|
# ? Apr 18, 2024 02:54 |
|
Good idea. I tried mounting the iso and providing that to virt-install but it didn't recognize that folder to be able to pass command line options to. I will try that... tomorrow
|
# ? Apr 18, 2024 03:11 |
|
hifi posted:Good idea. I tried mounting the iso and providing that to virt-install but it didn't recognize that folder to be able to pass command line options to. I will try that... tomorrow If you mount the iso you won't be able to write on it. That's gonna be read only. Burn it to an USB stick. If you're not married with Gentoo, just tried Arch and yes, their grub appears on the serial console. Though it does require editing of the command line to enable serial once the kernel has been loaded.
|
# ? Apr 18, 2024 03:36 |
|
Yeah I know it's read only. There is something that every other linux distro is doing with their releases that gentoo isn't where libvirt recognizes the iso/memory stick/directory as a valid linux distribution and you can pass it command line arguments and libvirt does some kind of translation magic to get your command line arguments to the right place. I was able to swap the gentoo iso with a rocky linux one and it worked the way it was supposed to, for example.
|
# ? Apr 18, 2024 04:37 |
|
Volguus posted:it appears that the minimal installation CD does not have serial console enabled in grub or for the kernel by default. Fancy workstation users and their frame-buffer cards.
|
# ? Apr 18, 2024 17:19 |
|
Even worse the installers mangle any input you give them. With redhat kickstart for example if you feed the kernel "console=tty0 console=ttyS1" to get two outputs, only ttyS1 will show up as a kernel argument on the installed system.
|
# ? Apr 18, 2024 17:22 |
|
|
# ? Jun 6, 2024 06:16 |
|
I remember seeing some distros developing web interfaces to their installers where you can configure in a browser on another system. Having trouble finding examples, so it might be that it's a local web server and the graphical installer launches a browser.
|
# ? Apr 18, 2024 18:02 |