LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 09: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, 09:29 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

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, 09:58 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 11:23 AM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
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



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 12:53 AM
Where to put init script for vgscan? TomF Linux - General 5 05-27-2004 05:57 AM
Accidentally deleted /etc/init.d .. what do i do? :| waste Linux - General 5 03-04-2004 03:39 AM
accidentally deleted /etc/rc.d/init.d/smb!! heathpitts Linux - Newbie 2 03-07-2003 12:02 PM
no inittab file? Atroxic Linux - Software 2 05-14-2002 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 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
Open Source Consulting | Domain Registration