Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 13 Mar 2003 08:27:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 13 Mar 2003 08:27:43 -0500 Received: from relay.uni-heidelberg.de ([129.206.100.212]:25234 "EHLO relay.uni-heidelberg.de") by vger.kernel.org with ESMTP id ; Thu, 13 Mar 2003 08:27:40 -0500 From: Bernd Schubert To: Torsten Foertsch , "Jeremy Booker" Subject: Re: initrd / pivot_root + boot problems Date: Thu, 13 Mar 2003 14:38:08 +0100 User-Agent: KMail/1.5 Cc: References: <002801c2e8ea$46aadfb0$6401a8c0@jeremy> <200303130829.29989.torsten.foertsch@gmx.net> In-Reply-To: <200303130829.29989.torsten.foertsch@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303131438.08371.bernd-schubert@web.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 846 Lines: 21 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/