From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 7515 invoked from network); 12 Nov 1998 21:04:53 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 12 Nov 1998 21:04:53 -0000 Received: from earth.terran.org (bryan@earth.terran.org [208.152.24.33]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA31962 for ; Thu, 12 Nov 1998 16:04:51 -0500 Received: from localhost (bryan@localhost) by earth.terran.org (8.8.7/8.8.9) with ESMTP id NAA05924 for ; Thu, 12 Nov 1998 13:15:07 -0800 Date: Thu, 12 Nov 1998 13:15:07 -0800 (PST) From: "B. James Phillippe" To: axp-list@redhat.com Subject: Re: Booting alpha linux single user In-Reply-To: Message-ID: Organization: terran.org/darkforest.org X-Subliminal-Message: Use Linux MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 12 Nov 1998, Bruce Ediger wrote: > On Thu, 12 Nov 1998, Steven Kokinos wrote: > > > I believe the proper way to do this is something along the lines of: > > > > boot sda2:vmlinux.gz single > > Thanks for the tip. Unfortunately, either overwriting /lib/ld-linux.so.2 > and /lib/ld-2.0.7.so *really* screws things up, or it isn't the way to > get to single user mode. Tanking your loader will certainly cause you big grief. I would imagine it's much easier to repair the situation while the system is still running, because your shell is already linked and loaded and you could use some of the few statically linked tools available** to (possibly) fix the situation. My advice is to boot off a rescue disk; the one you used to install your box should suffice. **on my RedHat-5.1 Alpha box: % foreach i ( `ls -1 /{s,}bin/*` ) . if( {(file $i|&grep -q "ELF .* executable")} ) then . (ldd $i|&grep -q "not a dynamic") && echo $i is statically linked . endif . end /bin/ash.static is statically linked /bin/rpm is statically linked /sbin/e2fsck is statically linked /sbin/fsck.ext2 is statically linked /sbin/insmod.static is statically linked /sbin/ldconfig is statically linked /sbin/rmmod.static is statically linked /sbin/sln is statically linked % cheers, -bp -- B. James Phillippe . bryan@terran.org UNIX Software Engineer . http://www.terran.org/~bryan Member since 1.1.59 . finger:bryan@earth.terran.org MOTM: Waiting for the DSL to go in :/