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

Re: Re: forgotten root password



On Fri, 2004-08-27 at 17:50 +0200, Giovanni Ridolfi wrote:
> > > > On Fri, 2004-08-27 at 16:30 +0200, Giovanni Ridolfi wrote:
> > > Carlos Perello Marin wrote:
> > > Which string shall I pass to yaboot to have a shell...
> > > an then... mount /dev/hda3
> > > and erase root's password from /etc/shadow?
> >
> >init=/bin/sh
> It doesn't work :-(
> 
> I have yaboot 1.3.13, and this is my "screen output"
> 
> boot: init=/bin/sh
> Please wait, loading kernel...
> /pci@f400000/ata-6@d/disk@0:3, \\init=/bin/sh : No such file or directory
> boot:
> 
> it seems to be again at the beginning.

Push twice the Tab key and see the list of kernels to boot.

If you have the default, you should have a 'Linux' entry so you should
type:

boot: Linux init=/bin/sh


Cheers.

> 
> Regards
> Giovanni
> 
> __________________________________________________________________
> Tiscali ADSL Senza Canone, paga solo quello che consumi!
> Non perdere la promozione valida fino al 31 agosto. Per te gratis il modem
> in comodato e l'attivazione. In piu' navighi a soli 1,5 euro l'ora per i
> primi tre mesi. Cosa aspetti? Attivala subito!
> http://abbonati.tiscali.it/adsl/prodotti/640Kbps/
> 
> 
> 
-- 
Carlos Perelló Marín
Debian GNU/Linux Sid (PowerPC)
Linux Registered User #121232
mailto:carlos@pemas.net || mailto:carlos@gnome.org
http://carlos.pemas.net
Valencia - Spain

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: