#hard drive is not showing up

110 messages · Page 1 of 1 (latest)

minor moon
#

I can't see my internal hard Drive. Using Fedora KDE PLASMA 39. My Boot drive is an internal SSD.

crystal spire
#

Was it a windows computer?

#

@minor moon result from terminal for> sudo parted -l

minor moon
#

marcia@fedora:~$ sudo parted -l
[sudo] password for marcia:
Model: SPCC M.2 PCIe SSD (nvme)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 643MB 105MB fat32 EFI system partition boot, esp, no_automount
3 643MB 660MB 16.8MB Microsoft reserved partition msftres, no_automount
4 660MB 53.1GB 52.4GB ntfs Basic data partition msftdata
7 53.1GB 74.1GB 21.0GB linux-swap(v1) swap
5 105GB 106GB 1074MB ext4
6 106GB 256GB 150GB btrfs

Model: Unknown (unknown)
Disk /dev/zram0: 8102MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 8102MB 8102MB linux-swap(v1)

#

I have a 1 TB hard drive installed too. It just doens't show up at all

minor moon
crystal spire
#

Does the 1TB show in Windows?

minor moon
#

yes

#

I formatted it to ext4 in order to try and get this fixed

#

and I managed to access it with out any issues on windows

#

once I reformatted it to ext4

#

I couldn't access the file system though

#

that is the only thing

crystal spire
#

It could be seen in Fedora until it was reformatted?

minor moon
#

No

minor moon
#

It's been a couple weeks and I got fed up

crystal spire
#

I wonder if it is using some BIOS RAID and the BIOS need to be set to use SATA/AHCI

minor moon
#

SATA MODE: AHCI

#

HDD: 0 is my sad
HDD1 : is my hard drive

#

My ssd works fine as said before.

#

It's my boot drive

crystal spire
#

Check windows, see if hybrid shutdown/fast startup is enabled

minor moon
#

No they are not. When switching from windows to Linux I disabled all of that crap

#

And then disabled fast boot in bios

minor moon
crystal spire
#

So it is a normal SATA HDD?

lavish coyote
#

It might be useful to check the output of lsblk -f, then compare against fstab.

minor moon
minor moon
#

I did make one change in bios

#

My computer is Acer and part of their bios is disk to disk recovery. I have tried to disable that.

lavish coyote
#

That is not a bad idea. With lsblk, you list block devices, -f will also show UUIDs. We need to look at the output of this to identify the drive, then see if it is even in fstab.

minor moon
#

Also yes. I do have 7 partions on my boot drive. ;w; don't hurt me

lavish coyote
#

Technically, you have two EFI paritions, one extended (which is only a container for the next few) and four logical ones. Not too bad. So nvme0n1p4 is your Windows main partition. This one needs to be mounted. Could you cat /etc/fstab please and share it? That is the file system table with auto-mount instructions that is read every boot.

minor moon
#
marcia@fedora:~$ sudo cat /etc/fstab
[sudo] password for marcia: 

#
# /etc/fstab
# Created by anaconda on Sat Dec 23 12:32:06 2023
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
UUID=509afd6a-a54a-4ad8-af68-272b62123d32 /                       btrfs   subvol=root,compress=zstd:1 0 0
UUID=a6e7dcf4-30b9-4890-99fb-694b64552b80 /boot                   ext4    defaults        1 2
UUID=923A-15C3          /boot/efi               vfat    umask=0077,shortname=winnt 0 2
UUID=509afd6a-a54a-4ad8-af68-272b62123d32 /home                   btrfs   subvol=home,compress=zstd:1 0 0
lavish coyote
#

Your NTFS partiton was not mounted, likely because it has a weird UUID. Technically, you could write another line for fstab to mount it: UUID=58e8ef86e8ef60ac /media/windows ntfs defaults 0 0, then create the mount point with sudo mkdir /media/windows and try sudo mount -a. However, it is possible that Windows left the partition in an inaccessible state, that is why JeremyB asked you to make sure Hybrid Shutdown/Fast Startup is disabled in Windows.

minor moon
#

That windows is just a partition on my ssd?

lavish coyote
#

It looks like it. You have only that one drive, or more?

minor moon
#

I have my boot drive; an SSD. And I have my internal hardrive connected via SATA.

#

That is HDD1 as refered to in the bios

#

HHD1 is no where to be seen on Linux and completely accessable anywhere else...

lavish coyote
#

Interesting. Your SATA drive does not even show up with blkid. That means it is somehow broken or has some setting that prevents it from showing up.

#

You can do what I wrote above to mount your Windows OS partition on the SSD. To get the SATA drive, you need to make it show up first. Try sudo apt install hardinfo and run that, check the drives section.

minor moon
#

dnf couldn't find hardinfo

crystal spire
#

inxi

lavish coyote
#

Well, you did post this in Mint Support, and it is available on Mint.

minor moon
#

it's downlaoding inxi

#

I also can boot into windows and have acess to the drive if there is any way i can make it more accesable to linux...

lavish coyote
#

Inxi can show drives as well. You want inxi -dxxxz

minor moon
#
marcia@fedora:~$ inxi
CPU: dual core Intel Core i3-1005G1 (-MT MCP-)
speed/min/max: 1621/400/3400 MHz Kernel: 6.6.9-200.fc39.x86_64 x86_64 Up: 18m
Mem: 3.41/7.55 GiB (45.1%) Storage: 238.47 GiB (20.0% used) Procs: 370
Shell: Bash inxi: 3.3.31
#
marcia@fedora:~$ inxi -dxxxz
Drives:
  Local Storage: total: 238.47 GiB used: 47.57 GiB (19.9%)
  ID-1: /dev/nvme0n1 vendor: Silicon Power model: SPCC M.2 PCIe SSD
    size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: EDFM20.0 temp: 7.8 C scheme: GPT
  Message: No optical or floppy data found.
marcia@fedora:~$ 
lavish coyote
#

You do not have a second drive, Marcia. Either the plug is loose, it broke, or Windows borked it. It does not show up at all.

minor moon
#

..

#

I can see it windows

#

I can boot into windows and try and unbork it?

lavish coyote
#

Should be possible. But I have not used Windows in years, perhaps @crystal spire can help with that.

minor moon
#

So slight issue.

#

I oops my windows partition out of existance on accident earlier ;w;

#

I can try to see if it is visible in live boot ig?

lavish coyote
#

You might try gparted first.

#

Even if it is not usable, it should at least physically show up at the controller.

crystal spire
#

Windows should boot, just have to boot to the windows boot loader efi file

lavish coyote
#

If you can, booting into Windows is the best option.

minor moon
minor moon
lavish coyote
#

As it stands, the kernel cannot access that drive. That means it is a BIOS-level issue, likely caused by Windows. If the BIOS cannot force it back into normal mode, only Windows can.

crystal spire
#

Maybe install Windows to the HDD

minor moon
lavish coyote
#

I hope there are no data on there that you would miss.

crystal spire
#

It will boot slower but should work

minor moon
#

Booting into ventoy as we speak

crystal spire
#

My Acer A315 doesn't have a port for HDD

lavish coyote
#

Newer chassis tend to omit the 2.5" bay and just have M.2 slots. But some have an empty 2.5" bay still, which is nice for upgrades.

crystal spire
#

There is a open spot big enough but no connector

#

Running 2 NVME drives, one Windows and other for Mint

lavish coyote
#

If the mainboard physically has a port, you could get a connector. But if you already have two drives, probably not worth the hassle.

minor moon
#

Wish me luck y'all

lavish coyote
#

Good luck. Remember to disable Hybrid Sleep and Fast Boot, or whatever they are called.

minor moon
#

Using the 30gb free allocation on my ssd ;w;

crystal spire
#

format drive 0 partition 1 to ntfs

minor moon
#

It's such a long install ;w; Linux is installed in under a minute.

minor moon
crystal spire
#

Delete work?

minor moon
#

Windows install failed

#

Gonna head into kde live boot

#

Nothing in live boor

#

.... Am I just like fucked on this one?

crystal spire
#

Could be

#

dmesg | grep -i sata

minor moon
#

@crystal spire

marcia@fedora:~$ dmesg | grep -i sata
[    0.602437] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[    0.602708] ata1: SATA max UDMA/133 abar m2048@0x4fc13000 port 0x4fc13100 irq 125
[    0.602710] ata2: SATA max UDMA/133 abar m2048@0x4fc13000 port 0x4fc13180 irq 125
[    0.911965] ata2: SATA link down (SStatus 4 SControl 300)
[    2.811896] ata1: SATA link down (SStatus 1 SControl 300)
crystal spire
#

Strange that BIOS sees the drive but Fedora cant

minor moon
#

ye... it is all super strange...

crystal spire
#

And no BIOS setting that would make it vanish

#

Might be a reason to get a 1TB SSD

minor moon
#

I really need a whole new laptop... This thing is not really able to keep up nowadays...

crystal spire
#

Mine is an I5 and I updated RAM to 16GB and it works well

minor moon
#

Mine is an i3 10th gen with 8gb of ram (after an upgrade)

lavish coyote
#

At this point I would consider that drive failing. Sometimes Windows is too derpy to notice, but I have also seen it the other way around.

crystal spire
#

Could try grub command line with ls command and see if 2 drives are there

lavish coyote
#

Yes, but I would want to know the actual reason why the drive is skipping out before trusting it with anything again.

bold talon