News for hackers. Stuff that matters.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by hermitmaster on Tuesday October 27, 2020 @11:56PM (#24915004)
With the recent advances in WSL2, I’d say dual booting is hardly worth the effort anymore. This is assuming you need Windows.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by solarkraft on Wednesday October 28, 2020 @08:57AM (#24918172)
I would like to use Windows as rarely as possible and I think WSL 2 doesn't allow that.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by hermitmaster on Thursday October 29, 2020 @03:46PM (#24934807)
While I agree, that doesn’t mean that dual booting is the solution. My daily is Fedora Workstation and I have a Windows vm for stuff as needed.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by skohan on Wednesday October 28, 2020 @02:27AM (#24915875)
I mean you have to run Windows as your host system. Personally I would consider this a major drawback which more than eclipses any convenience gains.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by hermitmaster on Thursday October 29, 2020 @05:03PM (#24935852)
I guess I should have been more verbose in my original comment. Windows is hot garbage, but there hardly exists a good reason for dual booting. Use a Windows VM from Linux if you can, WSL2 from Windows if you must.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by ChuckNorris89 on Wednesday October 28, 2020 @02:37AM (#24915931)
Why? It works great. Or is it just personal preference?
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by skohan on Wednesday October 28, 2020 @02:50AM (#24915994)
Mostly preference. I don't like Windows' approach to telemetry, and intrusive UI patterns.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by ChuckNorris89 on Wednesday October 28, 2020 @06:13AM (#24917112)
Which intrusive UI patterns?
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by Niccizero on Wednesday October 28, 2020 @07:53AM (#24917682)
Candy Crush ads in the start menu.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by hu3 on Wednesday October 28, 2020 @12:37PM (#24920846)
Right click. Remove. Done. No more ads.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by skohan on Wednesday October 28, 2020 @03:53PM (#24923389)
Why should I have to do that?
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by hu3 on Thursday October 29, 2020 @10:22AM (#24930719)
Perhaps because you don't like Candy Crush?
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by skohan on Thursday October 29, 2020 @10:42AM (#24930977)
No I mean why should my OS (which I paid for) come pre-installed with garbage ware?
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by arathore on Wednesday October 28, 2020 @01:23AM (#24915513)
I am considering building a PC for programming and am genuinely curious if WSL2 can be considered a replacement for dual booting Linux and Windows? I am currently rocking a dual boot system (with legacy bios) and haven't had any issues so far.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by meddlepal on Wednesday October 28, 2020 @02:03AM (#24915736)
It's pretty close. Big pain point for me still is that running an IDE from Windows and accessing the Linux FS is not quite as snappy as native-Linux (I use IntelliJ). So for now I still dual-boot.

This is apparently being worked on... in the future I will be able to run the IDE inside WSL and it will bridge X11/Wayland to Windows.

Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by unionpivo on Wednesday October 28, 2020 @05:54AM (#24917007)
If you can try using Visual Studio Code, with their remote plugins. One of the remote plugins is for wsl2 and it works great.

That means that VSC installs language server inside the wsl2 environment, I use it at home for my rust/python development and can't tell the difference.

Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by dheera on Wednesday October 28, 2020 @12:20AM (#24915175)
I gave up on dual-booting a long time ago and 2 OSes fighting over overwriting the MBR every time I wanted to upgrade one or the other. It's just so much easier to maintain 2 machines.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by zeta0134 on Wednesday October 28, 2020 @01:30AM (#24915548)
I solved for this by simply giving Windows and Linux a hard drive each. The boot records are completely separate, and neither one tries to read data from the other. (Personally I have no need, my NAS handles any file level syncing, but that's minimal anyway.) Both Windows and the Linux boot are registered in UEFI, so I asked my BIOS to disable the hard drive preference and pop up the boot menu each time, letting me pick which OS to use manually.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by josteink on Wednesday October 28, 2020 @04:09AM (#24916412)
> I gave up on dual-booting a long time ago and 2 OSes fighting over overwriting the MBR every time

This is why UEFI was invented, and if You actually read the post, you would know it details how you set this up with UEFI instead of legacy boot and have none of those troubles.

Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by TeMPOraL on Wednesday October 28, 2020 @02:06AM (#24915760)
Isn't WSL2 a step backwards from WSL? A thinly veiled VM, vs. proper Linux emulation? What's the performance story and cross-execution (starting Windows programs from Linux side, or vice versa) on WSL2 now?
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by onlywicked on Wednesday October 28, 2020 @03:43AM (#24916255)
The interoperability is good except few applications.

File performance is similar to native as long as you store the files in WSL2.

Only issue, I have faced is that port forwarding does not work sometimes and have to restart WSL2 for fix which I solved using a simple script.

Other than that everything has been a smooth sail. Native docker is a huge win in my list.

Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by hermitmaster on Thursday October 29, 2020 @05:06PM (#24935891)
The randomly assigned ip every reboot is extremely annoying.
Re:How to Dual-Boot Ubuntu 20.04 and Windows 10 with Encryption by onlywicked on Wednesday November 04, 2020 @03:24PM (#24992717)
I use localhost for accessing stuff inside and outside the WSL2 and it works fine for me.

I never used the private ip. So, I can't say anything.