Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-27-2010, 07:08 PM   #1
Registered: Feb 2009
Location: New Delhi
Distribution: Linux mint,Ubuntu,Debian,RHEL 5,slackware 13.1, free BSD,solaris.
Posts: 186
Blog Entries: 3

Rep: Reputation: 33
editing inittab file from grub

During my several experiment on linux I accidentally put the default runlevel to the value 6..thus before starting its going to restart ..
currently running mint 9.

there is only one way that somehow i can edit that file from grub command line..

I have been never worked on grub kindly help me soon.
thanks in advace

Old 07-27-2010, 07:21 PM   #2
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
which linux distro are you using?

I dont know if you can edit grub for runlevel except in debian/ubuntu or arch/slack
for debian/ubuntu put "single" on grub kernel line

for slack put a "3" or "4" for rl 3 or 4

or just use a livecd to edit your inittab
Old 07-27-2010, 07:30 PM   #3
Registered: Feb 2009
Location: New Delhi
Distribution: Linux mint,Ubuntu,Debian,RHEL 5,slackware 13.1, free BSD,solaris.
Posts: 186

Original Poster
Blog Entries: 3

Rep: Reputation: 33
i am running linux mint 9 or you can say ubuntu 10.04 I installed it inside windows so cannot use live cd ..
what to do with grub???
Old 07-27-2010, 07:41 PM   #4
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,594

Rep: Reputation: Disabled
Try adding the runlevel you want at the end of the command line after a blank space.

Last edited by Didier Spaier; 07-27-2010 at 08:21 PM.
Old 07-27-2010, 07:51 PM   #5
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
When I Google I got this.


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
Editing inittab in FC4 so it stays in console mode? Nuvious Linux - Newbie 1 09-12-2005 06:44 AM
Recover/edit of /etc/inittab from GRUB sujith_marar Linux - General 1 09-11-2004 02:19 PM
Editing inittab & rc.4 works, but starts Gnome, not KDE Magnabrau Slackware 9 07-17-2004 06:53 PM
How to recover/edit /etc/inittab From GRUB sujith_marar Linux - Newbie 3 06-25-2004 11:28 AM
Switching Runlevels without editing inittab? Korff Linux - General 9 06-02-2003 02:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:49 AM.

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