5

I'm using BerryBoot as my bootloader and newest Raspbian as my OS. In order to make things more secure, I've created new root user using this tutorial: LINK and then I changed my auto login username with this thread's help: Another LINK.

When I rebooted all seemed to work just fine, I was logged as my new user. In the end, I wanted to get rid of pi user once for all so I ran sudo deluser -remove-home pi command. It deleted the user but returned error (8 if I recall correctly) so I've checked running processes and I saw few processes running on Pi, even if it seemed that I am logged on new user on each reboot.

So I rebooted the Pi once more and after BerryBoot all I saw was a black screen. Something went wrong and I think and I am not sure at which point. Any solutions?

Radziu
  • 61
  • 2

1 Answers1

2

As I can't tell what else happened to the system I'd recommend you to first reflash the sdcard. Secondly create new user and add it to sudoer group and then lock the pi user.

passwd pi -l

Then reboot the system. It should work, check the running processes what user they use

ps aux

If everything checks out and no process is running with pi user, then go ahead and delete the user, but leave home directory intact. And then reboot again and lastly remove the home directory of the user. If anything fails along those steps you'll know what step did crash the system and you can investigate more.

Bungee75
  • 121
  • 4