After installing Trisquel 7 dual boot with Ubuntu , Grub is asking for password to boot Ubuntu

9 replies [Last post]
funkymarxist
Offline
Joined: 12/16/2017

I've recently installed TRISQUEL 7 alongside with Ubuntu 16.04 LTS and I'm enjoying Trisquel so much, but after the first reboot Grub is asking for a bootloader password only for Ubuntu, it looks like the disk has been encrypted by I didn't do anything like that. Can you guys help me out with that?, I have no idea what to do. I tried my Ubuntu username and password but it sends me back to GRUB.

THANKS

Jabjabs
Offline
Joined: 07/05/2014

I had this happen years back with a Windows partition (I was young and foolish!). I recall it was a big with GRUB and one that cannot be fixed without installing a newer version from somewhere.

That said, you should do like I did and take it as a sign that you should stay clear of that non-free mess that is Ubuntu.

funkymarxist
Offline
Joined: 12/16/2017

You are absolutely right! My goal is to abandon any non free software, installing Trisquel was my first step. As soon as I feel comfortable using Trisquel I'll definitely uninstall Ubuntu.

wdhgtx
Offline
Joined: 12/02/2017

Next step, try Parabola and more, and then come back here to help others.

funkymarxist
Offline
Joined: 12/16/2017

Thanks for the comment! I'll stick around! Cheers!

calher

I am a member!

Offline
Joined: 06/19/2015

It's certainly good to test things out and know what your new workflow
is going to look like. Good planning!

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

The user is "grub" and the password was randomly generated when Trisquel was installed. You can read it (from Trisquel) at the very end of /etc/grub.d/01_PASSWORD. Instead of learning that password, I suggest you to get rid of it... since it "only serve[s] to make it difficult to recover broken systems". That is what the developers of GRUB say:

By default, the boot loader interface is accessible to anyone with physical access to the console: anyone can select and edit any menu entry, and anyone can get direct access to a GRUB shell prompt. For most systems, this is reasonable since anyone with direct physical access has a variety of other ways to gain full access, and requiring authentication at the boot loader level would only serve to make it difficult to recover broken systems.
https://www.gnu.org/software/grub/manual/grub.html#Security

  1. Open a terminal (emulator).
  2. Open /etc/grub.d/01_PASSWORD (what requires administrative rights) with your favorite text editor (here GEdit):
    $ gksu gedit /etc/grub.d/01_PASSWORD
  3. Add the "#" character at the beginning of all lines that do not already start with this character (or even delete these lines).
  4. Save the modifications.
  5. Make the configuration change be taken into consideration:
    $ sudo update-grub
funkymarxist
Offline
Joined: 12/16/2017

Magic Banana, thanks a bunch! It worked perfectly!

Cheers, mate!

strypey
Offline
Joined: 05/14/2015

I really hope this user-unfriendly GRUB behaviour is fixed in Trisquel 8.

SuperTramp83

I am a translator!

Offline
Joined: 10/31/2014

yeah, it's been asked 3463 times since I've been here..