Re: Set inittab to 3

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

 



On 05/25/2011 03:30 PM, Bob Goodwin wrote:
> On 25/05/11 10:02, R. G. Newbury wrote:
>> After fixing this, you can replace inittab with the script I posted in
>> Issue 53, which is archived here:
>>
>> http://article.gmane.org/gmane.linux.redhat.fedora.general/392873/match=re+start+system+without+x+fedora+15
>>
>>
>>
>
>          I assume it is intended that I run that script to effectively
>          change to inittab "3"?
>
>          I copy/pasted the script into a file and did"
>
>          [root@box6 bobg]# /home/bobg/apps/reviedinittab
>
>            Setting RUNLEVEL to
>
>          /home/bobg/apps/reviedinittab: line 13: [: =: unary operator
>          expected
>          ln: failed to create symbolic link `./multi-user.target': File
>          exists
>          /home/bobg/apps/reviedinittab: line 22:
>          /etc/systemd/system/default.target: No such file or directory
>              Default target set to multi-user.
>
>          It wanted to be run as root. I still boot into the graphic
>          screen. This script appears to be doing what I did manually
>          which did not work either.

That script as displayed by a web browser loading that link on gmane
is mangled by word wrap.  Each of the "ln -s" commands gets broken
into two lines.  The net result is that an essential link in
/etc/systemd/system/ gets removed, but the intended replacement gets
installed in whatever your PWD was when you ran the command, leaving
you with a system that will not boot to the default target.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux