Dear all, I used clonezilla live many years with kubuntu without problem. Now I tried to install the new kubuntu version 22.04 and I have a problem with the restore. When I restore the efi directory is empty. On my SSD I have 3 partitions : efi, system, iso. In the iso partition I have stored the clonezilla iso file. The difference from the old kubuntu to the new kubuntu is the grub from 2.04 to 2.06. After the restore I see only the grub bash, not my the grub menu. I use this command line to backup : "ocs-sr -q2 -j2 -nogui -z9p -i 10000000 -sfsck -scs -senc -p reboot savedisk ask_user nvme0n1\" and this restore command : "ocs-sr -g auto -e1 auto -e2 -nogui -j2 -scr -p reboot restoredisk ask_user nvme0n1\" .
All this works perfectly before kubuntu 22.04. Can you help or make I misstakes?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Steven, sorry for my late reply. I found out that my Grub 2.06 work in the recordfail mode. When I use the ext4 filesystem for my Kubuntu 22.04 all works fine. Please can you tell me, how to setup the partitions for btrfs? My old (not worked) :
The /iso partition I stored the clonezilla, gparted, ... images. What I red was, that GRUB 2.06 cannot stored on the btrfs partitions.
I run clonezilla with these switches :
backup : -q2 -j2 -nogui -gmf -noabo -scpt -z9p -i 0 -sfsck -scs -senc -p
restore : -g auto -e1 auto -e2 -r -j2 -nogui -k0 -scr -p
Can you tell / help me to have KUBUNTU 22.04 on a btrfs partition running and if the switches are correct?
I use the actual clonezilla-live-20220729-kinetic-amd64.img on my UEFI (with secure boot) system. Thank you very much .
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"backup : -q2 -j2 -nogui -gmf -noabo -scpt -z9p -i 0 -sfsck -scs -senc -p
restore : -g auto -e1 auto -e2 -r -j2 -nogui -k0 -scr -p"
-> All with the default values should work for btrfs file system.
Which version of Clonezilla live did you use?
Have you tried testing Clonezilla live? e.g., 20220824-kinetic or 3.0.2-12 amd64 release? https://clonezilla.org/downloads.php
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried this with the clonezilla-live-20220729-kinetic-amd64.img. How must I setup my partitions that the GRUB 2.06 can store the data. I read that GRUB 2.06 cannot write to the btrfs filesystem for the GRUB data itself.
Must I do a separate partition ext4 to the disk for GRUB, because with the above setup on the disk the GRUB will be in recordfail mode. When you setup Kubuntu to the disk, in which way do you will prepare the partitions? The root / should be on a btrfs partition (my wish) .
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tired the same version (clonezilla-live-20220729-kinetic-amd64) you mentioned, the source disk is:
root@kinetic:~# parted -s /dev/nvme0n1 print
Model: VMware Virtual NVMe Disk (nvme)
Disk /dev/nvme0n1: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 1000MB 999MB fat32 boot, esp
2 1000MB 21.5GB 20.5GB btrfs
I could successfully save the image and restore it to another VM. Attached you can find the restored process, and the restored Ubuntu boot menu was shown.
Dear all, I used clonezilla live many years with kubuntu without problem. Now I tried to install the new kubuntu version 22.04 and I have a problem with the restore. When I restore the efi directory is empty. On my SSD I have 3 partitions : efi, system, iso. In the iso partition I have stored the clonezilla iso file. The difference from the old kubuntu to the new kubuntu is the grub from 2.04 to 2.06. After the restore I see only the grub bash, not my the grub menu. I use this command line to backup : "ocs-sr -q2 -j2 -nogui -z9p -i 10000000 -sfsck -scs -senc -p reboot savedisk ask_user nvme0n1\" and this restore command : "ocs-sr -g auto -e1 auto -e2 -nogui -j2 -scr -p reboot restoredisk ask_user nvme0n1\" .
All this works perfectly before kubuntu 22.04. Can you help or make I misstakes?
It's weird. No idea why it failed there since I do not have such issue here when saving and restoring Ubuntu Jammy (22.04) in uEFI mode.
Steven
Hi Steven, sorry for my late reply. I found out that my Grub 2.06 work in the recordfail mode. When I use the ext4 filesystem for my Kubuntu 22.04 all works fine. Please can you tell me, how to setup the partitions for btrfs? My old (not worked) :
p1 : EFI FAT 512 MB,
p2 : /, /boot btrfs 400 GB,
p3 : /iso btrfs 10 GB.
The /iso partition I stored the clonezilla, gparted, ... images. What I red was, that GRUB 2.06 cannot stored on the btrfs partitions.
I run clonezilla with these switches :
backup : -q2 -j2 -nogui -gmf -noabo -scpt -z9p -i 0 -sfsck -scs -senc -p
restore : -g auto -e1 auto -e2 -r -j2 -nogui -k0 -scr -p
Can you tell / help me to have KUBUNTU 22.04 on a btrfs partition running and if the switches are correct?
I use the actual clonezilla-live-20220729-kinetic-amd64.img on my UEFI (with secure boot) system. Thank you very much .
Martin
"backup : -q2 -j2 -nogui -gmf -noabo -scpt -z9p -i 0 -sfsck -scs -senc -p
restore : -g auto -e1 auto -e2 -r -j2 -nogui -k0 -scr -p"
-> All with the default values should work for btrfs file system.
Which version of Clonezilla live did you use?
Have you tried testing Clonezilla live? e.g., 20220824-kinetic or 3.0.2-12 amd64 release?
https://clonezilla.org/downloads.php
Steven
I tried this with the clonezilla-live-20220729-kinetic-amd64.img. How must I setup my partitions that the GRUB 2.06 can store the data. I read that GRUB 2.06 cannot write to the btrfs filesystem for the GRUB data itself.
p1 : EFI FAT 512 MB,
p2 : /, /boot btrfs 400 GB,
p3 : /iso btrfs 10 GB.
Must I do a separate partition ext4 to the disk for GRUB, because with the above setup on the disk the GRUB will be in recordfail mode. When you setup Kubuntu to the disk, in which way do you will prepare the partitions? The root / should be on a btrfs partition (my wish) .
Martin
I tired the same version (clonezilla-live-20220729-kinetic-amd64) you mentioned, the source disk is:
root@kinetic:~# parted -s /dev/nvme0n1 print
Model: VMware Virtual NVMe Disk (nvme)
Disk /dev/nvme0n1: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 1000MB 999MB fat32 boot, esp
2 1000MB 21.5GB 20.5GB btrfs
I could successfully save the image and restore it to another VM. Attached you can find the restored process, and the restored Ubuntu boot menu was shown.
Last edit: Steven Shiau 2022-08-26