Crash-proof backup doesn't work

It’s a single btrfs partition. Nothing else. That is the way manjaro has it configured during install of the OS. That means that grub is on there right?

Like I said:

so

parted --list

Please?

:stuck_out_tongue_winking_eye:

Alternatively, an inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

:grin:

Just for elimination purposes I just tested clonezilla-live-2.7.3-19-amd64.iso and it was ok.
This was on ext4 though.

(also im sure menuentry "CloneZilla" without the ISO would make no difference)

Just tested it in a new vm with ext4. It works. Menuentry can have a different name. Even the location of the iso can be set. I used home/user/.

    ~  sudo parted -l                                                                                       ✔  NL  
Model: ATA Samsung SSD 860 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  500GB  500GB  primary  btrfs        boot


Model: ATA ST2000DL003-9VT1 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  1000GB  1000GB  btrfs
 2      1000GB  2000GB  1000GB  btrfs
   ~  inxi --admin --verbosity=7 --filter --no-host --width                                                ✔  NL  
System:
  Kernel: 5.14.0-0-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.14-x86_64 
  root=UUID=2205616c-0cdd-49fc-b752-d897e3ed8926 rw rootflags=subvol=@ quiet 
  apparmor=1 security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: ASRock model: Z77 Extreme4 serial: <filter> 
  BIOS: American Megatrends v: P3.00 date: 03/12/2018 
Battery:
  Device-1: hidpp_battery_0 model: Logitech K520 serial: <filter> 
  charge: 70% (should be ignored) rechargeable: yes status: Discharging 
Memory:
  RAM: total: 31.31 GiB used: 2.58 GiB (8.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Core i5-3570K bits: 64 type: MCP 
  arch: Ivy Bridge family: 6 model-id: 3A (58) stepping: 9 microcode: 21 
  cache: L2: 6 MiB bogomips: 27214 
  Speed: 1757 MHz min/max: 1600/4300 MHz Core speeds (MHz): 1: 1757 2: 2184 
  3: 1600 4: 1634 
  Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov 
  constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept 
  erms est f16c flexpriority flush_l1d fpu fsgsbase fxsr ht ibpb ibrs ida 
  lahf_lm lm mca mce md_clear mmx monitor msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts rdrand 
  rdtscp rep_good sep smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall 
  tm tm2 tpr_shadow tsc tsc_deadline_timer vme vmx vnmi vpid xsave xsaveopt 
  xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
  Type: mds mitigation: Clear CPU buffers; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: disabled, RSB filling 
  Type: srbds status: Vulnerable: No microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GK106 [GeForce GTX 660] vendor: Micro-Star MSI 
  driver: nvidia v: 470.63.01 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 
  chip-ID: 10de:11c0 class-ID: 0300 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: nvidia display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 110 s-size: 443x249mm (17.4x9.8") 
  s-diag: 508mm (20") 
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 305 size: 160x90mm (6.3x3.5") 
  diag: 184mm (7.2") 
  OpenGL: renderer: NVIDIA GeForce GTX 660/PCIe/SSE2 v: 4.6.0 NVIDIA 470.63.01 
  direct render: Yes 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio 
  vendor: ASRock Z77 Extreme4 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 
  chip-ID: 8086:1e20 class-ID: 0403 
  Device-2: NVIDIA GK106 HDMI Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:0e0b 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.14.0-0-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.34 running: yes 
Network:
  Device-1: Broadcom NetLink BCM57781 Gigabit Ethernet PCIe 
  vendor: ASRock Z77 Extreme4 driver: tg3 v: kernel port: d000 bus-ID: 04:00.0 
  chip-ID: 14e4:16b1 class-ID: 0200 
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IF-ID-1: nordlynx state: unknown speed: 10 Mbps duplex: full mac: N/A 
  IP v4: <filter> scope: global 
  WAN IP: <filter> 
Bluetooth:
  Message: No bluetooth data found. 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 2.27 TiB used: 142.88 GiB (6.1%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB 
  size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  type: SSD serial: <filter> rev: 4B6Q scheme: MBR 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DL003-9VT166 
  size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  type: HDD rpm: 5900 serial: <filter> rev: CC3C scheme: GPT 
  Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW SH-224BB rev: SB00 
  dev-links: cdrom 
  Features: speed: 48 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw-size: 465.76 GiB size: 465.76 GiB (100.00%) 
  used: 86.05 GiB (18.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: Manjaro 
  uuid: 2205616c-0cdd-49fc-b752-d897e3ed8926 
  ID-2: /home raw-size: 465.76 GiB size: 465.76 GiB (100.00%) 
  used: 86.05 GiB (18.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: Manjaro 
  uuid: 2205616c-0cdd-49fc-b752-d897e3ed8926 
  ID-3: /media/6c6dd034-f4b5-4c25-9da5-6606da67a25d raw-size: 931.51 GiB 
  size: 931.51 GiB (100.00%) used: 20.05 GiB (2.2%) fs: btrfs dev: /dev/sdb1 
  maj-min: 8:17 label: Meuk1 uuid: 6c6dd034-f4b5-4c25-9da5-6606da67a25d 
  ID-4: /media/cab2b4e6-b0e1-4cd5-a34b-743a3dd5a6a0 raw-size: 931.51 GiB 
  size: 931.51 GiB (100.00%) used: 36.78 GiB (3.9%) fs: btrfs dev: /dev/sdb2 
  maj-min: 8:18 label: Meuk2 uuid: cab2b4e6-b0e1-4cd5-a34b-743a3dd5a6a0 
  ID-5: /run/timeshift/backup raw-size: 465.76 GiB size: 465.76 GiB (100.00%) 
  used: 86.05 GiB (18.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: Manjaro 
  uuid: 2205616c-0cdd-49fc-b752-d897e3ed8926 
  ID-6: /var/cache raw-size: 465.76 GiB size: 465.76 GiB (100.00%) 
  used: 86.05 GiB (18.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: Manjaro 
  uuid: 2205616c-0cdd-49fc-b752-d897e3ed8926 
  ID-7: /var/log raw-size: 465.76 GiB size: 465.76 GiB (100.00%) 
  used: 86.05 GiB (18.5%) fs: btrfs dev: /dev/sda1 maj-min: 8:1 label: Manjaro 
  uuid: 2205616c-0cdd-49fc-b752-d897e3ed8926 
Swap:
  Alert: No swap data was found. 
Unmounted:
  Message: No unmounted partitions found. 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Hub-5: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-7: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 5-1:2 info: Cherry Wireless Dongle type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 98mA 
  chip-ID: 046a:0702 class-ID: 0301 
  Device-2: 5-2:3 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID 
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 98mA chip-ID: 046d:c52b class-ID: 0300 
  Hub-8: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 35.0 C mobo: N/A gpu: nvidia temp: 35 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30% 
Info:
  Processes: 278 Uptime: 1h 18m wakeups: 4 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 Packages: 1366 pacman: 1360 lib: 377 
  flatpak: 0 snap: 6 Shell: Zsh v: 5.8 default: Bash v: 5.1.8 
  running-in: yakuake inxi: 3.3.06 

You should trust me a bit more… :stuck_out_tongue_winking_eye:

That’s the worst place to put it. Please read this:

Especially the Linux has a hierarchical file system section.

:grin:

I am aware. It was a quick test. Normally use /opt as suggested in the op.

No spare space… You’re in for a disk extension before doing this on bare metal. :frowning:
Alternatively, Parted Live and shrink one of your partitions to make space

Please read this…

:man_shrugging:

    ~  sudo btrfs fi show                                                                                   ✔  NL  
[sudo] password for magician: 
Label: 'Manjaro'  uuid: 2205616c-0cdd-49fc-b752-d897e3ed8926
        Total devices 1 FS bytes used 86.42GiB
        devid    1 size 465.76GiB used 90.02GiB path /dev/sda1

Label: 'Meuk2'  uuid: cab2b4e6-b0e1-4cd5-a34b-743a3dd5a6a0
        Total devices 1 FS bytes used 36.69GiB
        devid    1 size 931.51GiB used 39.06GiB path /dev/sdb2

Label: 'Meuk1'  uuid: 6c6dd034-f4b5-4c25-9da5-6606da67a25d
        Total devices 1 FS bytes used 20.05GiB
        devid    1 size 931.51GiB used 23.02GiB path /dev/sdb1
    ~  cat /proc/sys/vm/swappiness                                                                          ✔  NL  
0

Have 32 Gigs of ram so I disabled swap.

I have just noticed that my system uses mbr instead of gpt. Forgot to boot usb stick in uefi mode when installing system… Maybe that has something to do with it? I have no fat32 partition.

btrfs is fully supportet in actual grub :wink:

even zstd-compession is now supported but only from grub 2.04 onward :crazy_face:

I do use this ! (on bare metal)

some things to look for: EFI - GPT - grub - grub-btrfs - btrfs(wiki @ kenel.org) - snapper - zstd - initramfs - mkinitcpio - mhwd-kernel
I did mark /boot to be NOT compressed by btrfs, grub.cfg is not compressed at alll. And kernel(gzip) and initramfs(zstd) are compressed, but not by btrfs. The rest is compressed with zstd=9
also look into this "emergency mode" after Timeshift snapshot recovery - #28 by gadzhi

The only feature missing:
What grub can’t do at this time is to store the last boot-entry on btrfs (GRUB_DEFAULT=saved does not work with btrfs)

Please have a look at btrfs send / receive

The name is irritating. This is a solution for incremental btrfs backup of snapshots :wink:

If you want to boot a iso from grub

, please put the iso under /boot/iso (and don´t compress /boot) There is an tutorial in this forum and additional info in arch wiki !
(When /boot is inside btrfs, you dont´t have a problem with the space there. So put things for booting there. And dont’ compress anything that must be used by grub)

And please allways install at least 2 kernels (one of them LTS)

1 Like

Thanks for your reply. Don’t know if /boot is compressed in my case. How to find out? Could not find any answers. Anyway tried it with current and no luck.

You didn’t read the article did you? :stuck_out_tongue_winking_eye:

That’s a whole different can of worms. Search the forum by clicking the magnifying glass in the upper right corner as:

You can’t seem to locate it.

:grin:

I did and articles like that with another opinion before I made changes. Zero problems thus far. However to keep people happy I’ve changed it to:

    ~  sudo sudo sysctl vm.swappiness=10                                                                    ✔  NL  
[sudo] password for magician: 
vm.swappiness = 10

That is obviouslly not what I meant by that. I was referring to a command that shows wether or not the /boot is compressed.

Obviously using the looking class in the top right corner. :rofl:

https://wiki.archlinux.org/title/btrfs#View_compression_types_and_ratios

    ~  sudo compsize /boot                                                                                  ✔  NL  
[sudo] password for magician: 
Processed 373 files, 290 regular extents (290 refs), 84 inline.
Type       Perc     Disk Usage   Uncompressed Referenced  
TOTAL       99%      109M         109M         109M       
none       100%      109M         109M         109M       
zstd        15%       12K          80K          80K    

so your /boot includes a few compressed files :rofl: (80k → 12k)

Than that’s probably the default behaviour.

Oh this may be default behaviour, but it will also work out of the box. Because it is used together with grub 2.04 :wink:
Is it possible that your GRUB is older ? If yes, then look at Btrfs - ArchWiki (especially the warning)

please also read "emergency mode" after Timeshift snapshot recovery - #32 by andreas85

Nope grub is recent. Meanwhile I’ve installed latest manjaro xfce edition in efi mode with btrfs on bare metal computer. Still the same error messages. Tried both methods.