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@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to