Hello,
I am in trouble.
After I made a cp -a of a root (lvm2) partition on a ext4 regular partition (sdb12), I cannot boot
on the new partition (I add to delete the old partition!).
I modified the fsat partition to only mount the /
/dev/sdb12 / ext4 defaults 1 1
I tried .autorelabel, but not sure that it made it.
It get
fail to start systemd-journald.service
(booting from anpther partition, I can make a chroot sdb12 partition)
If I understand, from
> [ OK ] Finished modprobe(a)loop.service - Load Kernel Module loop.
> [FAILED] Failed to start systemd-journald.service - Journal Service.
> See 'systemctl status systemd-journald.service' for details.
> [FAILED] Failed to start systemd-modules-load.service - Load Kernel Modules.
> See 'systemctl status systemd-modules-load.service' for details.
> [FAILED] Failed to start systemd-network-generator.service - Generate Network Units from Kernel Command Line.
> See 'systemctl status systemd-network-generator.service' for details.
> [ OK ] Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
> [ OK ] Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials.
> Starting readonly-root.service - Configure read-only root support...
> Starting systemd-journald.service - Journal Service...
> Starting systemd-sysctl.service - Apply Kernel Variables...
> Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...
> [FAILED] Failed to start systemd-sysctl.service - Apply Kernel Variables.
>
I guess that the modules are not called properly
I also modified the /boot/grub2/grub.cfg
(including the output of grub2-mkconfig)
Let have a look on
menuentry 'Fedora Linux 42 (Workstation Edition) (on /dev/sdb12)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-6.18.16-100.fc42.x86_64--8db0d3a7-71b9-4f12-ad8d-21a0c31342cf' {
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2' 8e9e44c0-7501-46f5-bd58-b17a7712d632
else
search --no-floppy --fs-uuid --set=root 8e9e44c0-7501-46f5-bd58-b17a7712d632
fi
linux /vmlinuz-6.18.16-100.fc42.x86_64 root=/dev/sdb12 resume=UUID=cc01ef93-ef1c-4a18-9bbb-6339aa8a5e97 rd.lvm.lv=VolSys1/root nouveau.modeset=0 pci=noaer
initrd /initramfs-6.18.16-100.fc42.x86_64.img
}
What could be wrong ?
/lib/modules/6.18.16-100.fc42.x86_64/ seems correct
8db0d3a7-71b9-4f12-ad8d-21a0c31342cf is /dev/sdb12
hd0,msdos2 is /dev/sda2 and it is /boot (where is grub.cfg)
8e9e44c0-7501-46f5-bd58-b17a7712d632 is /dev/sda2
cc01ef93-ef1c-4a18-9bbb-6339aa8a5e97 is a swap partition
Here is fsck
Disk /dev/sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 850
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9c5f71f5
Device Boot Start End Sectors Size Id Type
/dev/sda1 126976 66295807 66168832 31.6G 82 Linux swap / Solaris
/dev/sda2 * 66295808 68139007 1843200 900M 83 Linux
/dev/sda3 68139008 201234431 133095424 63.5G 8e Linux LVM
/dev/sda4 201234432 488396799 287162368 136.9G 5 Extended
/dev/sda5 201236480 277448703 76212224 36.3G 83 Linux
/dev/sda6 277450752 445386751 167936000 80.1G 8e Linux LVM
/dev/sda7 445388800 488396799 43008000 20.5G 83 Linux
Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: HGST HTS721010A9
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xb58683be
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 63 2050047 2049985 1001M c W95 FAT32 (LBA)
/dev/sdb2 2050048 14338047 12288000 5.9G 83 Linux
/dev/sdb3 14338048 171624447 157286400 75G 83 Linux
/dev/sdb4 171624448 1953525167 1781900720 849.7G 5 Extended
/dev/sdb5 171626496 173060095 1433600 700M 83 Linux
/dev/sdb6 173062144 316012543 142950400 68.2G 8e Linux LVM
/dev/sdb7 316014592 377454591 61440000 29.3G 8e Linux LVM
/dev/sdb8 377456640 463474687 86018048 41G 83 Linux
/dev/sdb9 463476736 535152639 71675904 34.2G 83 Linux
/dev/sdb10 535154688 679948287 144793600 69G 83 Linux
/dev/sdb11 679950336 884750335 204800000 97.7G 8e Linux LVM
/dev/sdb12 884752384 1057894399 173142016 82.6G 83 Linux
/dev/sdb13 1057896448 1086556159 28659712 13.7G 83 Linux
Disk /dev/zram0: 8 GiB, 8589934592 bytes, 2097152 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/VolSys2-usr_src: 17.65 GiB, 18954059776 bytes, 37019648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/VolSys2-usr_local: 9 GiB, 9663676416 bytes, 18874368 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/VolSys2-root: 71 GiB, 76235669504 bytes, 148897792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/VolSys1-usr_local: 8.58 GiB, 9208594432 bytes, 17985536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VolSys1-root: 71.5 GiB, 76772540416 bytes, 149946368 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VolSys0_ext-usr_src: 18 GiB, 19327352832 bytes, 37748736 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/VolSys0_ext-tmp: 1 GiB, 1073741824 bytes, 2097152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/VolSys0_ext-iso--image: 10.29 GiB, 11051991040 bytes, 21585920 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/VolSys0-root: 51.7 GiB, 55515807744 bytes, 108429312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VolSys0-usr_local: 11.75 GiB, 12620660736 bytes, 24649728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
===========================================================================