Skip to contentSkip to conversation

Grub-devel Digest, Vol 86, Issue 9

DISCUSSION [email protected] 1 participant 2 messages Apr 5, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Ok, Collin

So a think in use "lspci" because my two motherboard is not equal, the chipset and video card is different, but i think to use "lswh" i not shure about it works, in GRUB legancy i not see any commands for help with to create a performs conditions

Em 5/4/2011 13:01, [email protected] escreveu:

Quoted 7 lines

No, bash is not available in GRUB. However, the GRUB command line has a syntax quite similar to bash, and you can use it to perform conditional operations.

At present, though, I don't think there's a way to use PCI configuration information in a GRUB script condition. Perhaps there's something else you can base the decision on?

Signature · 8 lines
*Gilson Figueiredo*
*
- Projetos -
* * Rede Ponto Certo*
(011) 3351-2510 ramal: 12416
www.redepontocerto.com.br *
[email protected]
*
#2 lore raw
In reply to a message not in the archive

Ok, Collin

So a think in use "lspci" because my two motherboard is not equal, the chipset and video card is different, but i think to use "lswh" i not shure about it works, in GRUB legancy i not see any commands for help with to create a performs conditions

Em 5/4/2011 13:01, [email protected] escreveu:

Quoted 7 lines

No, bash is not available in GRUB. However, the GRUB command line has a syntax quite similar to bash, and you can use it to perform conditional operations.

At present, though, I don't think there's a way to use PCI configuration information in a GRUB script condition. Perhaps there's something else you can base the decision on?

Signature · 8 lines
*Gilson Figueiredo*
*
- Projetos -
* * Rede Ponto Certo*
(011) 3351-2510 ramal: 12416
www.redepontocerto.com.br *
[email protected]
*