LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Accidentally put init 6 in inittab file (https://www.linuxquestions.org/questions/linux-newbie-8/accidentally-put-init-6-in-inittab-file-488461/)

sugoicarl 10-01-2006 09:21 AM

Accidentally put init 6 in inittab file
 
Hello,

I am new in Linux and I was configuring the video driver. Accidentally put the option 6 (init 6) int the /etc/inittab file. So the system reboot each time.

How can I access again to that file and modify it?

Thanks

Sugoicarl

aus9 10-01-2006 09:29 AM

easiest would be to edit the file by booting up a live cd.

however there may be options depending on how you have your bootloader configged.
what bootloader are you using pls?

trickykid 10-01-2006 09:58 AM

Why use a rescue disk.. at your grub or lilo prompt, specify the init level you want to boot into, say for instance.. single user mode, edit your inittab and reboot, simple as that!

osor 10-01-2006 11:23 AM

Quote:

Originally Posted by trickykid
Why use a rescue disk.. at your grub or lilo prompt, specify the init level you want to boot into, say for instance.. single user mode, edit your inittab and reboot, simple as that!

As aus9 mentioned, it depends on how your bootloader is setup. Many (with only one distro) choose not to have a boot prompt (i.e., choose to have it boot without any waiting time).


All times are GMT -5. The time now is 10:46 PM.