[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Incorrect password Debian 10.8 after installation



On 2021-02-08 00:40, Marco Möller wrote:

You could bypass any password request during boot to the console and then fix it by setting the desired password newly. The boot parameter for bypassing all password request an right away becoming logged in as user root is:
     init=/sbin/sulogin --force


That is interesting.  But, how does the reader *use* that information.


STFW 'site:debian.org boot parameters buster', I see:

   https://www.debian.org/releases/buster/arm64/ch05s03.en.html

Skimming the page, I do not see any instructions for entering boot parameters...


Following the link 'Linux BootPrompt HOWTO':

    https://tldp.org/HOWTO/BootPrompt-HOWTO.html

SSL problems.  Try another site:

    http://linuxdocs.org/HOWTOs/BootPrompt-HOWTO.html

I see LILO.  Wow.  Remember LILO and the 90's?


STFW 'linux boot prompt', I see:


https://www.linuxquestions.org/questions/linux-newbie-8/linux-boot-prompt-4175659396/

The answer by djk44883 provides a link to the GRUB manual:

    https://www.gnu.org/software/grub/manual/grub/grub.html

'5.3.2 GNU/Linux' looks relevant:

    https://www.gnu.org/software/grub/manual/grub/grub.html#GNU_002fLinux

But nothing tells me how to get to the 'grub>' prompt...


Booting a Stretch system, I see a menu:

    GNU GRUB  version 2.02~beta3-5+deb9u2

    *Debian GNU/Linux
     Advanced options for Debian GNU/Linux

    Use the ? and ? keys to select which entry is highlighted.
Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command line


If I press 'e', it (GRUB?) appears to bring up an editor window that contains a bunch of content that looks relevant. The last few lines are:

    ....
    echo        'Loading Linux 4.9.0-9-amd64 ...'
    linux       /vmlinuz-4.9.0-9-amd64 root=UUID=... ro noresume
    echo        'Loading initial ramdisk ...'
    initrd      /initrd.img-4.9.0-9-amd64

If I press 'c', I obtain a prompt:

    grub>


Do I add 'init=/sbin/sulogin --force' in the editor?  Why no 'set'?


Where is this documented?


David


Reply to: