Hi Bob,
OK, I confirmed this issue.
This is due to Fedora has an extra path (/root/) for the root files system in the root partition.
We will fix this in the next release.

Steven

On 10/21/2023 1:09 PM, Bob Bobsled wrote:
Hi,
re: Clonezilla not copying grub2 boot files on fedora38

I have a single 500 gb LVM2 partition with /root, /swap, /opt, & /home blocks.  It uses a bios boot and the Grub2 the /boot files are a subdirectory of Grub and not part of the partition.  Nothing fancy.

$ lsblk
NAME            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda               8:0    0 465.8G  0 disk
└─sda1            8:1    0 465.8G  0 part
  ├─fedora-root 253:0    0  65.2G  0 lvm  /
  ├─fedora-swap 253:1    0  10.2G  0 lvm  [SWAP]
  ├─fedora-opt  253:2    0   177G  0 lvm  /opt
  └─fedora-home 253:3    0 213.4G  0 lvm  /home
sdb               8:16   1     0B  0 disk
sr0              11:0    1  1024M  0 rom

# fdisk -l
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST500LM021-1KJ15
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: 0x2789b2c4

Device     Boot Start       End   Sectors   Size Id Type
/dev/sda1        2048 976773119 976771072 465.8G 8e Linux LVM


Disk /dev/mapper/fedora-root: 65.2 GiB, 70002933760 bytes, 136724480 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/fedora-swap: 10.25 GiB, 11001659392 bytes, 21487616 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/fedora-opt: 176.95 GiB, 190001971200 bytes, 371097600 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/fedora-home: 213.36 GiB, 229097078784 bytes, 447455232 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

-----------------------------------
[root@localhost /]# ls
1    bin   dev  home  lib64       media  opt   root  sbin  sys  usr
afs  boot  etc  lib   lost+found  mnt    proc  run   srv   tmp  var

boot dir files listing.  These are the files that aren't cloned.

$ cd /boot
$ ls

config-6.4.15-200.fc38.x86_64
config-6.5.5-200.fc38.x86_64
config-6.5.6-200.fc38.x86_64
efi
grub2
initramfs-0-rescue-44ef4c4daaf947fa96e409b2dc467b07.img
initramfs-6.4.15-200.fc38.x86_64.img
initramfs-6.5.5-200.fc38.x86_64.img
initramfs-6.5.6-200.fc38.x86_64.img
initrd-plymouth.img
loader
symvers-6.4.15-200.fc38.x86_64.xz
symvers-6.5.5-200.fc38.x86_64.xz
symvers-6.5.6-200.fc38.x86_64.xz
System.map-6.4.15-200.fc38.x86_64
System.map-6.5.5-200.fc38.x86_64
System.map-6.5.6-200.fc38.x86_64
vmlinuz-0-rescue-44ef4c4daaf947fa96e409b2dc467b07
vmlinuz-6.4.15-200.fc38.x86_64
vmlinuz-6.5.5-200.fc38.x86_64
vmlinuz-6.5.6-200.fc38.x86_64

Although there's an efi dir and efi files, I believe it's still using legacy boot (bios).

On Fri, Oct 13, 2023 at 11:20 PM Steven Shiau <ste...@narlabs.org.tw> wrote:

    Could you please share the partition table of your fedora 38?
    BTW, is this a legacy BIOS or uEFI boot machine?

    Steven

    On 2023/10/8 05:42, Bob Bobsled wrote:
    > Clonezilla was working fine to make a bootable usb backup of
    fedora 37
    > but stopped working when I upgraded to fedora 38. Perhaps has to do
    > do with Grub2?
    >
    > I have a single 500 gb LVM2 partition with /root, /swap, /opt, &
    /home
    > blocks.  I don't really understand Grub2 but apparently the /boot
    > files are a subdirectory of Grub and not part of the partition?
    >
    > These are the config, initramfs, System.map, and vmlinuz files
    needed
    > for booting.
    >
    > I've tried cloning the drive 3 times using the latest Clonezilla
    live,
    > using disk to disk to try to make a backup on an external usb drive.
    >
    > The clone is successful, but none of the boot files ever get
    cloned,
    > and thus the usb is not bootable nor mountable because it
    doesn't have
    > a  file system without the boot files.  Therefore in the event
    of of
    > main disk corruption, crash, etc. and the need to restore from the
    > USB, it wouldn't work because there are no boot files cloned to
    the usb.
    >
    > So how would I go about making a useable backup disk with
    Clonezilla
    > given the grub2 problems I've encountered?
    >
    > Thank you,
    > Bob
    >
    >
    > _______________________________________________
    > Clonezilla-live mailing list
    > Clonezilla-live@lists.sourceforge.net
    > https://lists.sourceforge.net/lists/listinfo/clonezilla-live

-- Steven Shiau <steven _at_ stevenshiau org>
    Public Key Server PGP Key ID: 4096R/163E3FB0
    Fingerprint: EB1D D5BF 6F88 820B BCF5  356C 8E94 C9CD 163E 3FB0



    _______________________________________________
    Clonezilla-live mailing list
    Clonezilla-live@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/clonezilla-live

--
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/163E3FB0
Fingerprint: EB1D D5BF 6F88 820B BCF5  356C 8E94 C9CD 163E 3FB0
_______________________________________________
Clonezilla-live mailing list
Clonezilla-live@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clonezilla-live

Reply via email to