public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Testing Gentoo before install on new laptop
@ 2024-08-06 14:43 Alexis Praga
  2024-08-06 20:57 ` Michael
  0 siblings, 1 reply; 5+ messages in thread
From: Alexis Praga @ 2024-08-06 14:43 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org


[-- Attachment #1.1: Type: text/plain, Size: 396 bytes --]

Dear fellow Gentoo users,

For the first time in 15 years, I have bought a new (and recent too !) laptop (Yoga 7 Gen 9).
Is there a way to test Gentoo on it before installing it ?
I was thinking of using the Live GUI usb to ensure the following works :
- GPU  (integrated AMD 780), especially with wayland
- wifi
- webcam
- CPU (it's not a snapdragon but a Ryzen 7).

Thanks !

Alexis

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Testing Gentoo before install on new laptop
  2024-08-06 14:43 [gentoo-user] Testing Gentoo before install on new laptop Alexis Praga
@ 2024-08-06 20:57 ` Michael
  2024-08-11 21:53   ` Alexis Praga
  0 siblings, 1 reply; 5+ messages in thread
From: Michael @ 2024-08-06 20:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]

Hi Alexis,

On Tuesday, 6 August 2024 15:43:21 BST Alexis Praga wrote:
> Dear fellow Gentoo users,
> 
> For the first time in 15 years, I have bought a new (and recent too !)
> laptop (Yoga 7 Gen 9). Is there a way to test Gentoo on it before
> installing it ?

You can try the LiveUSB, but unless it has all the requisite firmware you will 
discover some hardware may not be identified or work as expected.


> I was thinking of using the Live GUI usb to ensure the following works :
> - GPU  (integrated AMD 780), especially with wayland
> - wifi
> - webcam
> - CPU (it's not a snapdragon but a Ryzen 7).
> 
> Thanks !
> 
> Alexis

You could try any Linux distro LiveUSB to get get an idea of what kernel 
drivers and firmware are needed for your hardware, then it is a matter of 
installing Gentoo and configuring your system accordingly.

Initially, you can use binary packages from Gentoo for a quick installation 
and then decide if compiling from source and customising your USE flags is 
something you may prefer for you needs.

https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart

HTH.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Testing Gentoo before install on new laptop
  2024-08-06 20:57 ` Michael
@ 2024-08-11 21:53   ` Alexis Praga
  2024-08-11 22:07     ` Michael
  0 siblings, 1 reply; 5+ messages in thread
From: Alexis Praga @ 2024-08-11 21:53 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 1784 bytes --]

Hi Michael,

Thanks for your helpful advice.
I was quite happy with Gentoo LiveUSB for checking wifi and GPU support. Using binary packages sped up installation substantially as expected.

No issue to report at the moment. Wayland seems to work fine, too. 

The only point I didn't anticipate was Windows Secure Boot. I ended up disabling it as I could not setup Grub with it.

Apart from that, quite happy with the process !

Alexis 




On Tuesday, August 6th, 2024 at 10:57 PM, Michael <confabulate@kintzios.com> wrote:

> 

> 

> Hi Alexis,
> 

> On Tuesday, 6 August 2024 15:43:21 BST Alexis Praga wrote:
> 

> > Dear fellow Gentoo users,
> > 

> > For the first time in 15 years, I have bought a new (and recent too !)
> > laptop (Yoga 7 Gen 9). Is there a way to test Gentoo on it before
> > installing it ?
> 

> 

> You can try the LiveUSB, but unless it has all the requisite firmware you will
> discover some hardware may not be identified or work as expected.
> 

> > I was thinking of using the Live GUI usb to ensure the following works :
> > - GPU (integrated AMD 780), especially with wayland
> > - wifi
> > - webcam
> > - CPU (it's not a snapdragon but a Ryzen 7).
> > 

> > Thanks !
> > 

> > Alexis
> 

> 

> You could try any Linux distro LiveUSB to get get an idea of what kernel
> drivers and firmware are needed for your hardware, then it is a matter of
> installing Gentoo and configuring your system accordingly.
> 

> Initially, you can use binary packages from Gentoo for a quick installation
> and then decide if compiling from source and customising your USE flags is
> something you may prefer for you needs.
> 

> https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart
> 

> HTH.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Testing Gentoo before install on new laptop
  2024-08-11 21:53   ` Alexis Praga
@ 2024-08-11 22:07     ` Michael
  2024-08-11 23:56       ` Matt Jolly
  0 siblings, 1 reply; 5+ messages in thread
From: Michael @ 2024-08-11 22:07 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

On Sunday, 11 August 2024 22:53:15 BST Alexis Praga wrote:
> Hi Michael,
> 
> Thanks for your helpful advice.
> I was quite happy with Gentoo LiveUSB for checking wifi and GPU support.
> Using binary packages sped up installation substantially as expected.
> 
> No issue to report at the moment. Wayland seems to work fine, too.
> 
> The only point I didn't anticipate was Windows Secure Boot. I ended up
> disabling it as I could not setup Grub with it.
> 
> Apart from that, quite happy with the process !
> 
> Alexis

Nice to hear you got your system up & running.  If you need/prefer to run with 
Secure Boot enabled, have a look at this guide to help you setting it up.

https://wiki.gentoo.org/wiki/Secure_Boot

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Testing Gentoo before install on new laptop
  2024-08-11 22:07     ` Michael
@ 2024-08-11 23:56       ` Matt Jolly
  0 siblings, 0 replies; 5+ messages in thread
From: Matt Jolly @ 2024-08-11 23:56 UTC (permalink / raw
  To: gentoo-user

On 12/8/24 08:07, Michael wrote:
 > Nice to hear you got your system up & running.  If you need/prefer to 
run with
 > Secure Boot enabled, have a look at this guide to help you setting it up.
 >
 > https://wiki.gentoo.org/wiki/Secure_Boot

There's some recent news in relation to Secure Boot that should be
considered: A number of major PC vendors have been shipping
untrusted Platform Keys (PKs) for a long time[1].

I haven't dug into this in too much depth yet, but if you
are not removing factory keys and only using your own
there is a good chance that you are vulnerable.

Worse, even if you remove those keys, a factory reset will
restore them.

There is a tool available to scan firmware bins[2] to see
if your firmware is impacted. It's obviously advertising for
the firm hosting it so take that as you will.

You can also scan EFI variables:

 > Devices affected by PKfail will have the Platform Key certificate's
 > subject and issuer fields containing the string DO NOT TRUST or DO NOT
 > SHIP.

```
# efi-readvar -v PK
Variable PK, length 862
PK: List 0, type X509
     Signature 0, size 834, owner 26dc4851-195f-4ae1-9a19-fbf883bbb35e
         Subject:
             CN=DO NOT TRUST - AMI Test PK
         Issuer:
             CN=DO NOT TRUST - AMI Test PK
```

TL;DR - If you use the default keys you're potentially vulnerable.
If you want to use Secure Boot you should be purging the
manufacturer's PK and installing your own regardless.


1: 
https://github.com/binarly-io/Vulnerability-REsearch/blob/main/PKfail/BRLY-2024-005.md
2: https://pk.fail/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-11 23:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-06 14:43 [gentoo-user] Testing Gentoo before install on new laptop Alexis Praga
2024-08-06 20:57 ` Michael
2024-08-11 21:53   ` Alexis Praga
2024-08-11 22:07     ` Michael
2024-08-11 23:56       ` Matt Jolly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox