Re: initrd / pivot_root + boot problems

From: Bernd Schubert (bernd-schubert@web.de)
Date: Thu Mar 13 2003 - 08:38:08 EST


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/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:35 EST