Warning: The kernel is still using the old partition table.?

When running a module-repair, I always get this warning and have been getting it since install on July 30, 2024. FYI today is Aug. 2, 2024

Curious if this something that needs to be fixed. It still reappears even after doing a reboot.

External command: Warning: The kernel is still using the old partition table.
External command: The new table will be used at the next reboot or after you
External command: run partprobe(8) or kpartx(8)

Something’s weird with your partitions. Can you run these and paste the output?

sudo lsblk
sudo blkid
sudo mount
sudo systemctl status boot.mount
sudo dmesg | grep sda  # <- change 'sda' to whatever lsblk shows as your disk device, maybe 'nvme0n1', for example
sudo lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0    99M  0 part 
├─sda2   8:2    0    16M  0 part 
├─sda3   8:3    0 364.7G  0 part 
├─sda4   8:4    0     8M  0 part 
├─sda5   8:5    0    98G  0 part 
├─sda6   8:6    0     2G  0 part 
└─sda7   8:7    0   523M  0 part 
sdb      8:16   0 931.5G  0 disk 
├─sdb1   8:17   0   128M  0 part 
└─sdb2   8:18   0 821.1G  0 part 
sdc      8:32   0 931.5G  0 disk 
├─sdc1   8:33   0   149M  0 part 
└─sdc2   8:34   0 931.4G  0 part /
sdd      8:48   0   4.5T  0 disk 
├─sdd1   8:49   0   128M  0 part 
└─sdd2   8:50   0   4.5T  0 part 
sdf      8:80   1     0B  0 disk 
sdg      8:96   1     0B  0 disk 
sdh      8:112  1     0B  0 disk 
sr0     11:0    1  1024M  0 rom  

+++++++++++++++++++++++++++++++++++

sudo blkid
/dev/sdd2: LABEL="wd media" BLOCK_SIZE="512" UUID="961666A8166688D7" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="246ab601-9a17-4b56-b294-b3469917be17"
/dev/sdd1: PARTLABEL="Microsoft reserved partition" PARTUUID="e0049638-8265-41ad-a0eb-4be6f8bb2e46"
/dev/sdb2: LABEL="qbback" BLOCK_SIZE="512" UUID="01DADA49D73F7960" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="2b5c6d77-99ab-4851-bbf0-a3884fe12c76"
/dev/sdb1: PARTLABEL="Microsoft reserved partition" PARTUUID="47d9e82b-7dc7-4b66-b156-0f12029b5015"
/dev/sdc2: LABEL="root" UUID="bfd08430-e86e-491a-844e-2c0486bc3eae" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="/" PARTUUID="a281dab7-653f-4d27-974a-e71cc4a23258"
/dev/sdc1: LABEL_FATBOOT="boot" LABEL="boot" UUID="A7A4-6E37" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI" PARTUUID="0891151a-97bb-44a1-84cf-cd482574bcae"
/dev/sda4: UUID="603bb7d8-162d-4b0e-8984-f0a5cb8c854e" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="Basic data partition" PARTUUID="d60ef82b-7ff3-4b67-b254-6c5062d768fd"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="958e118e-d765-4fbc-80e8-2f96c28e2431"
/dev/sda7: BLOCK_SIZE="512" UUID="DACC450BCC44E37D" TYPE="ntfs" PARTUUID="c1b23a2f-fbc2-4166-aa83-afb913d83734"
/dev/sda5: PARTLABEL="Basic data partition" PARTUUID="b645b714-ae65-48a0-bb73-d5b3759c3fb3"
/dev/sda3: LABEL="main_dr" BLOCK_SIZE="512" UUID="01DADA03AEE57000" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="e618dc07-6766-42ab-8bff-1fcf93003388"
/dev/sda1: UUID="F0B7-EDA5" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="acf5af73-c392-4992-b560-82f476bdbb65"
/dev/sda6: PARTLABEL="Basic data partition" PARTUUID="6a006ca3-ae2a-4141-b4f3-d275f4ad332a"

+++++++++++++++++++++++++++++++++++++++++

sudo mount
/dev/sdc2 on / type ext4 (rw,relatime,stripe=256)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=8131252k,nr_inodes=2032813,mode=755,inode64)
/proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=3261936k,nr_inodes=819200,mode=755,inode64)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755,inode64)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/misc type cgroup (rw,nosuid,nodev,noexec,relatime,misc)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=105)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
none on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,nr_inodes=1048576,inode64)
clr_debug_fuse on /usr/lib/debug type fuse.clr_debug_fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
clr_debug_fuse on /usr/src/debug type fuse.clr_debug_fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1630964k,nr_inodes=407741,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)

++++++++++++++++++++++++++++++++++++++++++++++++++++

systemctl status boot.mount
○ boot.mount - EFI System Partition Automount
     Loaded: loaded (/run/systemd/generator.late/boot.mount; generated)
     Active: inactive (dead)
      Where: /boot
       What: /dev/disk/by-diskseq/11-part1
       Docs: man:systemd-gpt-auto-generator(8)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
On sdc, sdc1 and sdc2:
dmesg: read kernel buffer failed: Operation not permitted

(btwarden added formatting)

SDC is the drive.

win10 is on sda
sdb is a backup disk
sdd is a backup disk
sdf,sdg,sdh micro card reader
sr0 CD-rom

Gotta do sudo dmesg :wink:

OOOPPPSS

sudo dmesg | grep sdc
[ 0.682174] sd 2:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 0.682180] sd 2:0:0:0: [sdc] Write Protect is off
[ 0.682182] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 0.682231] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[ 0.682308] sd 2:0:0:0: [sdc] Preferred minimum I/O size 512 bytes
[ 0.683351] sdc: sdc1 sdc2
[ 0.684398] sd 2:0:0:0: [sdc] supports TCG Opal
[ 0.684400] sd 2:0:0:0: [sdc] Attached SCSI disk
[ 0.872048] EXT4-fs (sdc2): mounted filesystem bfd08430-e86e-491a-844e-2c0486bc3eae r/w with ordered data mode. Quota mode: disabled.

So, what were your thoughts on this partition warning?

You need to do dmesg for each disk and see if one of them tells you something more about that. Nothing jumps out so far. Next, I’d try sudo partprobe -s -d to see if that will tell you what’s changing. As a complete guess, maybe your (looks like USB, even if it’s internal) SD card reader is throwing things off – mine usually don’t show a device until a card is actually present.

So far it doesn’t look like the warning is actually causing a problem, and also doesn’t look like it’s for sdc, so I wouldn’t worry about it too much, but you could start removing the extra disks until it goes away.

Well, I did a bit of cleanup on isle twelve! :smiley:

I had created several partitions for testing linux distro’s to help me decide which one to go with. Those partitions are now gone. I was hooked on CL from the moment it started installing and is what I finally went with. I was so excited, I ran out and got a new 1TB SSD to run it on.

I run Win 10 pro on disk SDA which, I can switch to when needed. Clear Linux runs on disk SDC.

sudo partprobe -s -d
/dev/sda: gpt partitions 1 2 3 4
/dev/sdb: gpt partitions 1 2
/dev/sdc: gpt partitions 1 2
/dev/sdd: gpt partitions 1 2

++++++++++++++++++++++++++++

sudo dmesg | grep sda
[ 0.675476] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 0.675482] sd 0:0:0:0: [sda] Write Protect is off
[ 0.675483] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 0.675489] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[ 0.675518] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[ 0.676911] sda: sda1 sda2 sda3 sda4
[ 0.678092] sd 0:0:0:0: [sda] supports TCG Opal
[ 0.678095] sd 0:0:0:0: [sda] Attached SCSI disk

udo dmesg | grep sdb
[ 0.675732] sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 0.675734] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[ 0.675741] sd 1:0:0:0: [sdb] Write Protect is off
[ 0.675743] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 0.675756] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[ 0.675773] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[ 0.726810] sdb: sdb1 sdb2
[ 0.726940] sd 1:0:0:0: [sdb] Attached SCSI disk

sudo dmesg | grep sdc
[ 0.677649] sd 2:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 0.677659] sd 2:0:0:0: [sdc] Write Protect is off
[ 0.677661] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 0.677674] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[ 0.677711] sd 2:0:0:0: [sdc] Preferred minimum I/O size 512 bytes
[ 0.678616] sdc: sdc1 sdc2
[ 0.679641] sd 2:0:0:0: [sdc] supports TCG Opal
[ 0.679643] sd 2:0:0:0: [sdc] Attached SCSI disk
[ 0.871047] EXT4-fs (sdc2): mounted filesystem bfd08430-e86e-491a-844e-2c0486bc3eae r/w with ordered data mode. Quota mode: disabled.

sudo dmesg | grep sdd
[ 0.723616] sd 3:0:0:0: [sdd] 9767541168 512-byte logical blocks: (5.00 TB/4.55 TiB)
[ 0.723619] sd 3:0:0:0: [sdd] 4096-byte physical blocks
[ 0.723626] sd 3:0:0:0: [sdd] Write Protect is off
[ 0.723628] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[ 0.723674] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn’t support DPO or FUA
[ 0.723701] sd 3:0:0:0: [sdd] Preferred minimum I/O size 4096 bytes
[ 0.756738] sdd: sdd1 sdd2
[ 0.756795] sd 3:0:0:0: [sdd] Attached SCSI disk

+++++++++++++++++++++++++++++

sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 99M 0 part
├─sda2 8:2 0 16M 0 part
├─sda3 8:3 0 464.7G 0 part
└─sda4 8:4 0 523M 0 part
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 128M 0 part
└─sdb2 8:18 0 931.4G 0 part
sdc 8:32 0 931.5G 0 disk
├─sdc1 8:33 0 149M 0 part
└─sdc2 8:34 0 931.4G 0 part /
sdd 8:48 0 4.5T 0 disk
├─sdd1 8:49 0 128M 0 part
└─sdd2 8:50 0 4.5T 0 part
sde 8:64 1 0B 0 disk
sdf 8:80 1 0B 0 disk
sdg 8:96 1 0B 0 disk
sr0 11:0 1 1024M 0 rom

SDC1 and SDC2 partitions. I see one is a fat partition; I thought it would have been mad ext4. :thinking:

sdc1

The boot partition should be FAT, that’s normal.

1 Like

OK, thanks for that!