#hard drive is not showing up
110 messages · Page 1 of 1 (latest)
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
It was orginially a windows laptop yes
Does the 1TB show in Windows?
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
It could be seen in Fedora until it was reformatted?
No
It's never been seen in fedora at all
It's been a couple weeks and I got fed up
I wonder if it is using some BIOS RAID and the BIOS need to be set to use SATA/AHCI
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
Check windows, see if hybrid shutdown/fast startup is enabled
No they are not. When switching from windows to Linux I disabled all of that crap
And then disabled fast boot in bios
I have reinstalled windows a couple times since then yes. But the drives stopped showing up long before that
So it is a normal SATA HDD?
It might be useful to check the output of lsblk -f, then compare against fstab.
Yes
Sure I am booting into Linux rn
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.
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.
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.
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
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.
That windows is just a partition on my ssd?
It looks like it. You have only that one drive, or more?
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...
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.
dnf couldn't find hardinfo
inxi
Well, you did post this in Mint Support, and it is available on Mint.
my mistake!
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...
Inxi can show drives as well. You want inxi -dxxxz
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:~$
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.
Should be possible. But I have not used Windows in years, perhaps @crystal spire can help with that.
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?
You might try gparted first.
Even if it is not usable, it should at least physically show up at the controller.
Windows should boot, just have to boot to the windows boot loader efi file
If you can, booting into Windows is the best option.
First thing I tried actually. Nothin
I poofed my windows installation out of existance earlier. It takes about 15 minutes to install but I have to resintall the iso
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.
Maybe install Windows to the HDD
Windows install it is.
Interesting idea let's see
I hope there are no data on there that you would miss.
It will boot slower but should work
If there is I have reformatted it so many times it's burnt to a crisp.
Booting into ventoy as we speak
My Acer A315 doesn't have a port for HDD
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.
There is a open spot big enough but no connector
Running 2 NVME drives, one Windows and other for Mint
If the mainboard physically has a port, you could get a connector. But if you already have two drives, probably not worth the hassle.
Good luck. Remember to disable Hybrid Sleep and Fast Boot, or whatever they are called.
format drive 0 partition 1 to ntfs
It's such a long install ;w; Linux is installed in under a minute.
Can't format it if you can't access it. And windows reformatter is completely grayed out.
Delete work?
Windows install failed
Gonna head into kde live boot
Nothing in live boor
.... Am I just like fucked on this one?
@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)
Strange that BIOS sees the drive but Fedora cant
ye... it is all super strange...
I really need a whole new laptop... This thing is not really able to keep up nowadays...
Mine is an I5 and I updated RAM to 16GB and it works well
Mine is an i3 10th gen with 8gb of ram (after an upgrade)
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.
Could try grub command line with ls command and see if 2 drives are there
Yes, but I would want to know the actual reason why the drive is skipping out before trusting it with anything again.
- Get 'Hirens Boot CD PE' onto your Ventoy.
- Boot to it (it's a slim Win 10)
- Check its file manager or Disk Management to see if it sees the 1 TB hard drive.