Swapped SSD to new laptop and can't start anything

hey everyone, I took my ssd out of an old laptop that was using an Nvidia GPU into one that has intel graphics. Every time it starts I am asked for my disk encryption password, then it starts to boot and then it sits at the Dell screen forever. I can switch to TTY2 and from there I removed the nvidia drivers by using this Help me remove the nvidia drivers.

I then installed the video-linux drivers and did a mkinitcpio -P and I get errors for 4 nvidia modules missing (can’t figure out how to remove them since I don’t have nvidia anymore. After which I rebooted and still get the same screen. I then tried to manually run kstart5 for plasma shell but get an error that qt can’t load module for display and nothing I am finding helps me fix it.

I also reinstalled linux62 hoping that would fix it and it didn’t. Anyone have any options? I really don’t want to reinstall if possible.

add option on boot kernel ibt=off

CPU microcode?

Adding the option did not work. After a reboot I’m still staring at the Dell splash screen. Also my CPU would be a 10th gen

What do you mean cpu microcode, not sure what that is fully.

I mean did you install the CPU microcode if you change from AMD to Intel CPU?

Ohh no I was going from Intel to intel

can you boot on USB iso live manjaro ,
open a terminal and a browser on this topic ,

from terminal

test -d /sys/firmware/efi && echo efi || echo bios
sudo parted - l
sudo efibootmgr -v
sudo lsblk -fs
sudo manjaro-chroot -a
mhwd-kernel -li
mhwd -li
cat /etc/fstab
exit (end chroot)

That wasn’t the easiest haha. Had to look up how to chroot to a luks drive but I got it figured out.

    ~  test -d /sys/firmware/efi && echo efi || echo bios                                             ✔ 
efi
    ~  sudo parted -l                                                                        1 ✘  8s  
Model: IS917 innostor (scsi)
Disk /dev/sda: 30.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      4084MB  4088MB  4194kB  primary               esp


Model: CT1000P2SSD8 (nvme)
Disk /dev/nvme0n1: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      17.4kB  1000GB  1000GB


Model: KBG40ZNS512G NVMe KIOXIA 512GB (nvme)
Disk /dev/nvme1n1: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name  Flags
 1      17.4kB  538MB  538MB  fat32              boot, esp
 2      538MB   512GB  512GB

     ~  sudo efibootmgr -v                                                                             ✔ 
BootCurrent: 0004
Timeout: 2 seconds
BootOrder: 0004,0006,0000,0003,0001,0002
Boot0000* UEFI KBG40ZNS512G NVMe KIOXIA 512GB 31SPD72PQL52 1    HD(1,GPT,67181f90-8681-b94b-910c-afd2b4261e30,0x22,0x1007de)/File(\EFI\Boot\BootX64.efi){auto_created_boot_option}
      dp: 04 01 2a 00 01 00 00 00 22 00 00 00 00 00 00 00 de 07 10 00 00 00 00 00 90 1f 18 67 81 86 4b b9 91 0c af d2 b4 26 1e 30 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 58 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
Boot0001  ONBOARD NIC (IPV4)    PciRoot(0x0)/Pci(0x1f,0x6)/MAC(c025a558d389,0)/IPv4(0.0.0.00.0.0.0,0,0){auto_created_boot_option}
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 06 1f / 03 0b 25 00 c0 25 a5 58 d3 89 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0c 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
    data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
Boot0002  ONBOARD NIC (IPV6)    PciRoot(0x0)/Pci(0x1f,0x6)/MAC(c025a558d389,0)/IPv6([::]:<->[::]:,0,0){auto_created_boot_option}
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 06 1f / 03 0b 25 00 c0 25 a5 58 d3 89 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0d 3c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 7f ff 04 00
    data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
Boot0003  UEFI HTTPs Boot       PciRoot(0x0)/Pci(0x1f,0x6)/MAC(c025a558d389,0)/IPv4(0.0.0.00.0.0.0,0,0)/Uri(){auto_created_boot_option}
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 06 1f / 03 0b 25 00 c0 25 a5 58 d3 89 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 0c 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 / 03 18 04 00 / 7f ff 04 00
    data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
Boot0004* UEFI innostor USB 3.0 201207226096    PciRoot(0x0)/Pci(0x14,0x0)/USB(12,0)/HD(2,MBR,0x0,0x79b484,0x2000)/File(\EFI\Boot\BootX64.efi){auto_created_boot_option}
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 0c 00 / 04 01 2a 00 02 00 00 00 84 b4 79 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 58 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
Boot0006* UEFI innostor USB 3.0 201207226096 2  PciRoot(0x0)/Pci(0x14,0x0)/USB(12,0)/CDROM(1,0x79b484,0x8000)/File(\EFI\Boot\BootX64.efi){auto_created_boot_option}
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 0c 00 / 04 02 18 00 01 00 00 00 84 b4 79 00 00 00 00 00 00 80 00 00 00 00 00 00 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 6f 00 6f 00 74 00 5c 00 42 00 6f 00 6f 00 74 00 58 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 4e ac 08 81 11 9f 59 4d 85 0e e2 1a 52 2c 59 b2
   ~  sudo lsblk -fs                                                                                 ✔ 
NAME    FSTYPE FSVER LABEL          UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0   squash 4.0                                                             0   100% /run/miso/sfs/livefs
loop1   squash 4.0                                                             0   100% /run/miso/sfs/mhwdfs
loop2   squash 4.0                                                             0   100% /run/miso/sfs/desktopfs
loop3   squash 4.0                                                             0   100% /run/miso/sfs/rootfs
sda1    iso966 Jolie MANJARO_KDE_2205
                                    2023-03-16-12-31-50-00                              
└─sda   iso966 Jolie MANJARO_KDE_2205
                                    2023-03-16-12-31-50-00                     0   100% /run/miso/bootmnt
sda2    vfat   FAT12 MISO_EFI       623B-25B9                                           
└─sda   iso966 Jolie MANJARO_KDE_2205
                                    2023-03-16-12-31-50-00                     0   100% /run/miso/bootmnt
nvme1n1p1
        vfat   FAT32 LINUX BOOT     1AE3-C2D5                                           
└─nvme1n1
                                                                                        
nvme1n1p2
        crypto 1                    92bd998c-4671-4de2-96a5-ac1b3878c64e                
└─nvme1n1
                                                                                        
nvme0n1p1
        crypto 1                    c263fccc-c8c0-49aa-8152-a0f73e72eb9c                
└─nvme0n1
    ~  sudo cryptsetup -v luksOpen /dev/nvme1n1p2 cryptDrive1                                  5 ✘  5s  
Enter passphrase for /dev/nvme1n1p2: 
Key slot 0 unlocked.
Command successful.
    ~  sudo mount /dev/mapper/cryptDrive1 /mnt   
                                                  
    ~  sudo manjaro-chroot /mnt/@                                                                   255 ✘ 
sh-5.1# ls
bin   crypto_keyfile.bin  dev  home  lib64  opt   root             run   srv  tmp  var
boot  desktopfs-pkgs.txt  etc  lib   mnt    proc  rootfs-pkgs.txt  sbin  sys  usr
sh-5.1# mhwd-kernel -li
Currently running: 6.1.19-1-MANJARO (linux61)
The following kernels are installed in your system:
   * linux61
   * linux62
sh-5.1# mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
sh-5.1# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=1AE3-C2D5                            /boot/efi      vfat    umask=0077 0 2
/dev/mapper/luks-92bd998c-4671-4de2-96a5-ac1b3878c64e /              btrfs   subvol=/@,defaults,discard=async,ssd 0 0
/dev/mapper/luks-92bd998c-4671-4de2-96a5-ac1b3878c64e /var/cache     btrfs   subvol=/@cache,defaults,discard=async,ssd 0 0
/dev/mapper/luks-92bd998c-4671-4de2-96a5-ac1b3878c64e /var/log       btrfs   subvol=/@log,defaults,discard=async,ssd 0 0
/dev/mapper/luks-c263fccc-c8c0-49aa-8152-a0f73e72eb9c /home          btrfs   defaults,discard=async,ssd 0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
sh-5.1# exit

  • is /boot/efi outside luks drive ?
  • as UEFI and GPT , it should be , after chroot , /boot/efi have to be mounted on chroot [ may be luks ]
  • you may have to give the full path manually in UEFI , /boot/efi/EFI/grubx64.efi from your selected disk boot nmve
sudo manjaro-chroot -a
inxi -Fza
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck 
efibootmgr -v
exit 

When I set up Manjaro, it looked like I couldn’t have boot on an encrypted drive. My boot is on the nvme1n1p1 that is FAT32 format.

    ~  sudo mount /dev/nvme1n1p1 /mnt                                                                 1 ✘ 
    ~  ls /mnt                                                                                          ✔ 
EFI
    ~  ls /mnt/EFI                                                                                      ✔ 
boot  Manjaro
    ~  ls -R /mnt                                                                                       ✔ 
/mnt:
EFI

/mnt/EFI:
boot  Manjaro

/mnt/EFI/boot:
bootx64.efi

/mnt/EFI/Manjaro:
grubx64.efi

Otherwise the installer was complaining. So my NVME’s are setup with 1 drive having two partitions, a FAT32 for booting and then BTRFS for the filesystem and only the BTRFS is LUKS encrypted. Then my 2nd NVME is all BTRFS and it is the /home mount point for user directory.

I specified the manjaro-chroot because every time I try to run sudo manjaro-chroot -a I get the following output

   ~  sudo manjaro-chroot -a                                                                           ✔ 
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
==> ERROR: No Linux partitions detected!

Also my system does boot and I can enter the TTY2-# and I have been able to successfully run update-grub also. Which is why I was thinking it was an issue with going from nvidia to intel and every time I try to do anything with the display, I get errors that no display is found.

so you have to do chroot manually step by step

sudo su

cryptsetup luksOpen /dev/nvme1n1p2 cryptdrive1

mount /dev/mapper/cryptDrive1 /mnt 
mount /dev/nvme1n1p1 
manjaro-chroot /mnt/@ 

mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
mount -t devpts pts /mnt/dev/pts/

chroot /mnt

looks like there is some leftover config related to nvidia, so post output from:
ls /etc/modprobe.d
find /etc/X11/ -name "*.conf"
pacman -Qm
pacman -Qs 'optimus|prim|bbswitch'

1 Like

You’re my hero! Didn’t think about the xorg configs I was using with Nvidia. I deleted those and took a picture of the rest of the output. But I rebooted and it came right up so I don’t see a reason to post this. Thanks so much!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.