lkml.org 
[lkml]   [2003]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: initrd / pivot_root + boot problems
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.028 / U:1.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site