HDD wont mount

March 6, 2024, 07:03

brotankfrank

Updated pi last night. It froze while restarting services i think? so i shut it down. Now neither of my hard drives will mount. They are both set to automount in fstab. They also show up in fdisk and blkid

k9t33n

if you shutdown in the middle of an update or the update failed that's expected

brotankfrank

i thought it would be somewhat okay because it was just restarting services (that restart all the rime right?)

brotankfrank

any ideas on what i can do? everything else seems to be working fine besides mounting

k9t33n

maybe finish the update by updating again sudo apt update; sudo apt full-upgrade -y; sudo reboot now

oops.se

When you mount a drive what does the log say ?

brotankfrank

How do I access the log?

brotankfrank


brotankfrank

I seem to be fully upgraded

brotankfrank

i used dsmeg

oops.se

Please post text as text.

brotankfrank

Okay I will when I get home. Thank you!

brotankfrank

I plugged in the hard drive towards the end of the log. Also I realized my pi wont boot when the drive is plugged in, if that helps

oops.se

Row 5 indicate the issue and a possible solution can be found here, https://forums.raspberrypi.com/viewtopic.php?t=359622

brotankfrank

It doesnt seem to have worked. I tried what was in the post. I changed the boot to boot/firmware

brotankfrank

log still says "UEFI not found"

brotankfrank

I am using only an sd

brotankfrank

and my external hdd is attached

brotankfrank

Any other ideas?

brotankfrank

Is anyone around to help me troubleshoot? I am free for at least a few hours

k9t33n

wait let me catch up

k9t33n

is the HDD showing if you run lsblk? I think that's the command

brotankfrank

Yes it does

k9t33n

is there any important files on it?

k9t33n

if it has an operating system that doesn't matter because we can sort that out later

brotankfrank

not really but i have put a bunch of work into setting up the system. Its running Rasp Pi OS

k9t33n

ok that's fine we can work with that

k9t33n

are you working via display and keyboard or ssh/vnc?

brotankfrank

i can work in all of those but usually use vnc

k9t33n

ok you need a display for some of it tho

brotankfrank

okay no problem I have it hooked up to a screen

k9t33n

one second

k9t33n

pi4?

brotankfrank

yep

k9t33n

ok run mkfs <device> -t ext4

k9t33n

lsblk tells you the device path

k9t33n

it should start with /dev/ i think

brotankfrank

I am just realzing you asked me if there are important files on the HDD, not the pi

k9t33n

oh yes

brotankfrank

There are important files on the HDD

k9t33n

oh ok dont do that then

brotankfrank

but no HDD works

brotankfrank

so i dont think its drive related

k9t33n

save those important fils to the pc

k9t33n

im just trying this anyway to try

k9t33n

i dont have many ideas past this so might as well

brotankfrank

The only issue is its about 2TB of data

brotankfrank

I can use a smaller usb stick if that helps

k9t33n

oh jeesus

brotankfrank

hahaha right

k9t33n

what why?

k9t33n

you just need to save those files somewhere if you really need it

brotankfrank

That is going to take a while but I can do it

k9t33n

ping me when your ready