I think I may have missed a step on making the new kernel. I did not used make modules_install
I'm sorry, I got a little confused with:
Pietinger wrote:3. If you need a new kernel (because you had NVME disabled and have to enable it) configure it and "make" it. Dont install it right now (we do later).
Should I rsync the whole system or just /usr will be okay?
Pietinger wrote:Do you get an error somewhere ?
Not that I'm aware of. But not sure where I should look for an error.
Here is what you asked:
lsblk:
Code: Select all
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 256M 0 part
├─sda2 8:2 0 99.8G 0 part /
└─sda3 8:3 0 831.5G 0 part /home
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 1G 0 part /mnt/ssd/root/efi
├─nvme0n1p2 259:2 0 100G 0 part /mnt/ssd/root
└─nvme0n1p3 259:3 0 830.5G 0 part
blkid:
Code: Select all
/dev/nvme0n1p3: UUID="806a367d-be15-414a-af51-ada65d66c4bb" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="HOME" PARTUUID="da8acd37-6d87-854d-b873-71ff43813346"
/dev/nvme0n1p1: UUID="BD11-25EA" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="ESP" PARTUUID="1c6dcbae-af8d-b24f-b096-b626e61cfdcf"
/dev/nvme0n1p2: UUID="33bfcc4c-4f62-451f-a82f-787ece6ce0ed" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="ROOT" PARTUUID="26acf7d7-e617-284c-858a-27d0ad42bc1a"
/dev/sda2: UUID="c18bd639-f7a6-43c1-a987-b37162001cb8" BLOCK_SIZE="1024" TYPE="ext4" PARTLABEL="ROOT" PARTUUID="9a6abc72-862f-4444-bf04-9c37592031e5"
/dev/sda3: UUID="bb87e383-e74a-4e2b-b791-4d4913775bfe" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="HOME" PARTUUID="37f62d4b-7d45-6d4b-bac6-292b63054247"
/dev/sda1: UUID="DEFB-1341" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="ESP" PARTUUID="dcc34a59-57e2-194b-8661-9d1000130a97"
parted -l:
Code: Select all
Model: ATA WDC WD10SPZX-35Z (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 269MB 268MB fat32 ESP msftdata
2 269MB 107GB 107GB ext4 ROOT
3 107GB 1000GB 893GB ext4 HOME
Model: KINGSTON SNV2S1000G (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 1049kB 1075MB 1074MB fat32 ESP boot, esp
2 1075MB 108GB 107GB ext4 ROOT
3 108GB 1000GB 892GB ext4 HOME
efibootmgr:
Code: Select all
BootCurrent: 0006
Timeout: 2 seconds
BootOrder: 0001,0006,0007,0008,0009
Boot0001* SSD HD(1,GPT,dcc34a59-57e2-194b-8661-9d1000130a97,0x800,0x80000)/File(\EFI\SSD\BZIMAGE.EFI)/dev/nvme0n1
Boot0006* Gentoo HD(1,GPT,dcc34a59-57e2-194b-8661-9d1000130a97,0x800,0x80000)/File(\EFI\GENTOO\BZIMAGE.EFI)72006f006f0074003d002f006400650076002f007300640061003200200072006f00
Boot0007* Backup HD(1,GPT,dcc34a59-57e2-194b-8661-9d1000130a97,0x800,0x80000)/File(\EFI\BACKUP\BZIMAGE.EFI)
Boot0008* Secure HD(1,GPT,dcc34a59-57e2-194b-8661-9d1000130a97,0x800,0x80000)/File(\EFI\SECURE\BZIMAGE.EFI)
Boot0009* UEFI OS HD(1,GPT,dcc34a59-57e2-194b-8661-9d1000130a97,0x800,0x80000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
mount:
Code: Select all
/dev/sda2 on / type ext4 (rw,noatime,stripe=4)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=2037088,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=3260284k,nr_inodes=819200,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda3 on /home type ext4 (rw,noatime)
tmpfs on /var/tmp/portage type tmpfs (rw,relatime,size=12582912k,mode=775,uid=250,gid=250)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1630140k,nr_inodes=407535,mode=700,uid=1000,gid=1000)
/dev/nvme0n1p2 on /mnt/ssd/root type ext4 (rw,relatime)
/dev/nvme0n1p1 on /mnt/ssd/root/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
ls -lR /efi/EFI
Code: Select all
/efi/EFI/:
total 4
drwxr-xr-x 2 root root 512 22 jan 18:25 backup
drwxr-xr-x 2 root root 512 28 feb 2023 BOOT
drwxr-xr-x 3 root root 512 5 okt 17:42 EFI
drwxr-xr-x 2 root root 512 20 jan 14:10 example
drwxr-xr-x 2 root root 1024 26 jan 23:57 gentoo
drwxr-xr-x 2 root root 512 20 jan 14:24 secure
/efi/EFI/backup:
total 12887
-rwxr-xr-x 1 root root 13196224 22 jan 18:22 gentoo-6.1.67.efi
/efi/EFI/BOOT:
total 132
-rwxr-xr-x 1 root root 135168 11 sep 08:01 BOOTX64.EFI
/efi/EFI/EFI:
total 1
drwxr-xr-x 2 root root 512 5 okt 17:43 BOOT
/efi/EFI/EFI/BOOT:
total 132
-rwxr-xr-x 1 root root 135168 5 okt 17:43 BOOTX64.EFI
/efi/EFI/example:
total 0
/efi/EFI/gentoo:
total 79720
-rwxr-xr-x 1 root root 13394528 26 jan 23:57 bzImage.efi
-rwxr-xr-x 1 root root 13243904 24 jan 10:43 gentoo-6.1.67-1.efi
-rwxr-xr-x 1 root root 13308448 24 jan 10:43 gentoo-6.1.67-2.efi
-rwxr-xr-x 1 root root 13383840 25 jan 09:00 gentoo-6.1.67-3.efi
-rwxr-xr-x 1 root root 13196224 21 jan 12:38 gentoo-6.1.67.efi
-rwxr-xr-x 1 root root 15104800 23 jan 23:32 gentoo-6.6.13.efi
/efi/EFI/secure:
total 13158
-rwxr-xr-x 1 root root 13472960 20 jan 15:40 bzImage.efi
ls -lR /mnt/ssd/root/efi/EFI:
Code: Select all
/mnt/ssd/root/efi/EFI/:
total 4
drwxr-xr-x 2 root root 4096 27 jan 21:32 ssd
/mnt/ssd/root/efi/EFI/ssd:
total 13084
-rwxr-xr-x 1 root root 13394528 27 jan 21:32 bzImage.efi
more /etc/fstab:
Code: Select all
#/dev/sda1 [BOOT]
UUID=DEFB-1341 /efi vfat noauto,noatime 1 2
#/dev/sda2 [ROOT]
UUID=c18bd639-f7a6-43c1-a987-b37162001cb8 / ext4 noatime 0 1
#/dev/sda3 [HOME]
UUID=bb87e383-e74a-4e2b-b791-4d4913775bfe /home ext4 noatime 0 2
#/swapfile [SWAP]
/swapfile none swap defaults 0 0
#UUID=b200f8bc-86df-477b-be1f-43838cfed7ba none swap sw 0 0
#STEAM
#<fs> <mountpoint> <type> <opts> <dump/pass>
#shm /dev/shm tmpfs nodev,nosuid,noexec,size=768M 0 0
#TMPFS
#tmpfs /var/tmp/portage tmpfs size=3G,uid=portage,gid=portage,mode=775,nosuid,noatime,nodev 0 0
tmpfs /var/tmp/portage tmpfs size=12G,uid=portage,gid=portage,mode=775 0 0
more /mnt/ssd/root/etc/fstab
Code: Select all
#/dev/sda1 [BOOT]
UUID=BD11-25EA /efi vfat noauto,noatime 1 2
#/dev/sda2 [ROOT]
UUID=33bfcc4c-4f62-451f-a82f-787ece6ce0ed / ext4 noatime 0 1
#/dev/sda3 [HOME]
UUID=806a367d-be15-414a-af51-ada65d66c4bb /home ext4 noatime 0 2
#/swapfile [SWAP]
/swapfile none swap defaults 0 0
#UUID=b200f8bc-86df-477b-be1f-43838cfed7ba none swap sw 0 0
#STEAM
#<fs> <mountpoint> <type> <opts> <dump/pass>
#shm /dev/shm tmpfs nodev,nosuid,noexec,size=768M 0 0
#TMPFS
#tmpfs /var/tmp/portage tmpfs size=3G,uid=portage,gid=portage,mode=775,nosuid,noatime,nodev 0 0
tmpfs /var/tmp/portage tmpfs size=12G,uid=portage,gid=portage,mode=775 0 0
Pietinger wrote:and check if your /mnt/ssd looks like your (new) root partition
Looks like everything is in there.
EDIT:
Pietinger wrote:P.S.:
sokrovenno, please give us also the output of "cat /proc/cmdline"
root=PARTUUID=9a6abc72-862f-4444-bf04-9c37592031e5 ro root=/dev/sda2 ro