Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #231531
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Incorrect password Debian 10.8 after installation |
| Date | 2021-02-09 00:20 +0100 |
| Message-ID | <BGnYZ-1te-1@gated-at.bofh.it> (permalink) |
| References | <BG4MF-5QX-13@gated-at.bofh.it> <BGap4-Ud-15@gated-at.bofh.it> <BGlXc-dm-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon 08 Feb 2021 at 13:02:21 (-0800), David Christensen wrote:
> 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...
Perhaps it's not made obvious enough there. The page starts with
"Boot parameters are Linux kernel parameters", and the footnote
(labelled ²) hints that they're given on the kernel command line,
ie the line starting with "linux" in grub.cfg.
> 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?
Some of these HOWTOs are interesting reminders of how we used to
configure things. Keeping such internal references up to date is
a tough task. Perhaps googling is more productive.
> 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
Yes, that the place I look these things up.
> '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...
I think that section is for people building a grub.cfg from scratch.
You want §14.2, which describes the menu interface that we're all
familiar with.
> 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
Yes, that summarises §14.2 …
> 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
… and that's the menu version of the commands outlined in 5.3.2.
> If I press 'c', I obtain a prompt:
>
> grub>
You don't want that, which is what you get when Grub gets lost.
> Do I add 'init=/sbin/sulogin --force' in the editor?
Yes, to the linux line: it's a kernel parameter.
Why no 'set'?
Because "init" is not a Grub variable.
> Where is this documented?
I always go to
https://www.kernel.org/doc/html/v4.15/admin-guide/kernel-parameters.html
(where v4.15 could be different).
init= [KNL]
Format: <full_path>
Run specified binary instead of /sbin/init as init process.
where KNL confirms it's a Kernel parameter. The introduction shows:
BUGS= Relates to possible processor bugs on the said processor.
KNL Is a kernel start-up parameter.
BOOT Is a boot loader parameter.
Cheers,
David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Incorrect password Debian 10.8 after installation John Berden <john.berden4@gmail.com> - 2021-02-08 03:50 +0100
Re: Incorrect password Debian 10.8 after installation Andrei POPESCU <andreimpopescu@gmail.com> - 2021-02-08 09:30 +0100
Re: Incorrect password Debian 10.8 after installation Marco Möller <talby@debianlists.mobilxpress.net> - 2021-02-08 09:50 +0100
Re: Incorrect password Debian 10.8 after installation Keith Bainbridge <ke1thrboz@gmx.com> - 2021-02-08 10:50 +0100
Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-08 22:10 +0100
Re: Incorrect password Debian 10.8 after installation David Wright <deblis@lionunicorn.co.uk> - 2021-02-09 00:20 +0100
Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-09 03:30 +0100
Re: Incorrect password Debian 10.8 after installation Anssi Saari <as@sci.fi> - 2021-02-09 08:30 +0100
Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-09 08:40 +0100
Re: Incorrect password Debian 10.8 after installation <tomas@tuxteam.de> - 2021-02-09 10:00 +0100
Re: Incorrect password Debian 10.8 after installation Anssi Saari <as@sci.fi> - 2021-02-09 17:30 +0100
Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-09 23:00 +0100
Re: Incorrect password Debian 10.8 after installation Erwan David <erwan@rail.eu.org> - 2021-02-10 07:50 +0100
Re: Incorrect password Debian 10.8 after installation Stefan Monnier <monnier@iro.umontreal.ca> - 2021-02-09 23:30 +0100
Re: Incorrect password Debian 10.8 after installation Greg Wooledge <wooledg@eeg.ccf.org> - 2021-02-10 13:40 +0100
Re: Incorrect password Debian 10.8 after installation Greg Wooledge <wooledg@eeg.ccf.org> - 2021-02-09 13:50 +0100
Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-09 23:00 +0100
Re: Incorrect password Debian 10.8 after installation David <bouncingcats@gmail.com> - 2021-02-09 23:20 +0100
Re: Incorrect password Debian 10.8 after installation David Wright <deblis@lionunicorn.co.uk> - 2021-02-09 16:40 +0100
Re: Incorrect password Debian 10.8 after installation David Christensen <dpchrist@holgerdanske.com> - 2021-02-10 00:00 +0100
csiph-web