Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] clone root from HDD to SSD causes no video with NVIDIA driver
Date: Mon, 08 Jun 2020 16:14:15
Message-Id: 20200608161402.mfspuohnqh3kyhl4@solfire
In Reply to: [gentoo-user] clone root from HDD to SSD causes no video with NVIDIA driver by Raffaele BELARDI
1 Hi Raffaele,
2
3 may be this could give some insight of was is happening.
4
5 You said, you are able to ssh into your PC.
6 I would try the following: Boot the PC, ssh into it and disable the
7 start of X. Boot again: Are you getting the console login
8 successfully?
9
10 Can you check, whether /dev , /proc , /sys and other directories of a
11 special function are created and filled correctly?
12 Are the permissions ok?
13 Is /run available and setup correctly?
14
15 Are there any leftovers from the root@hd in /etc/fstab?
16
17 If you get to console successfully, is it possible to start X from
18 the commandline? What is printed on the terminal?
19 What does X.log say?
20
21 Hopefully we will find something to fix that problem!
22
23 Cheers!
24 Meino
25
26
27
28
29 On 06/08 04:02, Raffaele BELARDI wrote:
30 > Hello,
31 >
32 > I am trying to switch an existing and fully working HDD, MBR-based ~amd64 LXDE/Kodi setup to a 500Gb SSD. I also took the opportunity to dual boot Gentoo with Win10 on the same SSD. As suggested by the Wiki [1] I first installed Win letting it GPT-partition the SSD and leaving some empty space for a Gentoo ext4 root partition. Then I copied the Gentoo root from the HDD to the SSD ('cp -a' except /dev, /sys and /proc which I recreated empty on the SSD), UEFI-booted a SysRescue USB and installed GRUB2 to the Windows-created ESP. Now, while the chain-loaded Windows boots happily, I'm not able to get any GUI or terminal interface for SSD-booted Linux. The old, HDD-based installation is still available and running fine.
33 >
34 > In details:
35 >
36 > 1. GRUB starts and shows the linux/windows choices, select linux
37 > 2. The screen changes to 'loading linux-x.x.x', the disk light shows activity, I have indirect evidence that the OpenRC init reaches conclusion, but the screen does not change
38 > 3. I am able to SSH into the PC, all partitions are mounted, everything looks fine
39 > 4. Xorg.0.log shows NVIDIA driver was loaded but probably not executed, all the NVIDIA lines are missing
40 > 5. Only /dev/nvidiactl is present, /dev/nvidia0 and /dev/nvidia-modeset are missing
41 > 6. Syslog shows that the NVIDIA driver was loaded by the kernel, no crash
42 > 7. CTRL-ALT-Fn apparently has no effect
43 > 8. I'm sure the kernel is fine for this NVIDIA driver because the HDD installation works with it, nevertheless I recompiled and reinstalled the kernel and NVIDIA drivers to the SSD from the SSH, no change
44 >
45 > Before I give up and reinstall Gentoo from scratch on the SSD what else could I try? I can share the logs if needed.
46 >
47 > Thanks,
48 >
49 > Raffaele
50 >
51 > [1] https://wiki.gentoo.org/wiki/UEFI_Dual_boot_with_Windows_7/8

Replies

Subject Author
RE: [gentoo-user] clone root from HDD to SSD causes no video with NVIDIA driver Raffaele BELARDI <raffaele.belardi@××.com>