LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-06-2023, 01:39 AM   #1
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Debian luks FDE copied with DD to second drive which has no nvidia GPU


I have a Debian bullseye installation on a luks fully encrypted drive that I wanted to copy to an identical drive and run on an Asus VC66-C (tiny form factor/no frills) during an upcoming trip. I had forgotten that the source machine is configured with the nvidia drivers, whereas the target machine is pretty basic/non-invida. So, of course, I get an error when I boot on the target machine. Is there a way to fix this on the target machine, or will I have to switch back to the non-nvidia video driver on the source machine, and then redo the "dd" copy (several hours) to the target machine? Maybe something I can do in the boot menu? I have no experience at this level of tinkering.
 
Old 06-06-2023, 01:28 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Original Poster
Rep: Reputation: 141Reputation: 141
The boot menu was the answer, of course. I chose the second line and booted into recovery mode. I did several things, but I think these are the important ones:

1) In /etc/modprobe.d/nvidia-blacklists-nouveau.conf, remove the line that says "blacklist nouveau".
2) If you've used nvidia-settings to create an xorg.conf, then you must remove "/etc/X11/xorg.conf". If you don't remember, just look at the top of the file, and if it says it was created by nvidia-settings, then it needs to be removed.

I also used "#" to disable all the lines in /etc/modprobe.d/nvidia.conf, but I probably should have just removed the file.
The same is true for /etc/modprobe.d/nvidia-kernel-common.conf.
Also for /etc/modprobe.d/nvidia-options.conf

3) Run "sudo update-initramfs -u" to reconfigure the kernel with nouveau and without nvidia.

Then reboot and it should work under nouveau.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nvidia open-sources Linux kernel GPU modules. Repeat, open-source GPU modules LXer Syndicated Linux News 0 05-13-2022 08:16 AM
Lock / Unlock HDD Momentus 7200 FDE.2 250GB from Seagate seulement Linux - Hardware 4 03-09-2012 06:23 PM
Installing second NVIDIA GPU - Second card not seen in Settings Menu liquidfalcon Linux - Hardware 0 08-04-2010 12:59 PM
How does Seagate secure the FDE keys when the drive leaves the factory? jgombos Linux - Security 1 05-01-2010 10:32 AM
Help on installing programs, FC 6 w/ FDE mattcantgetsome Linux - Software 1 03-17-2007 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration