this post was submitted on 07 Jan 2024
20 points (81.2% liked)

Linux

48328 readers
602 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
20
submitted 10 months ago* (last edited 10 months ago) by Classy@sh.itjust.works to c/linux@lemmy.ml
 

Any and all help would be so greatly appreciated. I've been battling with my laptop to be able to dual-boot Ubuntu Cinnamon and Windows 10 for about four days now. I've probably gone down five or six different rabbit-holes of troubleshooting, GRUB command-line fun, reinstalling and updating the BIOS, trying and failing to deal with VMX and locked NVram. As of now, my system boot-loops and fails to run Windows, but paradoxically I am able to get Ubuntu running, which is what I am using now.

I'll try to provide as much relevant information here as I can:

  • Device: HP ZBook 17, gen 6
  • Primary OS: Windows 10 Home
  • Linux distro: Ubuntu Cinnamon 23.10
  • Ubuntu location: /dev/sda3
  • grub-install --version = 2.12~rc1-10ubuntu4
  • boot-repair Boot-info summary: https://paste.ubuntu.com/p/rxZ3D5GtpP/
  • I'm more than happy to provide more information as it's requested.

As of now, I am unable to run Windows through the BIOS. If I run via the dedicated SSD as I normally do, it boot-loops, and if I try to go through any other drives it just tells me I need to install an OS. I am currently able to run Ubuntu, but only by going through the following process:

  1. Startup menu
  2. Boot configuration
  3. Boot from EFI > Ubuntu > shimx64.efi

At this point, I am happy with two outcomes to this scenario:

  1. I am able to run my laptop with Windows 10 as the primary OS, with the ability to dual-boot to Ubuntu Cinnamon 23.10.
  2. Assuming option 1 is impossible/requires a Herculean amount of work to pull off from this state, I am willing to scrub Windows 10 from my laptop and move forward with Cinnamon as my daily driver, though I am rather inexperienced in it. I can learn to move forward as I need to and run a VM or WINE for any Windows-specific processes I still need to do. But I would rather keep this option as my dead man's switch.
you are viewing a single comment's thread
view the rest of the comments
[–] beta_tester@lemmy.ml 8 points 10 months ago (16 children)
  1. Backup
  2. Install linux
  3. Use a VM (e.g. Boxes) and install windows
[–] Classy@sh.itjust.works 5 points 10 months ago (11 children)

I appreciate the elegance of your answer but it's a bit lacking in detail. Are you saying that I should go with the nuclear option when installing Linux and remove the old files? I might just remove my HDD in that case and install Linux into the dedicated SSD.

[–] beta_tester@lemmy.ml 6 points 10 months ago* (last edited 10 months ago) (10 children)

Yes. Nuclear everything. Fuck grub.

No idea who spreads the word of dual booting. I went into that trap as well. I've spent so much time on grub. Don't waste your time. Even if you manage to fix it after hours, you are not better off than before. You will run into the same or another issue again. And you won't remember what worked did before. Backup your stuff an run.

Nowadays I use an atomic/immutable system but I wouldn't do it on a traditional install differently.

  1. Install all packages as flatpak
  2. Server stuff is installed with podman (docker in the past)
  3. Whatever is not available as flatpak is installed via distrobox
  4. Install only base apps to the system itself
[–] mateomaui@reddthat.com 4 points 10 months ago

Should definitely be mentioned that dual booting isn’t nearly the headache if you have separate drives and don’t try to have the boot loaders in the same partition. I have Win10 and its boot area on one ssd, and two distros of linux sharing the boot partition on the second ssd, and there’s been no issues. But there’s a good chance Windows boot gets screwed if you try to put it all on one disk.

load more comments (9 replies)
load more comments (9 replies)
load more comments (13 replies)