[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Old distribution password



Ivan wrote: 
> Hallo,
> 
> I wonder if you could help me out.
> 
> Some time ago I got my Raspberry pi  and installed Debian distribution - I
> have a backup copies with name  2012-10-28-wheezy-raspbian.img   ... so you
> see it is very old one.
> 
> I was not using my Raspberrypi for some time and now I am trying to start
> it but of course I am stuck with logon.  Would you know default username /
> password combination   from that distribution?

Raspbian isn't Debian.

What you might be able to do:

reboot
- catch the grub prompt to interrupt the boot
- change the kernel command line to have 
	init=/bin/sh
- continue booting

You will get a root shell with the root filesystem mounted
read-only. Change it to read-write:

mount -o remount,rw /

Then set a new passwd for root:

passwd

then sync and reboot normally.

-dsr-


Reply to: