* [gentoo-user] grub menu and the new openrc
@ 2011-05-15 10:34 Dale
2011-05-15 11:21 ` Neil Bothwick
` (3 more replies)
0 siblings, 4 replies; 33+ messages in thread
From: Dale @ 2011-05-15 10:34 UTC (permalink / raw
To: Gentoo User
Hi,
I updated my kernel and had to reboot. I usually boot to single user
mode and rebuild my video drivers. Since I have this in my grub list, I
just select single user and it boots to single user mode. Well, not any
more. This is my current settings:
title Gentoo
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3
title Gentoo boot level
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
title Gentoo single user
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single
root@fireball / #
I went back and looked at the guide but no mention of this. I don't see
anything in the man pages either. What is the correct way to define a
runlevel to boot to in grub with the new openrc?
Thanks.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 10:34 [gentoo-user] grub menu and the new openrc Dale
@ 2011-05-15 11:21 ` Neil Bothwick
2011-05-15 13:14 ` Dale
2011-05-15 15:36 ` Graham Murray
2011-05-15 15:20 ` Mick
` (2 subsequent siblings)
3 siblings, 2 replies; 33+ messages in thread
From: Neil Bothwick @ 2011-05-15 11:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
On Sun, 15 May 2011 05:34:07 -0500, Dale wrote:
> I updated my kernel and had to reboot. I usually boot to single user
> mode and rebuild my video drivers.
Why not rebuild them before you reboot? It's far more convenient.
--
Neil Bothwick
Where do you think you're going today?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 11:21 ` Neil Bothwick
@ 2011-05-15 13:14 ` Dale
2011-05-15 17:40 ` Alan McKinnon
2011-05-15 15:36 ` Graham Murray
1 sibling, 1 reply; 33+ messages in thread
From: Dale @ 2011-05-15 13:14 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
> On Sun, 15 May 2011 05:34:07 -0500, Dale wrote:
>
>
>> I updated my kernel and had to reboot. I usually boot to single user
>> mode and rebuild my video drivers.
>>
> Why not rebuild them before you reboot? It's far more convenient.
>
>
>
But that doesn't fix the problem I posted. There are times when I need
to boot to something besides the default runlevel. Right now, I can't
do that so I want to fix it so that I can boot to another runlevel.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 10:34 [gentoo-user] grub menu and the new openrc Dale
2011-05-15 11:21 ` Neil Bothwick
@ 2011-05-15 15:20 ` Mick
2011-05-15 15:39 ` Dale
2011-05-15 16:21 ` Daniel da Veiga
2011-05-15 18:47 ` [gentoo-user] " Nikos Chantziaras
3 siblings, 1 reply; 33+ messages in thread
From: Mick @ 2011-05-15 15:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 1429 bytes --]
On Sunday 15 May 2011 11:34:07 Dale wrote:
> Hi,
>
> I updated my kernel and had to reboot. I usually boot to single user
> mode and rebuild my video drivers. Since I have this in my grub list, I
> just select single user and it boots to single user mode. Well, not any
> more. This is my current settings:
>
> title Gentoo
> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3
>
> title Gentoo boot level
> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
>
> title Gentoo single user
> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single
>
> root@fireball / #
>
> I went back and looked at the guide but no mention of this. I don't see
> anything in the man pages either. What is the correct way to define a
> runlevel to boot to in grub with the new openrc?
>
> Thanks.
>
> Dale
>
> :-) :-)
According to my /etc/inittab:
# new-style single-user
su0:S:wait:/sbin/rc single
su1:S:wait:/sbin/sulogin
so softlevel=single should get you there. However, you say it doesn't ...
# rc-update show single
#
Hmm ... nothing there. Sure enough its empty:
$ ls -la /etc/runlevels/single/
total 8
drwxr-xr-x 2 root root 4096 Jan 21 2010 .
drwxr-xr-x 8 root root 4096 May 2 10:54 ..
So, what you would need to do I think is add the services you want starting at
single runlevel there and you should be good to go.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 11:21 ` Neil Bothwick
2011-05-15 13:14 ` Dale
@ 2011-05-15 15:36 ` Graham Murray
2011-05-15 18:11 ` Neil Bothwick
1 sibling, 1 reply; 33+ messages in thread
From: Graham Murray @ 2011-05-15 15:36 UTC (permalink / raw
To: gentoo-user
Neil Bothwick <neil@digimed.co.uk> writes:
> On Sun, 15 May 2011 05:34:07 -0500, Dale wrote:
>
>> I updated my kernel and had to reboot. I usually boot to single user
>> mode and rebuild my video drivers.
>
> Why not rebuild them before you reboot? It's far more convenient.
I do not know about the particular video drivers, but I have used some
'out-of-tree' drivers[1] which only build against the running kernel not
the (built but not yet booted) one in /usr/src/linux.
[1] The one which immediately comes to mind is for the Digi Etherlite
network serial port adaptors.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 15:20 ` Mick
@ 2011-05-15 15:39 ` Dale
2011-05-15 15:58 ` Mick
0 siblings, 1 reply; 33+ messages in thread
From: Dale @ 2011-05-15 15:39 UTC (permalink / raw
To: gentoo-user
Mick wrote:
> On Sunday 15 May 2011 11:34:07 Dale wrote:
>
>> Hi,
>>
>> I updated my kernel and had to reboot. I usually boot to single user
>> mode and rebuild my video drivers. Since I have this in my grub list, I
>> just select single user and it boots to single user mode. Well, not any
>> more. This is my current settings:
>>
>> title Gentoo
>> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3
>>
>> title Gentoo boot level
>> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
>>
>> title Gentoo single user
>> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single
>>
>> root@fireball / #
>>
>> I went back and looked at the guide but no mention of this. I don't see
>> anything in the man pages either. What is the correct way to define a
>> runlevel to boot to in grub with the new openrc?
>>
>> Thanks.
>>
>> Dale
>>
>> :-) :-)
>>
> According to my /etc/inittab:
>
> # new-style single-user
> su0:S:wait:/sbin/rc single
> su1:S:wait:/sbin/sulogin
>
> so softlevel=single should get you there. However, you say it doesn't ...
>
> # rc-update show single
> #
>
> Hmm ... nothing there. Sure enough its empty:
>
> $ ls -la /etc/runlevels/single/
> total 8
> drwxr-xr-x 2 root root 4096 Jan 21 2010 .
> drwxr-xr-x 8 root root 4096 May 2 10:54 ..
>
> So, what you would need to do I think is add the services you want starting at
> single runlevel there and you should be good to go.
>
There never has been anything in my single user runlevel. It worked
fine a few weeks ago but after the openrc upgrade, no more worky.
The funny thing is, I can go to a console and type in rc single, that
works fine. It goes to single user mode with no errors. Well, I did
notice top showed the ttys still running. I'm going to test that
later. That may be another thread for another day. Sort of beating on
one thing at a time. ;-)
I just thought maybe it changed from softlevel to something else but if
it did, I can't find it documented anywhere and even Google appears to
be lost on this.
Open to ideas still.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 15:39 ` Dale
@ 2011-05-15 15:58 ` Mick
0 siblings, 0 replies; 33+ messages in thread
From: Mick @ 2011-05-15 15:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 3097 bytes --]
On Sunday 15 May 2011 16:39:19 Dale wrote:
> Mick wrote:
> > On Sunday 15 May 2011 11:34:07 Dale wrote:
> >> Hi,
> >>
> >> I updated my kernel and had to reboot. I usually boot to single user
> >> mode and rebuild my video drivers. Since I have this in my grub list, I
> >> just select single user and it boots to single user mode. Well, not any
> >> more. This is my current settings:
> >>
> >> title Gentoo
> >> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3
> >>
> >> title Gentoo boot level
> >> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
> >>
> >> title Gentoo single user
> >> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single
> >>
> >> root@fireball / #
> >>
> >> I went back and looked at the guide but no mention of this. I don't see
> >> anything in the man pages either. What is the correct way to define a
> >> runlevel to boot to in grub with the new openrc?
> >>
> >> Thanks.
> >>
> >> Dale
> >>
> >> :-) :-)
> >
> > According to my /etc/inittab:
> >
> > # new-style single-user
> > su0:S:wait:/sbin/rc single
> > su1:S:wait:/sbin/sulogin
> >
> > so softlevel=single should get you there. However, you say it doesn't
> > ...
> >
> > # rc-update show single
> > #
> >
> > Hmm ... nothing there. Sure enough its empty:
> >
> > $ ls -la /etc/runlevels/single/
> > total 8
> > drwxr-xr-x 2 root root 4096 Jan 21 2010 .
> > drwxr-xr-x 8 root root 4096 May 2 10:54 ..
> >
> > So, what you would need to do I think is add the services you want
> > starting at single runlevel there and you should be good to go.
>
> There never has been anything in my single user runlevel. It worked
> fine a few weeks ago but after the openrc upgrade, no more worky.
>
> The funny thing is, I can go to a console and type in rc single, that
> works fine. It goes to single user mode with no errors. Well, I did
> notice top showed the ttys still running. I'm going to test that
> later. That may be another thread for another day. Sort of beating on
> one thing at a time. ;-)
>
> I just thought maybe it changed from softlevel to something else but if
> it did, I can't find it documented anywhere and even Google appears to
> be lost on this.
>
> Open to ideas still.
The so called 'single' softlevel is a Gentoo fix for user specified runlevels
with their own selected services. I don't have a pre-OpenRC box to check that
it linked to, but I seem to remember that it went to runlevel 3 and adjusted
services from there.
The standard Linux runlevel called also single (confusing isn't it) stops
before runlevel 3 and asks for a root passwd (or Control+D to continue). It
can be called by appending 1 or S to the boot line.
If you don't want to have to login with a password then I think you need to
append 'init=/bin/bash' and mount as rw what fs you need to work on. You'll
have to sync and umount before you reboot to be safe.
Could also work with 'init=/bin/bb' for busybox - but I'm not sure.
HTH.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 10:34 [gentoo-user] grub menu and the new openrc Dale
2011-05-15 11:21 ` Neil Bothwick
2011-05-15 15:20 ` Mick
@ 2011-05-15 16:21 ` Daniel da Veiga
2011-05-15 18:15 ` Dale
2011-05-15 23:12 ` Dale
2011-05-15 18:47 ` [gentoo-user] " Nikos Chantziaras
3 siblings, 2 replies; 33+ messages in thread
From: Daniel da Veiga @ 2011-05-15 16:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]
I have a similar entry, but have never used the softlevel= flag, I simply
append "single" at the end of the kernel call and it boots in single user
(root password or ctrl+d to continue).
On Sun, May 15, 2011 at 07:34, Dale <rdalek1967@gmail.com> wrote:
> Hi,
>
> I updated my kernel and had to reboot. I usually boot to single user mode
> and rebuild my video drivers. Since I have this in my grub list, I just
> select single user and it boots to single user mode. Well, not any more.
> This is my current settings:
>
> title Gentoo
> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3
>
> title Gentoo boot level
> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
>
> title Gentoo single user
> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single
>
> root@fireball / #
>
> I went back and looked at the guide but no mention of this. I don't see
> anything in the man pages either. What is the correct way to define a
> runlevel to boot to in grub with the new openrc?
>
> Thanks.
>
> Dale
>
> :-) :-)
>
>
--
Daniel da Veiga
[-- Attachment #2: Type: text/html, Size: 1440 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 13:14 ` Dale
@ 2011-05-15 17:40 ` Alan McKinnon
0 siblings, 0 replies; 33+ messages in thread
From: Alan McKinnon @ 2011-05-15 17:40 UTC (permalink / raw
To: gentoo-user; +Cc: Dale
Apparently, though unproven, at 15:14 on Sunday 15 May 2011, Dale did opine
thusly:
> Neil Bothwick wrote:
> > On Sun, 15 May 2011 05:34:07 -0500, Dale wrote:
> >> I updated my kernel and had to reboot. I usually boot to single user
> >> mode and rebuild my video drivers.
> >
> > Why not rebuild them before you reboot? It's far more convenient.
>
> But that doesn't fix the problem I posted. There are times when I need
> to boot to something besides the default runlevel. Right now, I can't
> do that so I want to fix it so that I can boot to another runlevel.
Like what for instance?
I can't remember the last time I needed single user mode. In excess of 4 years
methinks. It would appear that you are doing something wrong and taking
unneccessary steps to accomplish something.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 15:36 ` Graham Murray
@ 2011-05-15 18:11 ` Neil Bothwick
0 siblings, 0 replies; 33+ messages in thread
From: Neil Bothwick @ 2011-05-15 18:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]
On Sun, 15 May 2011 16:36:10 +0100, Graham Murray wrote:
> >> I updated my kernel and had to reboot. I usually boot to single
> >> user mode and rebuild my video drivers.
> >
> > Why not rebuild them before you reboot? It's far more convenient.
>
> I do not know about the particular video drivers, but I have used some
> 'out-of-tree' drivers[1] which only build against the running kernel not
> the (built but not yet booted) one in /usr/src/linux.
The Nvidia drivers build against /usr/src/linux, or any alternative
location you set.
--
Neil Bothwick
To the optimist, the glass is half full. To the pessimist, the glass is
half empty. To the engineer, the glass is twice as big as it needs to be.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 16:21 ` Daniel da Veiga
@ 2011-05-15 18:15 ` Dale
2011-05-15 23:12 ` Dale
1 sibling, 0 replies; 33+ messages in thread
From: Dale @ 2011-05-15 18:15 UTC (permalink / raw
To: gentoo-user
Daniel da Veiga wrote:
> I have a similar entry, but have never used the softlevel= flag, I
> simply append "single" at the end of the kernel call and it boots in
> single user (root password or ctrl+d to continue).
>
May try that next. I don't need this right now but I do want to figure
this out before I do.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* [gentoo-user] Re: grub menu and the new openrc
2011-05-15 10:34 [gentoo-user] grub menu and the new openrc Dale
` (2 preceding siblings ...)
2011-05-15 16:21 ` Daniel da Veiga
@ 2011-05-15 18:47 ` Nikos Chantziaras
3 siblings, 0 replies; 33+ messages in thread
From: Nikos Chantziaras @ 2011-05-15 18:47 UTC (permalink / raw
To: gentoo-user
On 05/15/2011 01:34 PM, Dale wrote:
> Hi,
>
> I updated my kernel and had to reboot. I usually boot to single user
> mode and rebuild my video drivers. Since I have this in my grub list, I
> just select single user and it boots to single user mode. Well, not any
> more. This is my current settings:
No need for single user in this case. In the grub bootscreen, just
append "nox" in the command line. You don't even need an entry in
grub.conf for this. This will boot normally, but without starting X.
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 16:21 ` Daniel da Veiga
2011-05-15 18:15 ` Dale
@ 2011-05-15 23:12 ` Dale
2011-05-16 1:36 ` Daniel da Veiga
1 sibling, 1 reply; 33+ messages in thread
From: Dale @ 2011-05-15 23:12 UTC (permalink / raw
To: gentoo-user
Daniel da Veiga wrote:
> I have a similar entry, but have never used the softlevel= flag, I
> simply append "single" at the end of the kernel call and it boots in
> single user (root password or ctrl+d to continue).
>
I did get this to work:
title Gentoo single user
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 rw single
So, all I need now is to figure out how to get this work:
title Gentoo boot level
kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
It appears the softlevel= is no longer working with the new openrc. It
looks like the docs need to be updated. I also tried init= and it
doesn't work either.
Time to go farther up the food chain I guess. The docs need to be
changed at least.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-15 23:12 ` Dale
@ 2011-05-16 1:36 ` Daniel da Veiga
2011-05-16 1:47 ` Dale
0 siblings, 1 reply; 33+ messages in thread
From: Daniel da Veiga @ 2011-05-16 1:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1275 bytes --]
On Sun, May 15, 2011 at 20:12, Dale <rdalek1967@gmail.com> wrote:
> Daniel da Veiga wrote:
>
>> I have a similar entry, but have never used the softlevel= flag, I simply
>> append "single" at the end of the kernel call and it boots in single user
>> (root password or ctrl+d to continue).
>>
>>
> I did get this to work:
>
> title Gentoo single user
> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 rw single
>
> So, all I need now is to figure out how to get this work:
>
>
> title Gentoo boot level
> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
>
> It appears the softlevel= is no longer working with the new openrc. It
> looks like the docs need to be updated. I also tried init= and it doesn't
> work either.
>
> Time to go farther up the food chain I guess. The docs need to be changed
> at least.
Updated docs are always good, but I wonder why do you need this.
If I need single user I simply press "e", edit the line and add single,
followed by a "b" to boot. That is a for maintenance only so I really don't
see a need for it at grub menu, same wth the other runlevels, all you gotta
do is append "nox" or use Interactive (again, this is only if something is
broken, I can't see myself doing this twice in a week)...
--
Daniel da Veiga
[-- Attachment #2: Type: text/html, Size: 1807 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-16 1:36 ` Daniel da Veiga
@ 2011-05-16 1:47 ` Dale
2011-05-16 6:09 ` Mick
0 siblings, 1 reply; 33+ messages in thread
From: Dale @ 2011-05-16 1:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2004 bytes --]
Daniel da Veiga wrote:
> On Sun, May 15, 2011 at 20:12, Dale <rdalek1967@gmail.com
> <mailto:rdalek1967@gmail.com>> wrote:
>
> Daniel da Veiga wrote:
>
> I have a similar entry, but have never used the softlevel=
> flag, I simply append "single" at the end of the kernel call
> and it boots in single user (root password or ctrl+d to continue).
>
>
> I did get this to work:
>
> title Gentoo single user
> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 rw single
>
> So, all I need now is to figure out how to get this work:
>
>
> title Gentoo boot level
> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
>
> It appears the softlevel= is no longer working with the new
> openrc. It looks like the docs need to be updated. I also tried
> init= and it doesn't work either.
>
> Time to go farther up the food chain I guess. The docs need to be
> changed at least.
>
>
> Updated docs are always good, but I wonder why do you need this.
> If I need single user I simply press "e", edit the line and add
> single, followed by a "b" to boot. That is a for maintenance only so I
> really don't see a need for it at grub menu, same wth the other
> runlevels, all you gotta do is append "nox" or use Interactive (again,
> this is only if something is broken, I can't see myself doing this
> twice in a week)...
>
> --
> Daniel da Veiga
The thing is, I do use them which is why I went to the trouble of
setting them up to begin with. I actually use them pretty regular.
Just because others don't use them doesn't mean that I don't or shouldn't.
I tried to use them is how I figured out it didn't work anymore. That
alone shows that I use them for various reasons. This update is less
than a week old and I already found out that this doesn't work anymore.
I just want to figure out how it works with openrc which it appears no
one has a answer and the docs are wrong as well.
Thanks.
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 2878 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-16 1:47 ` Dale
@ 2011-05-16 6:09 ` Mick
2011-05-16 12:10 ` Dale
0 siblings, 1 reply; 33+ messages in thread
From: Mick @ 2011-05-16 6:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2737 bytes --]
On Monday 16 May 2011 02:47:31 Dale wrote:
> Daniel da Veiga wrote:
> > On Sun, May 15, 2011 at 20:12, Dale <rdalek1967@gmail.com
> >
> > <mailto:rdalek1967@gmail.com>> wrote:
> > Daniel da Veiga wrote:
> > I have a similar entry, but have never used the softlevel=
> > flag, I simply append "single" at the end of the kernel call
> > and it boots in single user (root password or ctrl+d to
> > continue).
> >
> > I did get this to work:
> >
> > title Gentoo single user
> > kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 rw single
> >
> > So, all I need now is to figure out how to get this work:
> >
> >
> > title Gentoo boot level
> > kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
> >
> > It appears the softlevel= is no longer working with the new
> > openrc. It looks like the docs need to be updated. I also tried
> > init= and it doesn't work either.
Did you try creating a new runlevel (dale_special) and then booting into it by
appending softlevel=dale_special ?
That will prove if the Gentoo softlevel mechanism is no longer available.
> > Time to go farther up the food chain I guess. The docs need to be
> > changed at least.
> >
> > Updated docs are always good, but I wonder why do you need this.
> > If I need single user I simply press "e", edit the line and add
> > single, followed by a "b" to boot. That is a for maintenance only so I
> > really don't see a need for it at grub menu, same wth the other
> > runlevels, all you gotta do is append "nox" or use Interactive (again,
> > this is only if something is broken, I can't see myself doing this
> > twice in a week)...
I think that nox brings you all the way up to runlevel 3, not runlevel 1.
> The thing is, I do use them which is why I went to the trouble of
> setting them up to begin with. I actually use them pretty regular.
> Just because others don't use them doesn't mean that I don't or shouldn't.
>
> I tried to use them is how I figured out it didn't work anymore. That
> alone shows that I use them for various reasons. This update is less
> than a week old and I already found out that this doesn't work anymore.
> I just want to figure out how it works with openrc which it appears no
> one has a answer and the docs are wrong as well.
The definitive answer is that the gentoo "single" softlevel does not work.
The Linux standard "single" or "S" or "1" runlevel works fine (but I can't
recall if I tried "1" recently).
So the question remains what is happening with other softlevels if you care to
create them.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-16 6:09 ` Mick
@ 2011-05-16 12:10 ` Dale
2011-05-17 5:58 ` Mick
0 siblings, 1 reply; 33+ messages in thread
From: Dale @ 2011-05-16 12:10 UTC (permalink / raw
To: gentoo-user
Mick wrote:
> On Monday 16 May 2011 02:47:31 Dale wrote:
>
>> Daniel da Veiga wrote:
>>
>>> On Sun, May 15, 2011 at 20:12, Dale<rdalek1967@gmail.com
>>>
>>> <mailto:rdalek1967@gmail.com>> wrote:
>>> Daniel da Veiga wrote:
>>> I have a similar entry, but have never used the softlevel=
>>> flag, I simply append "single" at the end of the kernel call
>>> and it boots in single user (root password or ctrl+d to
>>> continue).
>>>
>>> I did get this to work:
>>>
>>> title Gentoo single user
>>> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 rw single
>>>
>>> So, all I need now is to figure out how to get this work:
>>>
>>>
>>> title Gentoo boot level
>>> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot
>>>
>>> It appears the softlevel= is no longer working with the new
>>> openrc. It looks like the docs need to be updated. I also tried
>>> init= and it doesn't work either.
>>>
> Did you try creating a new runlevel (dale_special) and then booting into it by
> appending softlevel=dale_special ?
>
> That will prove if the Gentoo softlevel mechanism is no longer available.
>
>
>
I tried some of the other runlevels, nonetwork, single, boot and none of
those work except for single by just putting "rw single" in the boot
line. Single doesn't work if I select it by using softlevel=single.
That does work if I am in default then switch to single in a console
tho. That would be using the "rc single" command. I used to have
another runlevel that I created myself but I removed it a good while
back when I got boot set up like I wanted. It appears that openrc has
not been told what softlevel is. I do see where it is passed on to the
OS from grub during the boot process tho.
>>> Time to go farther up the food chain I guess. The docs need to be
>>> changed at least.
>>>
>>> Updated docs are always good, but I wonder why do you need this.
>>> If I need single user I simply press "e", edit the line and add
>>> single, followed by a "b" to boot. That is a for maintenance only so I
>>> really don't see a need for it at grub menu, same wth the other
>>> runlevels, all you gotta do is append "nox" or use Interactive (again,
>>> this is only if something is broken, I can't see myself doing this
>>> twice in a week)...
>>>
> I think that nox brings you all the way up to runlevel 3, not runlevel 1.
>
>
>
I have used nox before on a CD. The reason I like to use the ones I
already have is that I already know exactly what is running and what is
not. When I boot to single by adding "rw single" to the end of the boot
line, I still have to start some services to get where I want to be.
Being able to boot to the boot runlevel is much better since I have some
things already set to start. Openrc doesn't mount things listed in
fstab such as /home/ portage and /var which are separate partitions.
>> The thing is, I do use them which is why I went to the trouble of
>> setting them up to begin with. I actually use them pretty regular.
>> Just because others don't use them doesn't mean that I don't or shouldn't.
>>
>> I tried to use them is how I figured out it didn't work anymore. That
>> alone shows that I use them for various reasons. This update is less
>> than a week old and I already found out that this doesn't work anymore.
>> I just want to figure out how it works with openrc which it appears no
>> one has a answer and the docs are wrong as well.
>>
> The definitive answer is that the gentoo "single" softlevel does not work.
> The Linux standard "single" or "S" or "1" runlevel works fine (but I can't
> recall if I tried "1" recently).
>
> So the question remains what is happening with other softlevels if you care to
> create them.
>
>
I'm beginning to think that openrc goes back to the "old" Linux way. In
other words, it uses the init levels instead of softlevels. The only
thing that makes me think that is not true, init=runlevel doesn't work
either. I suspect that init=/bin/bash would work but not tested yet. I
have this in inittab:
l0:0:wait:/sbin/rc shutdown
l0s:0:wait:/sbin/halt -dhp
l1:1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
l6r:6:wait:/sbin/reboot -dk
I assume I could edit that to look like this:
l0:0:wait:/sbin/rc shutdown
l0s:0:wait:/sbin/halt -dhp
l1:1:wait:/sbin/rc single
l2:2:wait:/sbin/rc boot
l3:3:wait:/sbin/rc nonetwork
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
l6r:6:wait:/sbin/reboot -dk
#z6:6:respawn:/sbin/sulogin
The only problem with that is that there are more runlevel options than
there are lines there for me to add.
Even tho I can sort of get to what I want, I still want to get the new
way sorted so that I can get the doc team to update the docs. If this
has been overlooked, then it may be that the devs will have to add this
feature or make other changes so that this is doable.
I also posted on the forums. They are equally stumped. I am beginning
to think this was over looked somehow.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-16 12:10 ` Dale
@ 2011-05-17 5:58 ` Mick
2011-05-17 9:14 ` Neil Bothwick
0 siblings, 1 reply; 33+ messages in thread
From: Mick @ 2011-05-17 5:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 5718 bytes --]
On Monday 16 May 2011 13:10:52 Dale wrote:
> Mick wrote:
> > Did you try creating a new runlevel (dale_special) and then booting into
> > it by appending softlevel=dale_special ?
> >
> > That will prove if the Gentoo softlevel mechanism is no longer available.
>
> I tried some of the other runlevels, nonetwork, single, boot and none of
> those work except for single by just putting "rw single" in the boot
> line. Single doesn't work if I select it by using softlevel=single.
> That does work if I am in default then switch to single in a console
> tho. That would be using the "rc single" command. I used to have
> another runlevel that I created myself but I removed it a good while
> back when I got boot set up like I wanted. It appears that openrc has
> not been told what softlevel is. I do see where it is passed on to the
> OS from grub during the boot process tho.
OK, it is clear then that (some?) of the gentoo runlevels called with the
softlevel incantation do not work as they used to with baselayout 1. I just
tried softlevel=single and it definitely didn't work. Also,
softlevel=sysinit, didn't work. However, softlevel=nonetwork *did* work ...
well, sort of. It mounted everything, then started devices including my
network card (I have enabled rc_hotplugging devices in /etc/rc.conf so this
may have something to do with it) and then it stopped before starting things
like iptables, local, etc.
Sure enough I had an IP address and was able to connect to the world ...
albeit without iptables running (not sure I would have a use case for this
scenario).
I'm not sure if setting rc_hotplug made this messy, but from
$ ls -la /etc/runlevels/
total 32
drwxr-xr-x 8 root root 4096 May 2 10:54 .
drwxr-xr-x 88 root root 4096 May 16 21:11 ..
drwxr-xr-x 2 root root 4096 May 2 10:54 boot
drwxr-xr-x 2 root root 4096 May 15 20:01 default
drwxr-xr-x 2 root root 4096 Jan 21 2010 nonetwork
drwxr-xr-x 2 root root 4096 May 2 10:54 shutdown
drwxr-xr-x 2 root root 4096 Jan 21 2010 single
drwxr-xr-x 2 root root 4096 May 2 10:54 sysinit
single and sysinit are ignored (runlevel 3 comes up).
> > I think that nox brings you all the way up to runlevel 3, not runlevel 1.
>
> I have used nox before on a CD. The reason I like to use the ones I
> already have is that I already know exactly what is running and what is
> not. When I boot to single by adding "rw single" to the end of the boot
> line, I still have to start some services to get where I want to be.
> Being able to boot to the boot runlevel is much better since I have some
> things already set to start. Openrc doesn't mount things listed in
> fstab such as /home/ portage and /var which are separate partitions.
I wouldn't expect it to mount anything other than / under single.
> >> The thing is, I do use them which is why I went to the trouble of
> >> setting them up to begin with. I actually use them pretty regular.
> >> Just because others don't use them doesn't mean that I don't or
> >> shouldn't.
In that case you probably need runlevel 3, but just with nox?
> > The definitive answer is that the gentoo "single" softlevel does not
> > work. The Linux standard "single" or "S" or "1" runlevel works fine (but
> > I can't recall if I tried "1" recently).
> >
> > So the question remains what is happening with other softlevels if you
> > care to create them.
>
> I'm beginning to think that openrc goes back to the "old" Linux way. In
> other words, it uses the init levels instead of softlevels.
Yes, this seems to be the case, although not in a clear way (otherwise why is
softlevel=nonetwork working?)
> The only
> thing that makes me think that is not true, init=runlevel doesn't work
> either. I suspect that init=/bin/bash would work but not tested yet.
init="/bin/bash" works. You log in as root user without passwd. Only the /
fs is mounted as rw. Everything else is a manual job and you must run sync
after you make any changes, or your fs may not forgive you.
> I
> have this in inittab:
>
> l0:0:wait:/sbin/rc shutdown
> l0s:0:wait:/sbin/halt -dhp
> l1:1:wait:/sbin/rc single
> l2:2:wait:/sbin/rc nonetwork
> l3:3:wait:/sbin/rc default
> l4:4:wait:/sbin/rc default
> l5:5:wait:/sbin/rc default
> l6:6:wait:/sbin/rc reboot
> l6r:6:wait:/sbin/reboot -dk
If you append any number from above, like 1, or 2, or 3, etc. to the kernel
line it will work.
> I assume I could edit that to look like this:
>
> l0:0:wait:/sbin/rc shutdown
> l0s:0:wait:/sbin/halt -dhp
> l1:1:wait:/sbin/rc single
> l2:2:wait:/sbin/rc boot
> l3:3:wait:/sbin/rc nonetwork
> l4:4:wait:/sbin/rc default
> l5:5:wait:/sbin/rc default
> l6:6:wait:/sbin/rc reboot
> l6r:6:wait:/sbin/reboot -dk
> #z6:6:respawn:/sbin/sulogin
>
> The only problem with that is that there are more runlevel options than
> there are lines there for me to add.
I am not sure that you are meant to edit this manually. I thought that if you
want another runlevel you are meant to add this using rc-update and then add
the services via symlinks in /etc/runlevels/<my_runlevel_name>/
> Even tho I can sort of get to what I want, I still want to get the new
> way sorted so that I can get the doc team to update the docs. If this
> has been overlooked, then it may be that the devs will have to add this
> feature or make other changes so that this is doable.
>
> I also posted on the forums. They are equally stumped. I am beginning
> to think this was over looked somehow.
Please let us know what's the new way to do this once it settles.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-17 5:58 ` Mick
@ 2011-05-17 9:14 ` Neil Bothwick
2011-05-17 14:20 ` Dale
0 siblings, 1 reply; 33+ messages in thread
From: Neil Bothwick @ 2011-05-17 9:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
On Tue, 17 May 2011 06:58:20 +0100, Mick wrote:
> > I'm beginning to think that openrc goes back to the "old" Linux way.
> > In other words, it uses the init levels instead of softlevels.
>
> Yes, this seems to be the case, although not in a clear way (otherwise
> why is softlevel=nonetwork working?)
man rc describes the built in runlevels and goes on to say "You should
not call any of these runlevels yourself". So maybe this is a design
decision rather than a bug, it would explain why a custom runlevel works.
--
Neil Bothwick
Atheism is a non-prophet organization.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-17 9:14 ` Neil Bothwick
@ 2011-05-17 14:20 ` Dale
2011-05-17 19:31 ` William Hubbs
0 siblings, 1 reply; 33+ messages in thread
From: Dale @ 2011-05-17 14:20 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
> On Tue, 17 May 2011 06:58:20 +0100, Mick wrote:
>
>
>>> I'm beginning to think that openrc goes back to the "old" Linux way.
>>> In other words, it uses the init levels instead of softlevels.
>>>
>> Yes, this seems to be the case, although not in a clear way (otherwise
>> why is softlevel=nonetwork working?)
>>
> man rc describes the built in runlevels and goes on to say "You should
> not call any of these runlevels yourself". So maybe this is a design
> decision rather than a bug, it would explain why a custom runlevel works.
>
>
>
So do I need to create a runlevel called dalesboot and then just put the
same stuff in it as is in the normal boot level? I have to say, that is
weird. A runlevel should be used by both the system and available to
the user as well.
Did I mention I can go to a console and use rc boot and it works? It's
just when it comes from grub that it doesn't work.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-17 14:20 ` Dale
@ 2011-05-17 19:31 ` William Hubbs
2011-05-17 23:29 ` Dale
2011-05-18 1:48 ` Dale
0 siblings, 2 replies; 33+ messages in thread
From: William Hubbs @ 2011-05-17 19:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 706 bytes --]
Hi Dale,
On Tue, May 17, 2011 at 09:20:52AM -0500, Dale wrote:
> So do I need to create a runlevel called dalesboot and then just put the
> same stuff in it as is in the normal boot level? I have to say, that is
> weird. A runlevel should be used by both the system and available to
> the user as well.
Actually the boot runlevel is not a runlevel in the way you are
thinking. It is just a group of services that need to be run once when
your system starts. It is run once when you boot right after the sysinit
"runlevel".
It sounds like you might want to use the "nonetwork" runlevel for what
you are trying to do since the only thing in there is the local service.
William
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-17 19:31 ` William Hubbs
@ 2011-05-17 23:29 ` Dale
2011-05-18 1:48 ` Dale
1 sibling, 0 replies; 33+ messages in thread
From: Dale @ 2011-05-17 23:29 UTC (permalink / raw
To: gentoo-user
William Hubbs wrote:
> Hi Dale,
>
>
> On Tue, May 17, 2011 at 09:20:52AM -0500, Dale wrote:
>
>> So do I need to create a runlevel called dalesboot and then just put the
>> same stuff in it as is in the normal boot level? I have to say, that is
>> weird. A runlevel should be used by both the system and available to
>> the user as well.
>>
> Actually the boot runlevel is not a runlevel in the way you are
> thinking. It is just a group of services that need to be run once when
> your system starts. It is run once when you boot right after the sysinit
> "runlevel".
>
> It sounds like you might want to use the "nonetwork" runlevel for what
> you are trying to do since the only thing in there is the local service.
>
> William
>
>
That may be true but until the openrc upgrade, it worked. I emailed the
openrc folks and got a reply. He said it works for him which I assume
means he can boot to the boot runlevel. If that is true, I have no
reason to think it's not, then why does it not work for me? That was
the reason I started this thread to begin with. I would like to know
why it is not working anymore especially if it is working for the guy
that sent me a email that works on openrc. I think his name was Mike.
I'm awful with names. :/
So, back to my original question, why doesn't it work? I think someone
else posted that it didn't work for them either.
Since I wasn't getting anywhere, I did the catch all, I ran my favorite
little script and am re-emerging everything, just to see if that helps.
Don't anyone hold their breath now. lol
Still open to ideas tho.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-17 19:31 ` William Hubbs
2011-05-17 23:29 ` Dale
@ 2011-05-18 1:48 ` Dale
2011-05-18 12:42 ` Joost Roeleveld
2011-05-18 13:28 ` Peter Humphrey
1 sibling, 2 replies; 33+ messages in thread
From: Dale @ 2011-05-18 1:48 UTC (permalink / raw
To: gentoo-user
William Hubbs wrote:
> Hi Dale,
>
>
> On Tue, May 17, 2011 at 09:20:52AM -0500, Dale wrote:
>
>> So do I need to create a runlevel called dalesboot and then just put the
>> same stuff in it as is in the normal boot level? I have to say, that is
>> weird. A runlevel should be used by both the system and available to
>> the user as well.
>>
> Actually the boot runlevel is not a runlevel in the way you are
> thinking. It is just a group of services that need to be run once when
> your system starts. It is run once when you boot right after the sysinit
> "runlevel".
>
> It sounds like you might want to use the "nonetwork" runlevel for what
> you are trying to do since the only thing in there is the local service.
>
> William
>
>
The emerge -e world finished. It still doesn't work like it did a few
weeks ago. So, I tried the nonetwork option. That starts about every
service except the GUI, my UPS thingy and a couple others. Get this, it
even starts the freaking network. Why is it called nonetwork if it
starts the network too. Seeing the list of services it started, it
didn't miss many.
There is something not right here. It appears that openrc or whatever
is not working the way it should. The funniest part about this, it
worked fine the other day and it works just fine from a console. It
just doesn't work right when passed from grub.
Anyone have any ideas on how to fix this?
Thanks.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-18 1:48 ` Dale
@ 2011-05-18 12:42 ` Joost Roeleveld
2011-06-03 2:30 ` Dale
2011-05-18 13:28 ` Peter Humphrey
1 sibling, 1 reply; 33+ messages in thread
From: Joost Roeleveld @ 2011-05-18 12:42 UTC (permalink / raw
To: gentoo-user
On Tuesday 17 May 2011 20:48:54 Dale wrote:
> The emerge -e world finished. It still doesn't work like it did a few
> weeks ago. So, I tried the nonetwork option. That starts about every
> service except the GUI, my UPS thingy and a couple others. Get this, it
> even starts the freaking network. Why is it called nonetwork if it
> starts the network too. Seeing the list of services it started, it
> didn't miss many.
Did it start as part of "Hey, there is a network card, lets use it"?
I believe the default configuration auto-starts network devices if any are
found.
> There is something not right here. It appears that openrc or whatever
> is not working the way it should. The funniest part about this, it
> worked fine the other day and it works just fine from a console. It
> just doesn't work right when passed from grub.
>
> Anyone have any ideas on how to fix this?
Try disabling auto-starting services? :)
--
Joost
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-18 1:48 ` Dale
2011-05-18 12:42 ` Joost Roeleveld
@ 2011-05-18 13:28 ` Peter Humphrey
2011-05-18 13:56 ` Dale
2011-05-18 19:59 ` Neil Bothwick
1 sibling, 2 replies; 33+ messages in thread
From: Peter Humphrey @ 2011-05-18 13:28 UTC (permalink / raw
To: gentoo-user
On Wednesday 18 May 2011 02:48:54 Dale wrote:
> The emerge -e world finished. It still doesn't work like it did a few
> weeks ago. So, I tried the nonetwork option. That starts about every
> service except the GUI, my UPS thingy and a couple others. Get this, it
> even starts the freaking network. Why is it called nonetwork if it
> starts the network too. Seeing the list of services it started, it
> didn't miss many.
Put rc_hotplug="!net.*" into /etc/rc.conf.
The system is getting too clever by half; nowadays it starts whatever it
can, and only then does it look to see what you've set via rc-update.
--
Rgds
Peter
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-18 13:28 ` Peter Humphrey
@ 2011-05-18 13:56 ` Dale
2011-05-18 14:21 ` Peter Humphrey
2011-05-18 19:59 ` Neil Bothwick
1 sibling, 1 reply; 33+ messages in thread
From: Dale @ 2011-05-18 13:56 UTC (permalink / raw
To: gentoo-user
Peter Humphrey wrote:
> On Wednesday 18 May 2011 02:48:54 Dale wrote:
>
>
>> The emerge -e world finished. It still doesn't work like it did a few
>> weeks ago. So, I tried the nonetwork option. That starts about every
>> service except the GUI, my UPS thingy and a couple others. Get this, it
>> even starts the freaking network. Why is it called nonetwork if it
>> starts the network too. Seeing the list of services it started, it
>> didn't miss many.
>>
> Put rc_hotplug="!net.*" into /etc/rc.conf.
>
> The system is getting too clever by half; nowadays it starts whatever it
> can, and only then does it look to see what you've set via rc-update.
>
>
I changed that and will test later on today. I'm trying to get some
work done in my garden while it is dry. Sort of funny in a way. The
Mississippi river is flooding on the other side of the state and I'm dry
here on this side. I actually live less than a mile from a different
river. Weather is so weird sometimes. I don't want to think about the
folks North and South of me. Tornadoes a couple weeks ago. I live in a
valley next to a hill, I'm not complaining tho. It keeps the BAD winds
away. o_O If anyone saw it on the news, I'm about 40 miles or so
South of Smithville MS. It's gone. I saw what was left with my own
eyes. Houses are piles of rubbish. I haven't seen Tuscaloosa yet but
it is about 60 miles East of me. Sounds bad and looks bad on TV. :-(
Back on topic, I'll reboot and test this in a while. I had this setting
before but missed it during the upgrade. Still can't figure out why it
doesn't work from grub like it used to.
Thanks.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-18 13:56 ` Dale
@ 2011-05-18 14:21 ` Peter Humphrey
2011-05-18 16:23 ` Dale
2011-05-18 16:35 ` Mark Knecht
0 siblings, 2 replies; 33+ messages in thread
From: Peter Humphrey @ 2011-05-18 14:21 UTC (permalink / raw
To: gentoo-user
On Wednesday 18 May 2011 14:56:59 Dale wrote:
> The Mississippi river is flooding on the other side of the state and I'm
> dry here on this side. I actually live less than a mile from a different
> river. Weather is so weird sometimes. I don't want to think about the
> folks North and South of me. Tornadoes a couple weeks ago. I live in a
> valley next to a hill, I'm not complaining tho. It keeps the BAD winds
> away. o_O If anyone saw it on the news, I'm about 40 miles or so
> South of Smithville MS. It's gone. I saw what was left with my own
> eyes. Houses are piles of rubbish. I haven't seen Tuscaloosa yet but
> it is about 60 miles East of me. Sounds bad and looks bad on TV. :-(
Eek! I remember the two years I spent in Minneapolis, when we remarked that
over there we had "real weather".
> Back on topic, I'll reboot and test this in a while. I had this setting
> before but missed it during the upgrade. Still can't figure out why it
> doesn't work from grub like it used to.
My setup works just fine with run-levels that I set up years ago. I have one
for no-x, which as well as not starting X also omits services that are only
useful in X. I also use the nonetwork run-level for major emerges such as
wholesale upgrades of KDE.
The only thing I can think of at the moment that annoys me about open-rc is
the loss of alphabetical ordering in the output from rc-update -s -v;
everything else just works (well, apart from Flash in web browsers, but that
hardly counts).
--
Rgds
Peter
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-18 14:21 ` Peter Humphrey
@ 2011-05-18 16:23 ` Dale
2011-05-18 16:35 ` Mark Knecht
1 sibling, 0 replies; 33+ messages in thread
From: Dale @ 2011-05-18 16:23 UTC (permalink / raw
To: gentoo-user
Peter Humphrey wrote:
> My setup works just fine with run-levels that I set up years ago. I have one
> for no-x, which as well as not starting X also omits services that are only
> useful in X. I also use the nonetwork run-level for major emerges such as
> wholesale upgrades of KDE.
>
> The only thing I can think of at the moment that annoys me about open-rc is
> the loss of alphabetical ordering in the output from rc-update -s -v;
> everything else just works (well, apart from Flash in web browsers, but that
> hardly counts).
>
>
I came in for a break. I'm disabled so I just do a little then take a
breather. Whew!! Anyway, I think it is something on my rig that is not
right. I'm hoping to test my old x86 rig soon. It is a really old
install with some really old config files. If it works there, then I
know it is just this install be it something specific to amd86 or just a
setting I have that others don't. Could the kernel affect this somehow?
Will try to reboot this rig later on. I'll have to get a monitor and
stuff hooked to my old x86 rig to test it.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-18 14:21 ` Peter Humphrey
2011-05-18 16:23 ` Dale
@ 2011-05-18 16:35 ` Mark Knecht
1 sibling, 0 replies; 33+ messages in thread
From: Mark Knecht @ 2011-05-18 16:35 UTC (permalink / raw
To: gentoo-user
On Wed, May 18, 2011 at 7:21 AM, Peter Humphrey
<peter@humphrey.ukfsn.org> wrote:
<SNIP>
> everything else just works (well, apart from Flash in web browsers, but that
> hardly counts).
>
> --
> Rgds
> Peter
>
>
What about Flash in web browsers is not working for you since updating
to OpenRC? Granted, I run only Firefox-3.6.X but I see no problem that
I recognize on any of my machines.
- Mark
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-18 13:28 ` Peter Humphrey
2011-05-18 13:56 ` Dale
@ 2011-05-18 19:59 ` Neil Bothwick
2011-05-18 20:29 ` Mick
1 sibling, 1 reply; 33+ messages in thread
From: Neil Bothwick @ 2011-05-18 19:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
On Wed, 18 May 2011 14:28:45 +0100, Peter Humphrey wrote:
> Put rc_hotplug="!net.*" into /etc/rc.conf.
>
> The system is getting too clever by half; nowadays it starts whatever
> it can, and only then does it look to see what you've set via rc-update.
Openrc defaults to having hotplug disabled
# rc_hotplug is a list of services that we allow to be hotplugged.
# By default we do not allow hotplugging.
So someone must have enabled it.
--
Neil Bothwick
Light travels faster than sound. This is why some people appear bright
until you hear them speak.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-18 19:59 ` Neil Bothwick
@ 2011-05-18 20:29 ` Mick
0 siblings, 0 replies; 33+ messages in thread
From: Mick @ 2011-05-18 20:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 690 bytes --]
On Wednesday 18 May 2011 20:59:59 Neil Bothwick wrote:
> On Wed, 18 May 2011 14:28:45 +0100, Peter Humphrey wrote:
> > Put rc_hotplug="!net.*" into /etc/rc.conf.
> >
> > The system is getting too clever by half; nowadays it starts whatever
> > it can, and only then does it look to see what you've set via rc-update.
>
> Openrc defaults to having hotplug disabled
>
> # rc_hotplug is a list of services that we allow to be hotplugged.
> # By default we do not allow hotplugging.
>
> So someone must have enabled it.
I had mine enabled and that's why (I surmised) that softlevel=nonetwork booted
up and started eth0, but did not start up iptables.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-05-18 12:42 ` Joost Roeleveld
@ 2011-06-03 2:30 ` Dale
2011-06-03 3:03 ` Dale
0 siblings, 1 reply; 33+ messages in thread
From: Dale @ 2011-06-03 2:30 UTC (permalink / raw
To: gentoo-user
Joost Roeleveld wrote:
> On Tuesday 17 May 2011 20:48:54 Dale wrote:
>
>> The emerge -e world finished. It still doesn't work like it did a few
>> weeks ago. So, I tried the nonetwork option. That starts about every
>> service except the GUI, my UPS thingy and a couple others. Get this, it
>> even starts the freaking network. Why is it called nonetwork if it
>> starts the network too. Seeing the list of services it started, it
>> didn't miss many.
>>
> Did it start as part of "Hey, there is a network card, lets use it"?
>
> I believe the default configuration auto-starts network devices if any are
> found.
>
>
>> There is something not right here. It appears that openrc or whatever
>> is not working the way it should. The funniest part about this, it
>> worked fine the other day and it works just fine from a console. It
>> just doesn't work right when passed from grub.
>>
>> Anyone have any ideas on how to fix this?
>>
> Try disabling auto-starting services? :)
>
> --
> Joost
>
It's been a while since I rebooted. Built a new kernel so here we go
again. Round two.
Disabled that, still started the network and a WHOLE lot of other
things. This is what is in the nonetwork runlevel:
root@fireball / # ls -al /etc/runlevels/nonetwork/
total 0
drwxr-xr-x 2 root root 72 Nov 17 2010 .
drwxr-xr-x 8 root root 200 May 10 18:19 ..
lrwxrwxrwx 1 root root 17 Dec 9 05:12 local -> /etc/init.d/local
root@fireball / #
I'm going to create a runlevel myself and let it mirror the boot
runlevel. Let's see what that does. I'll post results here shortly.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
* Re: [gentoo-user] grub menu and the new openrc
2011-06-03 2:30 ` Dale
@ 2011-06-03 3:03 ` Dale
0 siblings, 0 replies; 33+ messages in thread
From: Dale @ 2011-06-03 3:03 UTC (permalink / raw
To: gentoo-user
Dale wrote:
>
> I'm going to create a runlevel myself and let it mirror the boot
> runlevel. Let's see what that does. I'll post results here shortly.
>
> Dale
>
> :-) :-)
>
Same thing as nonetwork.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 33+ messages in thread
end of thread, other threads:[~2011-06-03 3:05 UTC | newest]
Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-15 10:34 [gentoo-user] grub menu and the new openrc Dale
2011-05-15 11:21 ` Neil Bothwick
2011-05-15 13:14 ` Dale
2011-05-15 17:40 ` Alan McKinnon
2011-05-15 15:36 ` Graham Murray
2011-05-15 18:11 ` Neil Bothwick
2011-05-15 15:20 ` Mick
2011-05-15 15:39 ` Dale
2011-05-15 15:58 ` Mick
2011-05-15 16:21 ` Daniel da Veiga
2011-05-15 18:15 ` Dale
2011-05-15 23:12 ` Dale
2011-05-16 1:36 ` Daniel da Veiga
2011-05-16 1:47 ` Dale
2011-05-16 6:09 ` Mick
2011-05-16 12:10 ` Dale
2011-05-17 5:58 ` Mick
2011-05-17 9:14 ` Neil Bothwick
2011-05-17 14:20 ` Dale
2011-05-17 19:31 ` William Hubbs
2011-05-17 23:29 ` Dale
2011-05-18 1:48 ` Dale
2011-05-18 12:42 ` Joost Roeleveld
2011-06-03 2:30 ` Dale
2011-06-03 3:03 ` Dale
2011-05-18 13:28 ` Peter Humphrey
2011-05-18 13:56 ` Dale
2011-05-18 14:21 ` Peter Humphrey
2011-05-18 16:23 ` Dale
2011-05-18 16:35 ` Mark Knecht
2011-05-18 19:59 ` Neil Bothwick
2011-05-18 20:29 ` Mick
2011-05-15 18:47 ` [gentoo-user] " Nikos Chantziaras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox