try this if you do not have a live cd.....
pass init=/bin/bash while booting
at prompt,
mount / -oremount,rw
edit inittab
mount / -oremount,ro
Ctrl-Alt-Del
the live cd is the better way.
On 4/27/06, Suresh Rajashekara <[EMAIL PROTECTED]> wrote:
>
> Try passing a kernel argument , init=5 at the bootloader. I am not sure
> whether it works or not because I have not tried it. But whatever Thaths
> suggests, works for sure.
>
>
> Thaths wrote:
> > On 4/26/06, pawan alwandi <[EMAIL PROTECTED]> wrote:
> >
> >>hi all, by mistake i hav set default run level (init) to 0(halt) in inittab
> >>file. so whenever i boot to linux the system gets halted .can i reset it or
> >>should i reinstall linux(slack)?
> >
> >
> > Use a live CD like Ubuntu or Knoppix, boot into it. Mount your hard
> > disk partition containing your /etc, Edit inittab. Save. Umount the
> > hard disk partition. Reboot. Enjoy.
> >
> > Thaths
> > --
> > "Bart! With $10,000 we'd be millionaires! We could buy all kinds of
> > useful things... like love." -- Homer J. Simpson
> >
> > >
> >
>
>
> >
>
--
Aham Brahma Asmi
-- Brihadaranyaka Upanishad, Yajur Veda
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"mylug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mylug
-~----------~----~----~----~------~----~------~--~---