LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2006, 10:21 AM   #1
sugoicarl
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
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
 
Old 10-01-2006, 10:29 AM   #2
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
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?
 
Old 10-01-2006, 10:58 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
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!
 
Old 10-01-2006, 12:23 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 75
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SIGPWR sent to init, and /etc/inittab randyding Programming 5 03-27-2005 01:53 AM
Where to put init script for vgscan? TomF Linux - General 5 05-27-2004 06:57 AM
Accidentally deleted /etc/init.d .. what do i do? :| waste Linux - General 5 03-04-2004 04:39 AM
accidentally deleted /etc/rc.d/init.d/smb!! heathpitts Linux - Newbie 2 03-07-2003 01:02 PM
no inittab file? Atroxic Linux - Software 2 05-14-2002 06:26 PM


All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration