FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 09-25-2010, 12:05 PM
Jitender Kiraria
 
Default Run-Level 1

Is there any way that I can set the Ubuntu 10.04 to Boot in Run Level 1( *single User mode) when system boots????????( *I mean system boots automatically in Run level 1).........*

I can do it in Fedora by editing /etc/inittab*But in Ubuntu I couldn't find this file............


If anyone have any idea......help me...... Thanx in advance..........

--
Jitu
9034317617


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-25-2010, 12:39 PM
Tom H
 
Default Run-Level 1

On Sat, Sep 25, 2010 at 8:05 AM, Jitender Kiraria <jitu960@gmail.com> wrote:
>
> Is there any way that I can set the Ubuntu 10.04 to Boot in Run Level 1(
> *single User mode) when system boots????????( *I mean system boots
> automatically in Run level 1).........
>
> I can do it in Fedora by editing /etc/inittab
> But in Ubuntu I couldn't find this file............
>
> If anyone have any idea......help me...... Thanx in advance..........

Either

create "/etc/inittab" with an "id:1:initdefault:" line

or

add "1", "s", or "S" to the "GRUB_CMDLINE_LINE_DEFAULT=" line in
"/etc/default/grub" and run "update-grub".

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-25-2010, 06:37 PM
Ric Moore
 
Default Run-Level 1

On Sat, 2010-09-25 at 17:35 +0530, Jitender Kiraria wrote:
>
>
> Is there any way that I can set the Ubuntu 10.04 to Boot in Run Level
> 1( single User mode) when system boots????????( I mean system boots
> automatically in Run level 1).........
>
>
>
> I can do it in Fedora by editing /etc/inittab
> But in Ubuntu I couldn't find this file............
>
>
>
>
> If anyone have any idea......help me...... Thanx in advance..........

I have yet to understand why Ubuntu doesn't utilize it. Ric


--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-25-2010, 06:41 PM
Tom H
 
Default Run-Level 1

On Sat, Sep 25, 2010 at 2:37 PM, Ric Moore <wayward4now@gmail.com> wrote:
> On Sat, 2010-09-25 at 17:35 +0530, Jitender Kiraria wrote:
>>
>> Is there any way that I can set the Ubuntu 10.04 to Boot in Run Level
>> 1( *single User mode) when system boots????????( *I mean system boots
>> automatically in Run level 1).........
>>
>> I can do it in Fedora by editing /etc/inittab
>> But in Ubuntu I couldn't find this file............
>
> I have yet to understand why Ubuntu doesn't utilize it.

Because Ubuntu has transferred the functionality of "/etc/initab" to
"/etc/init/*", except for "initdefault" (AFAIK) most probably because
Ubuntu and Debian only use a default of runlevel 2.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-25-2010, 06:56 PM
Ric Moore
 
Default Run-Level 1

On Sat, 2010-09-25 at 14:41 -0400, Tom H wrote:
> On Sat, Sep 25, 2010 at 2:37 PM, Ric Moore <wayward4now@gmail.com> wrote:
> > On Sat, 2010-09-25 at 17:35 +0530, Jitender Kiraria wrote:
> >>
> >> Is there any way that I can set the Ubuntu 10.04 to Boot in Run Level
> >> 1( single User mode) when system boots????????( I mean system boots
> >> automatically in Run level 1).........
> >>
> >> I can do it in Fedora by editing /etc/inittab
> >> But in Ubuntu I couldn't find this file............
> >
> > I have yet to understand why Ubuntu doesn't utilize it.
>
> Because Ubuntu has transferred the functionality of "/etc/initab" to
> "/etc/init/*", except for "initdefault" (AFAIK) most probably because
> Ubuntu and Debian only use a default of runlevel 2.


Right, I was just openly wondering why? Isn't the use of /etc/inittab
supposed to be the universal standard? Just wondering if there was some
sort of benefit to the fork. Thanks, Ric


--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-25-2010, 11:33 PM
Tom H
 
Default Run-Level 1

On Sat, Sep 25, 2010 at 2:56 PM, Ric Moore <wayward4now@gmail.com> wrote:
> On Sat, 2010-09-25 at 14:41 -0400, Tom H wrote:
>> On Sat, Sep 25, 2010 at 2:37 PM, Ric Moore <wayward4now@gmail.com> wrote:
>> > On Sat, 2010-09-25 at 17:35 +0530, Jitender Kiraria wrote:
>> >>
>> >> Is there any way that I can set the Ubuntu 10.04 to Boot in Run Level
>> >> 1( *single User mode) when system boots????????( *I mean system boots
>> >> automatically in Run level 1).........
>> >>
>> >> I can do it in Fedora by editing /etc/inittab
>> >> But in Ubuntu I couldn't find this file............
>> >
>> > I have yet to understand why Ubuntu doesn't utilize it.
>>
>> Because Ubuntu has transferred the functionality of "/etc/initab" to
>> "/etc/init/*", except for "initdefault" (AFAIK) most probably because
>> Ubuntu and Debian only use a default of runlevel 2.
>
> Right, I was just openly wondering why? Isn't the use of /etc/inittab
> supposed to be the universal standard? Just wondering if there was some
> sort of benefit to the fork.

AFAICT, the only benefit is one of coherence; namely that it is
upstart that now controls what was in "/etc/inittab" and therefore the
configuration of the items in "/etc/inittab" belong in "/etc/init".

There must be some historical reason for splitting up the boot
configuration between "/etc/inittab" and "/etc/rc.conf" but I can't
fathom it at the moment and it must no longer apply (and perhaps
should've been removed when the "/etc/rcX.d" system came into being).
I'm too tired at the moment to think about this clearly; sorry.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-25-2010, 11:53 PM
Florian Diesch
 
Default Run-Level 1

Ric Moore <wayward4now@gmail.com> writes:

> On Sat, 2010-09-25 at 14:41 -0400, Tom H wrote:
>> On Sat, Sep 25, 2010 at 2:37 PM, Ric Moore <wayward4now@gmail.com> wrote:
>> > On Sat, 2010-09-25 at 17:35 +0530, Jitender Kiraria wrote:
>> >>
>> >> Is there any way that I can set the Ubuntu 10.04 to Boot in Run Level
>> >> 1( single User mode) when system boots????????( I mean system boots
>> >> automatically in Run level 1).........
>> >>
>> >> I can do it in Fedora by editing /etc/inittab
>> >> But in Ubuntu I couldn't find this file............
>> >
>> > I have yet to understand why Ubuntu doesn't utilize it.
>>
>> Because Ubuntu has transferred the functionality of "/etc/initab" to
>> "/etc/init/*", except for "initdefault" (AFAIK) most probably because
>> Ubuntu and Debian only use a default of runlevel 2.
>
>
> Right, I was just openly wondering why? Isn't the use of /etc/inittab
> supposed to be the universal standard?

No. It's just a config file used by SysV init. As Ubuntu doesn't use
SysV init but Upstart this file is not present by default (but used by
Upstart if it is there).


> Just wondering if there was some sort of benefit to the fork.

Upstart offers much features SysV init doesn't. For end users the most
visible one is a much faster boot time.



Florian
--
Creating PDF files from other PDF files, turning and resizing pages,
multiple pages on one sheet, adding bookmarks, and more:
<http://www.florian-diesch.de/software/pdfrecycle/>

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-26-2010, 12:22 AM
Ric Moore
 
Default Run-Level 1

On Sun, 2010-09-26 at 01:53 +0200, Florian Diesch wrote:
> Ric Moore <wayward4now@gmail.com> writes:
>
> > On Sat, 2010-09-25 at 14:41 -0400, Tom H wrote:
> >> On Sat, Sep 25, 2010 at 2:37 PM, Ric Moore <wayward4now@gmail.com> wrote:
> >> > On Sat, 2010-09-25 at 17:35 +0530, Jitender Kiraria wrote:
> >> >>
> >> >> Is there any way that I can set the Ubuntu 10.04 to Boot in Run Level
> >> >> 1( single User mode) when system boots????????( I mean system boots
> >> >> automatically in Run level 1).........
> >> >>
> >> >> I can do it in Fedora by editing /etc/inittab
> >> >> But in Ubuntu I couldn't find this file............
> >> >
> >> > I have yet to understand why Ubuntu doesn't utilize it.
> >>
> >> Because Ubuntu has transferred the functionality of "/etc/initab" to
> >> "/etc/init/*", except for "initdefault" (AFAIK) most probably because
> >> Ubuntu and Debian only use a default of runlevel 2.
> >
> >
> > Right, I was just openly wondering why? Isn't the use of /etc/inittab
> > supposed to be the universal standard?
>
> No. It's just a config file used by SysV init. As Ubuntu doesn't use
> SysV init but Upstart this file is not present by default (but used by
> Upstart if it is there).
>
>
> > Just wondering if there was some sort of benefit to the fork.
>
> Upstart offers much features SysV init doesn't. For end users the most
> visible one is a much faster boot time.

Thanks. Olde Skool here, I just missed it being there. Along with floppy
drives, it's another reminder that what we used to know ain't squat no
mo'. <sighs> <drinks more prune juice> <falls face-first into my
oatmeal> Ric

--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-26-2010, 12:36 AM
Tim Henderson
 
Default Run-Level 1

Tim H.

On 09/25/10 08:05, Jitender Kiraria wrote:
>
> Is there any way that I can set the Ubuntu 10.04 to Boot in Run Level 1(
> single User mode) when system boots????????( I mean system boots
> automatically in Run level 1).........
>
> I can do it in Fedora by editing */etc/inittab *
> *But in Ubuntu I couldn't find this file............*
> *
> *
> *
> *
> *If anyone have any idea......help me...... Thanx in advance..........*
> *
> *
> --
> Jitu
> 9034317617
>

This was discussed in the xubuntu list:

Now we change the run level to 1:

Edit:
/etc/init/rc-sysinit.conf

env DEFAULT_RUNLEVEL=2
...should be...
env DEFAULT_RUNLEVEL=1

Ubuntu will run on level 1 instead of 2 for until you change this again.

Tim H.


-- xubuntu-users mailing list xubuntu-users@lists.ubuntu.com Modify
settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/xubuntu-users


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-26-2010, 01:06 AM
Tom H
 
Default Run-Level 1

On Sat, Sep 25, 2010 at 8:36 PM, Tim Henderson <bizdev@pwnspeak.com> wrote:
> On 09/25/10 08:05, Jitender Kiraria wrote:
>>
>> Is there any way that I can set the Ubuntu 10.04 to Boot in Run Level 1(
>> * single User mode) when system boots????????( *I mean system boots
>> automatically in Run level 1).........
>>
>> I can do it in Fedora by editing */etc/inittab *
>> *But in Ubuntu I couldn't find this file............*
>
> Edit:
> /etc/init/rc-sysinit.conf
>
> env DEFAULT_RUNLEVEL=2
> ...should be...
> env DEFAULT_RUNLEVEL=1

Thanks.

Never noticed the "env" statements before! Was planning to file a
feature request for an "/etc/default/runlevel" option...

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 10:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org