Open rustombhesania opened 4 years ago
Your fstab file looks strange. Where are there multiple device identifiers in same line? (/dev/sda2 UUID=.. PARTUUID=..). Why are the lines commented?
With manjaro-architect, use only the UUID option to generate fstab. PARTUUID is not compatible with timeshift and results in the error that was mentioned. Though I'm confused how that fstab with both UUID and PARTUUID even boots right.
I've got the same error code. This is my fstab:
UUID=2a6d02d5-c6cc-410d-b7f9-d8303eb98ab2 / btrfs compress=zstd:1 0 1
UUID=BAC6-F47A /boot/efi vfat errors=remount-ro 0 2
UUID=2a6d02d5-c6cc-410d-b7f9-d8303eb98ab2 /.snapshots btrfs subvol=.snapshots 0 1
It's for the self hosting server FreedomBox on a Raspberry Pi 4B, which has to be run off usb with the uefi bootloader on the sd card. So it's being mounted to /boot/efi which I'm guessing is causing the error to be thrown. Is there a way to just ignore /boot/efi? Or another workaround?
Ok, I switched to Yunohost, converted it to btrfs using this guide. Same error is thrown, here is my fstab, it's normal, all on one device now:
proc /proc proc defaults 0 0
PARTUUID=23ae4e26-01 /boot vfat defaults 0 2
PARTUUID=23ae4e26-02 / btrfs defaults,noatime 0 0
So I guess this error was not caused by uefi bootloader on the sd card.
root@yunohost:~# btrfs subvolume list /
ID 256 gen 71 top level 5 path ext2_saved
Maybe this is the problem: https://issueexplorer.com/issue/teejee2008/timeshift/772#12146893
I installed btrfs on manajro architect, but it was unable to support the subvolumes. the same happens in the gui also.
~ >>> sudo timeshift --create
[1][sudo] password for rben10:
Using system disk as snapshot device for creating snapshots in BTRFS mode
/dev/sda2 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=lzo,nossd,space_cache,autodefrag,subvolid=5,subvol=/
E: The system partition has an unsupported subvolume layout. Only ubuntu-type layouts with @ and @home subvolumes are currently supported.
Application will exit.
This is the subvolume list
~ >>> sudo btrfs subv list /
ID 256 gen 83 top level 5 path @
ID 258 gen 83 top level 5 path @home
ID 259 gen 53 top level 5 path @cache
ID 264 gen 53 top level 256 path var/lib/portables
ID 265 gen 53 top level 256 path var/lib/machines
And fstab
~ >>> cat /etc/fstab
# /dev/sda2 UUID=47627eab-c5f8-41fb-8c52-8c549c8bbee6 PARTUUID=280128c9-fbc1-40be-8b2c-87221542fd24 / btrfs rw,noatime,compress=lzo,nossd,space_cache,autodefrag,subvol=@ 0 0
# /dev/sda1 UUID=A55B-4619 PARTUUID=c2bfb759-a028-4f9f-8e40-10412753cc4b /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
# /dev/sda2 UUID=47627eab-c5f8-41fb-8c52-8c549c8bbee6 PARTUUID=280128c9-fbc1-40be-8b2c-87221542fd24 /home btrfs rw,noatime,compress=lzo,nossd,space_cache,autodefrag,subvol=@home 0 0
I didn't get where i went wrong or timeshift is at fault? This issue was opened previously i tried all sorts of things but nothing seems to work.