How do we install grub-probe/grub2-probe? [SOLVED]

Moderator: Forum moderators

Post Reply
User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

How do we install grub-probe/grub2-probe? [SOLVED]

Post by JASpup »

I'm trying to boot a partition I cannot identify that wasn't assigned a UUID.

UPDATE: The program is in the grub-common repository .deb.

The answer command is grub-probe --target=bios_hints --device /dev/{sdb,sdb1,sdb2,sdb4,sdb5}.

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

Clarity
Posts: 4245
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1821 times
Been thanked: 571 times

Re: How do we install grub-probe/grub2-probe? [SOLVED]

Post by Clarity »

I am sure you know this, but when arriving a modern WoofCE PUP's boot menu, you can break out to the GRUB2 command prompt. There, you can enter typical Linux commands to interrogate the layout and enter boot commands manually, as well. Very powerful capability, thanks to the PUP developer including this boot manager.

Code: Select all

# ls

This ability is present without a need to install anything. Yet, adding those tools to the distro is helpful.

Just a note to others.

User avatar
JASpup
Posts: 1653
Joined: Sun Oct 04, 2020 10:52 am
Location: U.S.A.
Has thanked: 70 times
Been thanked: 89 times

Re: How do we install grub-probe/grub2-probe? [SOLVED]

Post by JASpup »

@Clarity I'm not sure what you mean.

Starting from the task, I'm just trying to identify a partition for a bootloader.

I cannot enter grub-probe or grub2-probe from the command line without installing grub-common.

Is there another way to do this?

On the Whiz-Neophyte Bridge
Linux Über Alles
Disclaimer: You may not be reading my words as posted.

Post Reply

Return to “Boot”