Fresh isntall of li tile on rpi5 will not accept any password

Hey Champions, i have a pi5 that i wish to use as a nas for some connected hard drives. i made a terrible mistake within the OMV interface and lost basically everything useful. i followed the instructions to remove OMV entirely and reinstall but then wasnt able to recreate the user or even log in at all. then i weirdly lost eth connection from the pi. I flashed the os again, even did a full format of the sd card and reinstalled pi lite but now i cant even ssh back into the pi to set it all up again. no matter what i try i keep getting “sorry, try again.” error.

I have the correct ip, no go.

i used the hostname i created in setup (with .local) no go.

at my wits end now. can anyone help me?

im using a mac and terminal.

Cheers

Pete

1 Like

Hey @Peter299741,

Sorry to hear that you’re having trouble with the SSH again. We will go through the OSI Model to try and get this solved:

We will start with the Physical and Data Layers (Layer 1 and 2):

You mentioned that you lost ethernet connection with the Pi.

Has the Pi regained it? If you go into the router settings, can you see the Pi5’s MAC address listed as a currently connected device?

Network Layer:

Is the Pi using the correct IP Address set out for it in the Router? If you ping its IP are you getting a response?

1 Like

legend thank you. so i have managed to get it all back together. i had modem issues and that took a reset, i have the pi ip static and have finally managed to ssh in but only as root. so now i believe i need to set up a new user and delete the root user correct?

2 Likes

Ooh, I would not go ahead and delete the root user. I’m not sure it’s possible and if you managed it you’d probably brick your system in creative ways I have never seen before.

Just stop using the root user and you should be golden. <3

yeah i didn’t think that would be smart but its what one thread suggested after setting up another sudo user.

1 Like

I mean… I might go home and do that on a Pi Zero just to see how it goes now.

It’s always fun seeing how far you can push a system.

if youre confident enough absolutely push boundaries. i have a few spare sd’s and could have a semi sandboxed toy. i really need to get this one set up for nas first tho :joy:

1 Like

um i think the pi had erased my external hdd. i havent done anything that would suggest it was going to. there was some 6tb of data on them. whats happened?

all ive done is attach them to the pi and installed samba to share them

the folders everything were in are there. its just showing as empty

Hey @Peter299741,

Sorry about the delayed response. I have been sick the last few days so I have not had the chance to get to a computer.

Ok, let’s just test this.

A couple of commands:

df -h

This will show us the used space on all drives. Hopefully, this will be quite a large percentage indicating that it has not been erased.

Second:

Can you please go into one of the folders and use:

ls -la

I’m hoping that this will still show that something is there, which point to the issue being one of permissions.

Thanks Jane. hope you’re feeling a bit better!

Even when plugged into my macbook they all have no files. disk utility says they are empty aside from the folders that used to contain the files and the exfat fs data. i ran them through diskdrill and it can see them but a lot are saying unrecoverable. could permissions still be the issue?

dont stress about response times. youve been more than helpful.

1 Like

Unfortunately, Peter, I am stumped here.

A lack of read permissions can sometimes prevent files from being seen by the operating system, although the fact that you are being told that they are unrecoverable via diskdrill makes me think that is unlikely.

I really wish I had a better suggestion.

Have you made any progress since your last reply?

Hi Jane. hope you’re feeling better!

ummm yet to be seen but its currently in another deep dive. theres one main folder that if i can get that back ill be happy. i haven’t checked its progress today.

stay tuned :slight_smile:

1 Like