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

Linux

47804 readers
1147 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 31 comments
sorted by: hot top controversial new old
[–] possiblylinux127@lemmy.zip 1 points 13 hours ago* (last edited 13 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.

[–] Fubarberry@sopuli.xyz 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

[–] rotopenguin@infosec.pub 2 points 13 hours ago

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

[–] possiblylinux127@lemmy.zip 1 points 13 hours ago

That only applies if you try to mount it

[–] mvirts@lemmy.world 3 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.

[–] Fubarberry@sopuli.xyz 1 points 18 hours 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.

[–] mvirts@lemmy.world 3 points 16 hours 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.

[–] Johnny5@lemm.ee 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.

[–] minibyte@sh.itjust.works 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.

[–] mvirts@lemmy.world 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.

[–] bloodfart@lemmy.ml 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*

[–] chM5tZ8zMp@lemmy.sdf.org 1 points 5 hours ago (1 children)
[–] bloodfart@lemmy.ml 1 points 3 hours ago

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

[–] AbidanYre@lemmy.world 7 points 1 day ago* (last edited 1 day ago) (1 children)

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

[–] bloodfart@lemmy.ml 4 points 1 day ago

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

[–] keithduthie@mastodon.nz 3 points 1 day ago (1 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.

[–] linearchaos@lemmy.world 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.

[–] BobGnarley@lemm.ee 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?

[–] mvirts@lemmy.world 4 points 1 day ago

Probably something in the bios

[–] maniacalmanicmania@aussie.zone 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.

[–] BobGnarley@lemm.ee 2 points 1 day ago (1 children)

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

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.

[–] bad_news@lemmy.billiam.net 2 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

[–] nichtburningturtle@feddit.org 0 points 1 day ago (2 children)

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

[–] wesker@lemmy.sdf.org 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.

[–] BobGnarley@lemm.ee 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.

[–] minibyte@sh.itjust.works 8 points 1 day ago* (last edited 1 day ago)

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

[–] wesker@lemmy.sdf.org 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.

[–] BobGnarley@lemm.ee 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.

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.

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