I could not find a way to create a @ subvolume to use timeshift with btrfs. The installation creates @rootfs instead.
Is there a way to change @rootfs to @?
If not, is there a way to specify creating @ instead of @rootfs in the installation process?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
New to debian. I would like to use timeshift with a btrfs /
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: New to debian. I would like to use timeshift with a btrfs /
Code: Select all
# mount /dev/sdXY /mnt
# mv /mnt/{@rootfs,@}
# umount /mnt
# sed -i 's/@rootfs/@/g' /etc/fstab
# grub-mkconfig -o /boot/grub/grub.cfg
# reboot
To install to /@ directly during installation use debootstrap.
EDIT: actually I'm not sure if grub-mkconfig will pick up the new subvolume name correctly so check grub.cfg afterwards; you may have to run the sed command on that file as well if it doesn't list the correct identifiers.
deadbang
Re: New to debian. I would like to use timeshift with a btrfs /
After doing these steps:
do this:
if forget 'grub-install' (as Head_on_a_Stick did at above) you give the damn grub> prompt on reboot!
Code: Select all
# mount /dev/sdXY /mnt
# mv /mnt/{@rootfs,@}
# umount /mnt
# sed -i 's/@rootfs/@/g' /etc/fstab
# grub-mkconfig -o /boot/grub/grub.cfg
Code: Select all
# grub-install
# reboot