LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   init set to "1" how to change? (https://www.linuxquestions.org/questions/linux-newbie-8/init-set-to-1-how-to-change-287480/)

Billsrock61 02-07-2005 08:55 PM

init set to "1" how to change?
 
Hello - Somehow my init file got switched to number 1 and it won't even get into a command prompt it just goes to this no more processes entering single user mode....is there anyway i can change it back to 5? thanks!


Billsrock61

snatale1 02-07-2005 09:30 PM

it would help if you'd fill in your user info so we could see what distro your using. If it's a simple one like MDK, FC just re-run the installer and pick upgrade, let it "skim" over the install changing back that and anything else you may have changed,It will not affect current progs, or setting you may have installed. If not boot with a live cd and edit the file with vi (vi /etc/inittab).

Billsrock61 02-07-2005 09:31 PM

thanks alot!! i am using MDK and i'll try booting into live knoppix and changing it thanx!

Billsrock61 02-07-2005 09:47 PM

Ok im in knoppix live and i can't get to my inittab file i go into my harddrive with it and then to etc and then there isn't an inittab file in there theres only a init.d file thats in italics...any suggestions?? thanks!

scuzzman 02-08-2005 04:01 AM

If you're in Knoppix, you'll need to follow these steps (as root):
1) Create a mountpoint
Code:

mkdir /mandrake
2) chroot so that's now the drive you're working on
Code:

chroot /mandrake
3) Perform the steps you wish just as though you never used Knoppix
Code:

pico /etc/inittab


All times are GMT -5. The time now is 06:27 AM.