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

Linux

48696 readers
1227 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
 

(Dell Optiplex 3070 mini) Edit: Successfully installed thanks to all of you! In this specific case all I had to do was change from RAID to ACHI which I was able to do in the bios settings themselves. A warning to anyone who might do this if you want to keep windows I believe you have to edit the windows registry somehow but I did not care to keep windows at all so simply changing boot order to boot the USB with Debian installer first and then change from RAID to ACHI and boom, the windows partition will be discoverable.

Original post: 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!

all 40 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 2 months ago (2 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] 8 points 2 months ago* (last edited 2 months ago) (1 children)

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] 4 points 2 months ago (1 children)

Dude @minibyte@sh . it just . works This was it!! Thanks to all of you

[–] [email protected] 2 points 2 months ago

Yeah dude! Glad to hear that. Thanks for the follow up.

[–] [email protected] 5 points 2 months ago* (last edited 2 months ago) (1 children)

@Johnny5 This was it! Changed to ACHI and no problems after that thank you so much!!

[–] [email protected] 4 points 2 months ago

Awesome, glad it worked !

[–] [email protected] 8 points 2 months 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] 4 points 2 months 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] 4 points 2 months 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 2 months 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] 2 points 2 months ago

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

[–] possiblylinux127 1 points 2 months ago

That only applies if you try to mount it

[–] [email protected] 7 points 2 months ago* (last edited 2 months ago) (3 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] 7 points 2 months ago* (last edited 2 months ago) (1 children)

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

[–] [email protected] 4 points 2 months ago

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

[–] [email protected] 3 points 2 months ago

@bloodfart I figured out what it was thanks to all of you! It was just that I had to change from RAID to ACHI in the bios! Since I didn't want to keep windows I didn't even have to open a command prompt or anything.

Man I love this whole community I can't thank all of you enough.

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

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

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

Yes, it does. I've just checked and confirmed the presence of /usr/bin/lsblk on a Debian 12 liveUSB.

Edit: formatting

[–] [email protected] 6 points 2 months 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 2 months 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 2 months ago (1 children)

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

[–] [email protected] 3 points 2 months 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] 2 points 2 months 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] 5 points 2 months 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 2 months 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] 5 points 2 months ago

Probably something in the bios

[–] PancakeBrock 1 points 2 months 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.

[–] possiblylinux127 1 points 2 months ago* (last edited 2 months ago) (1 children)

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] 2 points 2 months ago

It wasn't that it was that the windows partition wasn't showing up at all. In this case (DellOptiplex 3070) I had to change from RAID to ACHI and it showed up

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

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

[–] [email protected] 6 points 2 months 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 2 months 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 2 months ago* (last edited 2 months ago) (1 children)

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

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

It seemed more like a friendly suggestion than any attempt at gatekeeping

[–] [email protected] 4 points 2 months 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 2 months 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 2 months 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 2 months ago

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