Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: how do you boot into single user mode?

  1. #1
    Join Date
    Jul 2008
    Location
    Santa Cruz, CA
    Posts
    192

    Default how do you boot into single user mode?

    The only answer I've figured out is to learn to read grub2 hyeroglyphics and add another menu item with just the right collection of options.

    Code:
    menuentry 'openSUSE 12.3' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fc6720c3-8404-47a9-b3e7-d310613a11d1' {
            load_video
            set gfxpayload=keep
            insmod gzio
            insmod part_msdos
            insmod ext2
            set root='hd0,msdos1'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  e6ad9c57-3ca5-44ff-85a0-df895dd558ac
            else
              search --no-floppy --fs-uuid --set=root e6ad9c57-3ca5-44ff-85a0-df895dd558ac
            fi
            echo    'Loading Linux 3.7.10-1.4-desktop ...'
            linux   /vmlinuz-3.7.10-1.4-desktop root=UUID=fc6720c3-8404-47a9-b3e7-d310613a11d1   resume=/dev/disk/by-label/SWAP splash=silent quiet showopts
            echo    'Loading initial ramdisk ...'
            initrd  /initrd-3.7.10-1.4-desktop
    }
    I am not entusiastic about deciphering that.

  2. #2

    Default Re: how do you boot into single user mode?

    Press 'e' (small e) on menu entry, move to the end of line that starts with "linux ..." and add "1" to the end of line. Press F10 or Ctrl-X to boot. Pressing ESC returns you to menu discarding all changes.

    Some Emacs-like editing shortcuts are supported (like ^E to move to the end of line).

  3. #3
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,377

    Default Re: how do you boot into single user mode?

    On 05/12/2013 08:06 PM, bkorb wrote:
    >
    > The only answer I've figured out is to learn to read grub2 hyeroglyphics
    > and add another menu item with just the right collection of options.
    >
    >
    > Code:
    > --------------------
    > menuentry 'openSUSE 12.3' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fc6720c3-8404-47a9-b3e7-d310613a11d1' {
    > load_video
    > set gfxpayload=keep
    > insmod gzio
    > insmod part_msdos
    > insmod ext2
    > set root='hd0,msdos1'
    > if [ x$feature_platform_search_hint = xy ]; then
    > search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' e6ad9c57-3ca5-44ff-85a0-df895dd558ac
    > else
    > search --no-floppy --fs-uuid --set=root e6ad9c57-3ca5-44ff-85a0-df895dd558ac
    > fi
    > echo 'Loading Linux 3.7.10-1.4-desktop ...'
    > linux /vmlinuz-3.7.10-1.4-desktop root=UUID=fc6720c3-8404-47a9-b3e7-d310613a11d1 resume=/dev/disk/by-label/SWAP splash=silent quiet showopts
    > echo 'Loading initial ramdisk ...'
    > initrd /initrd-3.7.10-1.4-desktop
    > }
    >
    > --------------------
    > I am not entusiastic about deciphering that.


    For getting to single user mode, all that matters is the line that starts with
    "linux". Position to it and append a space and the numeral 3. Then use F10 to boot.



  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    21,873

    Default Re: how do you boot into single user mode?

    On 2013-05-13 04:54, Larry Finger wrote:

    > For getting to single user mode, all that matters is the line that
    > starts with "linux". Position to it and append a space and the numeral
    > 3. Then use F10 to boot.


    Wait, 3 is multiuser with network. Single user is 1.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  5. #5
    Join Date
    Jul 2008
    Location
    Santa Cruz, CA
    Posts
    192

    Default Re: how do you boot into single user mode?

    Quote Originally Posted by robin_listas View Post
    On 2013-05-13 04:54, Larry Finger wrote:
    > Position to ["linux" line] and append a space and the numeral
    > 3. Then use F10 to boot.


    Wait, 3 is multiuser with network. Single user is 1.
    Either way. 1 or 3, just not 5. thank you! I wish I understood why it was made non-obvious. The pressing the "e" key was what I had most hoped for. That edit-the-line possibility used to be much more obvious.

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    21,873

    Default Re: how do you boot into single user mode?

    On 2013-05-13 17:06, bkorb wrote:

    > Either way. 1 or 3, just not 5. thank you! I wish I understood
    > why it was made non-obvious. The pressing the "e" key was what I had
    > most hoped for. That edit-the-line possibility used to be much more
    > obvious.


    Welcome to grub2 :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  7. #7

    Default Re: how do you boot into single user mode?

    On 05/13/2013 11:23 AM, Carlos E. R. pecked at the keyboard and wrote:
    > On 2013-05-13 17:06, bkorb wrote:
    >
    >> Either way. 1 or 3, just not 5. thank you! I wish I understood
    >> why it was made non-obvious. The pressing the "e" key was what I had
    >> most hoped for. That edit-the-line possibility used to be much more
    >> obvious.

    > Welcome to grub2 :-)
    >


    No thanks. :-(

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    21,873

    Default Re: how do you boot into single user mode?

    On 2013-05-13 17:58, Ken Schneider wrote:
    > On 05/13/2013 11:23 AM, Carlos E. R. pecked at the keyboard and wrote:


    >> Welcome to grub2 :-)
    >>

    >
    > No thanks. :-(


    Oh, absolutely, if I have the chance I prefer keep using grub1 for ever.
    But is it an option, and if so, for how long?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  9. #9

    Default Re: how do you boot into single user mode?

    On 05/13/2013 12:08 PM, Carlos E. R. pecked at the keyboard and wrote:
    > On 2013-05-13 17:58, Ken Schneider wrote:
    >> On 05/13/2013 11:23 AM, Carlos E. R. pecked at the keyboard and wrote:
    >>> Welcome to grub2 :-)
    >>>

    >> No thanks. :-(

    > Oh, absolutely, if I have the chance I prefer keep using grub1 for ever.
    > But is it an option, and if so, for how long?
    >


    My guess is that since openSUSE has become a lemming to Fedora,
    following it's every move, that as soon as Fedora drops legacy grub so
    shall openSUSE. So follow what Fedora is doing for a hint.


  10. #10
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,377

    Default Re: how do you boot into single user mode?

    On 05/13/2013 11:51 AM, Ken Schneider wrote:
    > On 05/13/2013 12:08 PM, Carlos E. R. pecked at the keyboard and wrote:
    >> On 2013-05-13 17:58, Ken Schneider wrote:
    >>> On 05/13/2013 11:23 AM, Carlos E. R. pecked at the keyboard and wrote:
    >>>> Welcome to grub2 :-)
    >>>>
    >>> No thanks. :-(

    >> Oh, absolutely, if I have the chance I prefer keep using grub1 for ever.
    >> But is it an option, and if so, for how long?
    >>

    >
    > My guess is that since openSUSE has become a lemming to Fedora, following it's
    > every move, that as soon as Fedora drops legacy grub so shall openSUSE. So
    > follow what Fedora is doing for a hint.


    I don't know if I would characterize it as lemming behavior, but openSUSE does
    not have the resources to maintain something like GRUB legacy on its own. When
    other distros abandon something, oS has little choice but to follow. Of course,
    if you volunteer to be a maintainer of some such facility, it improves the
    chances of being kept.



Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •