LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   editing inittab file from grub (https://www.linuxquestions.org/questions/linux-newbie-8/editing-inittab-file-from-grub-822514/)

rahulkya 07-27-2010 06:08 PM

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

RahulKumar07
reform.co.nr

linus72 07-27-2010 06:21 PM

hello
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

rahulkya 07-27-2010 06:30 PM

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???

Didier Spaier 07-27-2010 06:41 PM

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

saikee 07-27-2010 06:51 PM

When I Google I got this.


All times are GMT -5. The time now is 02:54 PM.