this post was submitted on 20 Oct 2024
34 points (100.0% liked)

Linux

47814 readers
617 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
 

What am I doing wrong here? The computer has Windows 11 on it but I don't want to use it I want it all the way off the machine.

Can this installer not overwrite the Windows OS with Debian? Edit: Just want to say thanks to all of you I'm going to experiment around with the advice you all have given and see how it works out! Absolutely love the passion and helpfulness of this community here on Lemmy for real!

top 32 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 21 hours ago* (last edited 21 hours ago)

You delete the Windows partition and then select the default Debian. Select custom in the install menu and then delete all the partitions

This sounds like you are struggling with the installer UI. Everyone here seems to think it is a software bug or firmware problem. I suspect you are just new to the installer. It isn't exactly the most user friendly.

[–] [email protected] 7 points 1 day ago (3 children)

Make sure windows was shut down all the way. Normally when you shutdown windows, it only hibernates and it locks it's partitions to prevent editing. I tried installing Zorin for a family member recently, and it couldn't install until I booted back into windows and shut it down fully.

To shutdown fully, in windows you need to either hold shift while clicking the shutdown button, or open the run box and run the command shutdown -s -t 00

[–] [email protected] 2 points 22 hours ago

Disable "Fast Startup" so that Windows actually shuts down when it shuts down.

[–] [email protected] 1 points 21 hours ago

That only applies if you try to mount it

[–] [email protected] 4 points 1 day ago (1 children)

Locks as far as windows will not be happy that you changed them. If you're getting rid of windows don't worry about shutting down safely.

[–] [email protected] 2 points 1 day ago (1 children)

No, I straight up had two different installation media's fail until I went back and shut down windows fully. I've never run into that before on an install before.

First I tried ZorinOS, and it would fail to even boot into the live environment. I tried multiple times and even made a new install media. Then I tried fedora silverblue, it would get into the install environment but couldn't do any kind of partitioning etc to the drive. I then rebooted to windows, shut it down fully, and tried again. This time fedora could edit the drive partitions, and zorin could load the live environment and install.

Previously I've had issues with shared drives being locked by windows, but this was the first time I've ever had an install fail because windows wasn't shutdown fully. I don't usually dual boot these days either though (I was setting up this computer for family) so I figured maybe something had changed with newer versions of windows or device security.

[–] [email protected] 3 points 1 day ago

That's crazy, I would never have expected that. Good to know!

Makes me wonder if Linux is playing nice with Microsoft or there is a mechanism to block device access.

[–] [email protected] 9 points 1 day ago (1 children)

So installer is not recognizing your hard disk. There are plenty of potential causes but One thing to check is bios configuration of the disk drive, is the drive configured as raid? I’ve run into that a couple of times recently.

[–] [email protected] 6 points 1 day ago* (last edited 1 day ago)

I had this issue. A laptop with a single ssd was configured as raid 0 in bios out of the box. Changed it – debian immediately recognizes the drive.

[–] [email protected] 7 points 1 day ago* (last edited 1 day ago) (2 children)

Push ctrl-alt-3 or 2 or something till you get a terminal. Run the command ls /dev/sd*

Post what it says back to you.

E: if you don’t see two drives, do ls /dev/nvm*

[–] [email protected] 1 points 13 hours ago (1 children)
[–] [email protected] 1 points 11 hours ago

I always forget what subset of bins come on the livecd, does it do lsblk?

[–] [email protected] 7 points 1 day ago* (last edited 1 day ago) (1 children)

A newer computer could also be /dev/nvm<something>

[–] [email protected] 4 points 1 day ago

Shit that’s a good point! I’ll edit my post.

[–] [email protected] 4 points 1 day ago

Really just a guess but since others have pointed to bios raid stuff this may be relevant:

https://wiki.debian.org/DebianInstaller/SataRaid

But also you probably want to disable raid in bios if it's enabled.

[–] [email protected] 3 points 1 day ago

I had issues getting kernel versions on Debian seeing hard drives back when it got bad in the 2010's (which is why I switched to Fedora, which was what I used as my primary distro before Debian). For experimental purposes, I'd try something with bleeding edge driver support like Fedora, not even to install, just to see if it sees the drive. I've even seen issues with kernel v various hardware things on Ubuntu/Mint v Fedora. I am currently very mad at Fedora because 40 is ass, and I'm having PTSD about Debian getting bad (I do hear it gud now) so I'm in no way recommending Fedora rn, but it will see the hardware if it's a nonproprietary driver newness issue

[–] [email protected] 3 points 1 day ago (2 children)

@BobGnarley Try disabling secure boot in the bios. And maybe UEFI boot path security - I think I've seen that cause issues in the past too.

[–] [email protected] 1 points 2 hours ago

On top of that. I just got a new laptop and bit locker was setup by default. Had to go into Windows and disable bit locker before disabling secure boot. I didn't do that, RE enabled secure boot, then had to get the recovery key for bit locker.

[–] [email protected] 5 points 1 day ago (1 children)

And if it's a Dell, set disk access from raid to AHCI.

I literally had to do this 2 days ago.

[–] [email protected] 1 points 1 day ago (1 children)

It is a dell its an Optiplex 3070 mini. You just boot windows into safe mode to change that right?

[–] [email protected] 4 points 1 day ago

Probably something in the bios

[–] [email protected] 3 points 1 day ago (1 children)

Are you trying to install while booted into Windows? If so that's not how to install Linux from a bootable USB.

[–] [email protected] 2 points 1 day ago (1 children)

No I made the USB boot first before windows its the Debian 12 graphical installer

[–] [email protected] 3 points 1 day ago

There may be any number of reasons why the disk is not an option. You may want to update your post body with the model of your computer in case someone has had a similar experience and can give you a heads up about what to do.

As a quick test you might want to flash another distribution image to the USB and see if that gives you the option to install to the system drive (you don't have to install, just check if the option is available). It's an easy way to find out if it's a quirk of the distribution installer or something about your computer such as bios setting etc.

[–] [email protected] 0 points 1 day ago (2 children)

This post implies that you're a beginner. I wouldn't recommend debian as a beginner distro.

[–] [email protected] 6 points 1 day ago (1 children)

I wholeheartedly disagree. But I will say that maybe a mid-weight flavor of Debian would be better.

[–] [email protected] 7 points 1 day ago (2 children)

Honestly I may just keep doing the Debian install now that I have some insight on what might have gone wrong.

[–] [email protected] 8 points 1 day ago* (last edited 1 day ago)

Ignore the gatekeeping and do your thing. Nice choice on Debian.

[–] [email protected] 4 points 1 day ago

If you continue to have trouble but still want a Debian experience, might I recommend MX Linux. I cut my teeth on that for a long time, and it was a really great experience for me. And the installer is super easy to navigate.

[–] [email protected] 2 points 1 day ago (2 children)

Its true really trying to break through the learning curve at the moment hands on but yes I think you might be right.

[–] [email protected] 4 points 1 day ago

Wouldn't recommend ubuntu, but can vouch for linux mint, which was my first distro. You will generally find an answer for any question you might have by including mint in your search.

[–] [email protected] 2 points 1 day ago

Fedora or Ubuntu have the best installers. I would suggest Fedora.