You are not logged in.
Pages: 1
Hi at all;
I have installed Arch KDE in Virtualbox machine from iso 12-01-21 with BTRFS, and i am interested to create a subvolume structure to utilize timeshift with backup in snapshots in btrfs subvolume; during the installation i chose to use BTRFS subvolumes with a default structure, but i I don't know how to create subvolume @ and @home. I can boot in the virtual machine also by a LiveCD Arch which sees the structure of the OS installed.
Can anyone help me ?
Offline
Offline
I don't know what all timeshift requires, I don't use it.
You will need to adjust this as required as far as needed subvols are concerned.
While following official Archlinux Installation instructions.
This is with bios boot and grub
mkfs.btrfs /dev/sdXX
mount /dev/sdax /mnt
btrfs su cr /mnt/@
btrfs su cr /mnt/@home
btrfs su cr /mnt/@root
btrfs su cr /mnt/@srv
btrfs su cr /mnt/@cache
btrfs su cr /mnt/@tmp
btrfs su cr /mnt/@log
umount /mnt
mount -o defaults,noatime,compress=zstd,autodefrag,subvol=@ /dev/sdXX /mnt
Now you need to mkdir /mnt/home and (/root /srv /var/cache, log and tmp)
mount -o defaults,noatime.compress=zstd,autodefrag,subvol=@home /dev/sdXX /mnt/home
mount -o defaults,noatime,compress=zstd,autodefrag,subvol=@root /dev/sdXX /mnt/root
mount -o defaults,noatime.compress=zstd,autodefrag,subvol=@srv /dev/sdXX /mnt/srv
mount -o defaults,noatime,compress=zstd,autodefrag,subvol=@cache /dev/sdXX /mnt/var/cache
mount -o defaults,noatime,compress=zstd,autodefrag,subvol=@tmp /dev/sdXX /mnt/var/tmp
mount -o defaults,noatime,compress=zstd,autodefrag,subvol=@log /dev/sdXX /mnt/var/log
when your happy pacstrap as normal not forgetting grub-btrfs.
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mntArchlinux Install guide continues...
(Sorry that I keep editing it, it's the first time I ever put it down on paper)
Edit: Cleaned up and final edit, I think
Last edited by Zod (2021-12-15 01:19:49)
Offline
I follow the post almost to the end, editing / etc / fstab, but
"Once there you can mount the root partition and delete the old root filesystem."
what exactly should I do ?
However I reboot, and use timeshift; i can configure it for a backup on a subvolume, but when i try to create a snapshot, i obtain this error message :
NOT SUPPORTED
The system partition has an unsupported subvolume layout. Only ubuntu-type layouts with @ and @home subvolumes are currently supported
??
Offline
Raynman wrote:I follow the post almost to the end, editing / etc / fstab, but
"Once there you can mount the root partition and delete the old root filesystem."
what exactly should I do ?
However I reboot, and use timeshift; i can configure it for a backup on a subvolume, but when i try to create a snapshot, i obtain this error message :NOT SUPPORTED
The system partition has an unsupported subvolume layout. Only ubuntu-type layouts with @ and @home subvolumes are currently supported??
I don't think it's recoverable by this point. Reinstall Arch according to the guide.
Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel
Offline
Pages: 1