public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: I lost the ability to boot into single user
Date: Mon, 17 Aug 2009 18:00:22 -0500	[thread overview]
Message-ID: <4A89E106.3080807@gmail.com> (raw)
In-Reply-To: <1250543011.22959.41.camel@centar.nbk>

Albert Hopkins wrote:
>> Openrc no longer supports the softlevel= option on the kernel command
>> line (this hit me as well, as I use a number of different runlevels).
>> Instead, pass "S" to skip just about everything, and start a root shell
>> (via sulogin), or "1" to do the equivalent of "/sbin/rc single" (that
>> is, drop the softlevel=boot completely, and add the single character "S"
>> or "1" after a space).
>>
>> An example from my grub.conf:
>>
>>     title    Gentoo, current kernel (single user)
>>     kernel   (hd0,0)/vmlinuz root=/dev/sda5 1
>>
>>     title    Gentoo, current kernel (root shell)
>>     kernel   (hd0,0)/vmlinuz root=/dev/sda5 S
>>
>> I also have my /etc/inittab set up so that init's runlevels 2-5 go into
>> rc's various runlevels (on my machine, 2=default, 3=gui, 4=network,
>> 5=gui-network).
>>     
>
> This is possibly an (unreported) bug.
>
> Just for S&G I booted with "softlevel=BOOT" on an Openrc and it reports
> that there is no runlevel BOOT and then basically puts me in single
> level mode :|, but "softlevel=boot" seems to be ignored.  I think it
> "should" support it... why else would rc-update work with different
> runlevels it you are not able to use them?  Also the man pages for
> rc-update and rc seem to reflect this.
>
> FWIW I usually forgo the runlevels and just use init=/bin/bash because
> it doesn't prompt for the root password and pretty much the only time i
> need to boot into single user is when I've forgotten the root
> password :P
>
> -a
>
>
>   

I agree, this should be reported so it can be fixed.  While
init-/bin/bash would work, it shouldn't be the only option.  Who would
want to put that option in grub and make it easy for someone to hack in?

I did try softlevel=single a bit ago and it booted all the way but with
no GUI.  It went waaaay past single tho.  rc-status reported it was in
single user mode but it wasn't.  Console #2 and up was working but X
didn't start.

Pretty darn weird.  :/  Who's going to open the can of Raid?

Dale

:-)  :-) 



  reply	other threads:[~2009-08-17 23:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-17 20:04 [gentoo-user] I lost the ability to boot into single user Nikos Chantziaras
2009-08-17 20:36 ` Dale
2009-08-17 20:44   ` Paul Hartman
2009-08-17 20:47   ` [gentoo-user] " ABCD
2009-08-17 21:03     ` Albert Hopkins
2009-08-17 23:00       ` Dale [this message]
2009-08-18  1:27         ` Nikos Chantziaras
2009-08-18 23:11           ` Dan Farrell
2009-08-18 23:20             ` Alan McKinnon
2009-08-18 23:47               ` Albert Hopkins
2009-08-19  0:05                 ` Shawn Haggett
2009-08-19  0:10             ` Nikos Chantziaras
2009-08-19  2:55               ` ABCD
2009-08-19  9:55     ` Renat Golubchyk
2009-08-19 21:53       ` Nikos Chantziaras
2009-08-19 22:43         ` Sebastian Beßler
2009-08-19 23:06           ` Nikos Chantziaras
2009-08-20 14:23 ` [gentoo-user] " Paul Hartman
2009-08-20 16:59   ` [gentoo-user] " Nikos Chantziaras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A89E106.3080807@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox