From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-191752-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 0AE8E1382C5
	for <garchives@archives.gentoo.org>; Mon,  8 Jun 2020 18:07:50 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 280ECE0949;
	Mon,  8 Jun 2020 18:07:42 +0000 (UTC)
Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7F0AEE08DA
	for <gentoo-user@lists.gentoo.org>; Mon,  8 Jun 2020 18:07:40 +0000 (UTC)
Received: from pps.filterd (m0046660.ppops.net [127.0.0.1])
	by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 058I6u3d017917
	for <gentoo-user@lists.gentoo.org>; Mon, 8 Jun 2020 20:07:38 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject :
 date : message-id : references : in-reply-to : content-type :
 content-transfer-encoding : mime-version; s=STMicroelectronics;
 bh=QxoZ2tNIi6NlHZUEdFsV9LnIXnzaItFVbjMcCy0oxSY=;
 b=A63VSIhWBmiCaajwUD0CPZOAE2eYxnstsHXuh8SnyixW1nsrKoxTdqDCGfa8KV4n+1XG
 Hj4ONHGi36IM+5+Lu89TZK7I8gQdKwmmqXEPMSKY3UizIPKj6UOk/4ohzLDGb4Vj/qgW
 PJPmVIC4SlPnmOm2CZlwBm7CCbwt4AwVXcmKq2nRVCj0QkBmBvWn/o7k8dVHBu3pe+Jd
 t6z/i4J2eaJ/1rIRGqn22fKq4gieBxO+TBGXVGWkk0hN/FZRhY/tl7duWwJ2YpJSXACo
 tXVOPMG+/Q+kcAqSxkan/WJR03PN4KLSNYg7j5kcMbthTSydkiwUyXKhITVhX21ZBCEa 3w== 
Received: from eur05-am6-obe.outbound.protection.outlook.com (mail-am6eur05lp2113.outbound.protection.outlook.com [104.47.18.113])
	by mx07-00178001.pphosted.com with ESMTP id 31g09735ys-1
	(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
	for <gentoo-user@lists.gentoo.org>; Mon, 08 Jun 2020 20:07:38 +0200
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=Uv6IvoxK76PVpf8j23ARs6xPDt1yqpnY1qPn5OTqflmLtnba7m2BoHM2HjVidOEjacrFZe6PEM3KN3zQb2jEm4SZzjTehZm/B9Y8HT3OSPVBYFIhkDhzL/Ly0+YhJ/n7PwqdSAho9Wle1CueW+N9oO3LqnBewpHgWpS450ptVzymQS3K6Q5lcUMeF6DWDOCiqWrGx1rZKwg+6jEtLXHJroTb+WJrj7JiSgthy0InNc2DCUGZU+Ri10TMCjJd/nQG1WD+2BlYsGfhsvo0bkWOK9IsBVIIBFnd4kcPSqCCxJ+nLc9RH0orC8Y6H1AmrDYBdry0S06huS+Z7eLdujy4Bw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=QxoZ2tNIi6NlHZUEdFsV9LnIXnzaItFVbjMcCy0oxSY=;
 b=lvkjP+EMmAnkdckOB5Lmqm8imp7MglYY3EHzTTPaS4l3tbLKtg2C1aFsTAL7nHqm/fIonnUo+C7I8QWCm88JOSYyvMTXQVsiScP3XHf54iX0BuL4XleuIbEhtVQuYQbamUQWQA4n0QSr9cajLLxLZ082IiC/boMaIK27g3IXOJGCh671V07p9wCwxpQH0qG+sVIO9FqfYlfHy2jNecij82KCUFH2fNtdBNxfHg0aHqZQ0c2b1lmv1tgvpM/3vM91Nbv9GQl3ZnOoDAejuEM3VEbs0orKDXx4/dViDuQWGEPjMdD6K7QA2NgkCZhILscARvdtUfOLyxZCyNa6dLiONg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=st.com; dmarc=pass action=none header.from=st.com; dkim=pass
 header.d=st.com; arc=none
Received: from AM0PR10MB2436.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:dc::28)
 by AM0PR10MB2402.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:e2::32) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.19; Mon, 8 Jun
 2020 18:07:37 +0000
Received: from AM0PR10MB2436.EURPRD10.PROD.OUTLOOK.COM
 ([fe80::d590:c1b3:9bfe:5ee9]) by AM0PR10MB2436.EURPRD10.PROD.OUTLOOK.COM
 ([fe80::d590:c1b3:9bfe:5ee9%6]) with mapi id 15.20.3066.023; Mon, 8 Jun 2020
 18:07:37 +0000
From: Raffaele BELARDI <raffaele.belardi@st.com>
To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
Subject: RE: [gentoo-user] clone root from HDD to SSD causes no video with
 NVIDIA driver
Thread-Topic: [gentoo-user] clone root from HDD to SSD causes no video with
 NVIDIA driver
Thread-Index: AdY9rjjRPP/VFkzeRxC5IJMWBUQnggAAKY+AAAQN4gA=
Date: Mon, 8 Jun 2020 18:07:37 +0000
Message-ID: 
 <AM0PR10MB24364B963914246FD99AD769F7850@AM0PR10MB2436.EURPRD10.PROD.OUTLOOK.COM>
References: 
 <AM0PR10MB2436BBEEEB6B970C735D89E5F7850@AM0PR10MB2436.EURPRD10.PROD.OUTLOOK.COM>
 <20200608170713.37e0f36b@digimed.co.uk>
In-Reply-To: <20200608170713.37e0f36b@digimed.co.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: lists.gentoo.org; dkim=none (message not signed)
 header.d=none;lists.gentoo.org; dmarc=none action=none header.from=st.com;
x-originating-ip: [165.225.202.113]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 06c36b99-c602-4027-58dd-08d80bd6d381
x-ms-traffictypediagnostic: AM0PR10MB2402:
x-microsoft-antispam-prvs: 
 <AM0PR10MB240200BB5B229AE853DF552FF7850@AM0PR10MB2402.EURPRD10.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:5797;
x-forefront-prvs: 042857DBB5
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 
 qMpB0J20HE11/f/hTRkHtlUBcexB/g8RP4Yd2rJClv0pzWLyl0HgbapLxAbahZZcOPh9a/Pk8XWxwV//Qe10CVEypcOmL8BVi4rh0qeqB92TDfjGK1Jl1qcxZAHy15OwvRCiUiMIoO2Kdd2OrMDCXiWVQA+kP0cQ9HheOwXzLEkbwi9ZICkR98z80wTW/WBP4kcRL0jT2gr0r/2fCNCydF7qjMPYWzhwPFn/cXr8/oAPGWmmhth3jpVenou/twWzSTRPKYkB0/Y2tfKlG7gr8GW1SIRNYh+J8MBPJRxLtuJISBhxzs2XkzY7nTF4UEqCpF8qZKeoDrkgWKMgWetEHg==
x-forefront-antispam-report: 
 CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR10MB2436.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(376002)(136003)(366004)(39860400002)(396003)(346002)(66446008)(52536014)(26005)(6916009)(7696005)(55236004)(4744005)(2906002)(33656002)(9686003)(186003)(53546011)(8936002)(64756008)(76116006)(66476007)(86362001)(83380400001)(316002)(8676002)(66946007)(6506007)(71200400001)(55016002)(478600001)(5660300002)(66556008);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata: 
 NlTroR/NL0YEUurqmJBIPn+Srj5xQOHYTB1A2j6nJARdg8AtuHhbvE2wgoULukczqO8nx/ExojdOjKcjDT71utF+JTuK8TIb+h+gKiLEWGAkNwHuNNIyEZcpLoK4St3R2fj7jnVtZPcEscKXew66bxG+n3kLltg87Rvu0rP4sYjXXwq+JiHZtjE6IoyhlV+5CG7iVt7Fre0C5dIDBVGUCEKtZWN10YmETfSVtYQxWVN8uUCd0dVDiTqjsEjjQuAX06msQBRTzYcCPRDgIdE1F/CVaSRU/yn1r4VlLjrBwpYSXNHNFfDlvKTqr6FPtioEulzr/BTl/id5VyvRKbkYHV8ZrVruLVB9WeRTYLlpLhn6+4nhrACMy53ElxPtCT0pBCIuwNwSGqabMyNCHJs5df55Ntg4RKTMde3JFMIV06jI2s1aoj9rklFoqeYXgOckuEgZBd5RVP/I6E23XWdAyMoR2eWRevlWU9Yd13/hqFlCh7dJ9l2+xDJN8luZ6xoY
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
X-OriginatorOrg: ST.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 06c36b99-c602-4027-58dd-08d80bd6d381
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2020 18:07:37.0942
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 75e027c9-20d5-47d5-b82f-77d7cd041e8f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: /6Qt9i+wogxL3SWBBFK6dGI1xZ6gDeFJZy7RN6tWRanwaYf90pnD0poiqFbYTAkdygZsx6rPj39GKLfjWsgE+g==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR10MB2402
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687
 definitions=2020-06-08_17:2020-06-08,2020-06-08 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 priorityscore=1501
 spamscore=0 clxscore=1015 cotscore=-2147483648 impostorscore=0
 lowpriorityscore=0 adultscore=0 malwarescore=0 suspectscore=0 mlxscore=0
 bulkscore=0 mlxlogscore=803 classifier=spam adjust=0 reason=mlx
 scancount=1 engine=8.12.0-2004280000 definitions=main-2006080130
X-Archives-Salt: 9f27e7aa-71cc-4108-8047-f909a41ce801
X-Archives-Hash: e85764d4fcabad5dbff501ed27e6d4f2

> -----Original Message-----
> From: Neil Bothwick <neil@digimed.co.uk>
> Sent: Monday, June 8, 2020 18:07
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] clone root from HDD to SSD causes no video wit=
h
> NVIDIA driver
>=20
> You're missing device nodes in /dev that are needed before udev populates
> it. Simply excluding the virtual filesystems as you have results in these=
 files
> not being copied as they are hidden behind the virtual /dev/ mounted from
> used. The way I clone a root device is
>=20
> mkdir -p /mnt/root
> mount --bind / /mnt/root
> rsync -a /mnt/root/ /mnt/new/device/
>=20
> That preserves files that are otherwise hidden by mounted filesystems.
>=20
I tried this:
# mkdir -p /mnt/root
# mount --bind / /mnt/root

The bind-mounted dev/ does not contain all devices, in particular the nvidi=
a ones are missing. BTW, I thought these were created dynamically during th=
e module load.
Then, for a quick test:
# rsync -a /mnt/root/dev/* /mnt/new/device/dev

But it did not fix the issue.

raffaele