Re: /etc/inittab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 11/5/2013 15:10, Wes James wrote:
> I noticed in /etc/inittab that it has this line:
>
> #   0 - halt (Do NOT set initdefault to this)
>
> It makes sense, but what if it did get set to 0 or 6?  Is there a way to
> boot to single-user mode anyway to edit the file and change it to a correct
> value?

Yes: http://www.cyberciti.biz/faq/grub-boot-into-single-user-mode/

I found out the easy way: by trying it in a VM.  You should have a VM 
set up for testing, too.  Set a snapshot before you do anything 
dangerous, so you can revert to it.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux