GRUB not accepting password

6 réponses [Dernière contribution]
bozbezbozzel
Hors ligne
A rejoint: 09/11/2013

I recently installed Trisquel on a fairly old laptop. In order to boot from the liveCD, I needed to add the boot parameters "acpi=off" and "nomodeset". However, now that Trisquel has been installed, I cannot add these parameters in GRUB. I looked up the randomly generated password, but when I enter it I am just redirected to GRUB, without the ability to edit anything. I can't add the boot parameters any other way, because I cannot get my laptop to boot past GRUB. I already tried commenting out the lines containing the password in the 01_PASSWORD file, but no luck, GRUB still asks for a password, and it doesn't accept my username's password either.
Any suggestions?

mYself
Hors ligne
A rejoint: 01/18/2012

The user-name is grub, not yours!

bozbezbozzel
Hors ligne
A rejoint: 09/11/2013

Yes! Thank you!
Where could I have found this information? I hadn't seen it mentioned in the threads about the grub password.
Any idea why commenting out the lines in the password file didn't work?

Sachin
Hors ligne
A rejoint: 06/02/2012

On 09/12/2013 02:58 AM, name at domain wrote:
> Yes! Thank you!
> Where could I have found this information? I hadn't seen it mentioned in
> the threads about the grub password.
> Any idea why commenting out the lines in the password file didn't work?
>
Did you run update-grub?

--
Sachin Dey

Always be yourself, express yourself, have faith in yourself, do not go
out and look for a successful personality and duplicate it.

bozbezbozzel
Hors ligne
A rejoint: 09/11/2013

I thought updating grub in a live session was more complicated than just running update-grub? Anyway, I didn't. An obvious oversight, in retrospect.
Thanks everyone for the quick reactions!

Sachin
Hors ligne
A rejoint: 06/02/2012

On 09/12/2013 02:43 PM, name at domain wrote:
> I thought updating grub in a live session was more complicated than just
> running update-grub? Anyway, I didn't. An obvious oversight, in retrospect.
> Thanks everyone for the quick reactions!
>
I guess then you'll then have to comment the following lines from the
section in /boot/grub/grub.cfg

### BEGIN /etc/grub.d/01_PASSWORD ###
set superusers=grub
password grub 1111
### END /etc/grub.d/01_PASSWORD ###

If you are going to do this take a back-up of grub.cfg before editing it.

--
Sachin Dey

lembas
Hors ligne
A rejoint: 05/13/2010

>Where could I have found this information?
It's (implied) in that 01_PASSWORD file.