[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Any suggestions for reviving a hosed bash?



On Sat, Apr 17, 2004 at 12:44:14PM -0800, Rob Clark wrote:

I found the easiest way was to untar a new base2.tgz 
onto a zip, boot on that zip and then mount my hosed system at /mnt.

Took a little futzing with fstab.  But I could fdisk, mke2fs, untar
and edit on another machine.


> Is there a recommended way to recover?  I have been poking around on my
> root filesystem by passing init=... args to the kernel  (ie init=/bin/ls
> -F /bin /sbin) and have come the the conclusion that bash is the only
> shell on the root fs.  (There is /bin/csh which is a symlink to a
> symlink to /usr/bin/tcsh, but /usr is a seperate fs.)  I don't think
> there is any way to recover without having a shell... because the root
> fs is still mounted read-only, it would take at least two commands to
> replace bash, but you only get one by using init=... .
> 
> I am running out of ideas to try... any suggestions?
> 
> 
> -- Rob
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Database publishing, electronic commerce, office and internet integration.


Reply to: