Re: initrd / pivot_root + boot problems

Bernd Schubert (bernd-schubert@web.de)
Thu, 13 Mar 2003 14:38:08 +0100


On Thursday 13 March 2003 08:29, Torsten Foertsch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wednesday 12 March 2003 23:54, Jeremy Booker wrote:
> > kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/sda1
>
> append to that line "init=/bin/bash" then boot. You will see a bash prompt.
> Now mount whatever is necessary, change your passwd and reboot. Maybe, you
> need a "mount -o remount,rw /" prior to changing pw.
>
And before rebooting you should also run "sync" ;-) otherwise everything you
have written to the harddisk (including your password file) would be probably
lost.

Bernd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/