The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    How do I boot with init=/bin/bash ?

    Discussion in 'Linux Compatibility and Software' started by wearetheborg, Oct 21, 2007.

  1. wearetheborg

    wearetheborg Notebook Virtuoso

    Reputations:
    1,282
    Messages:
    3,122
    Likes Received:
    0
    Trophy Points:
    105
    How do I boot with init=/bin/bash ? What do I have to do ?
     
  2. jeffsmythe

    jeffsmythe Notebook Geek

    Reputations:
    97
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    15
    Do you mean that you want to boot into single user mode? If so, and assuming you are using grub, you just append a 1 to your grub boot line.

    So when you are presented with the grub boot menu, select your choice, then hit 'e' to edit instead of enter.
    Then scroll down to the line it displays with 'kernel /boot/kernel-X.Y.Z ....' and again hit 'e' to edit it.
    Scroll to the end of the line and append a "1" (no quotes), then ENTER. This tells the kernel to boot into runlevel 1, the single user level.
    Finally hit 'b' to boot using this new configuration. Note that this is a temporary change to your grub configuration. Upon next reboot the 1 will not be there and you will be back to the regular options.

    Your should now boot into single user mode which should boot no services and present you with just a root prompt (/bin/bash).

    Hope this is what you want :)