Debian Bullseye install with BTRFS Subvolumes

  Рет қаралды 16,195

linux dabbler

linux dabbler

Күн бұрын

Пікірлер: 51
@jongeduard
@jongeduard 2 жыл бұрын
Thanks for the video. Of course just switching away to a tty, unmounting, modifying and than remounting is the answer. 7:26 "Just be shure to copy the contents": We have the btrfs snapshot command for that. Very simple. :)
@stevecorinthian
@stevecorinthian 3 жыл бұрын
Thanks - followed these instructions, very helpful. To rename @rootfs to @, just type "mv @rootfs @" while in the /target folder during that part of the tutorial.
@pporrio
@pporrio 2 жыл бұрын
Also put 'subvol=@' in the line for / and 'subvol=@home' in the line for /home in fstab to make it work with timeshift.
@robbyred9895
@robbyred9895 2 жыл бұрын
Thanks, this video did help a lot. I used your instructions to install btrfs along with Debian Testing (bookworm). It worked fine for me except the space_cache option. Debian Testing (bookworm) currently uses the newer kernel 5.16 which contains a more recent version of btrfs. This more recent version of btrfs does not support the sole use of the option space_cache. Instead you must specify the space_cache version along with that option. The option space_cache=v2 did the trick for me. So that could be something to consider in the future.
@linuxdabbler
@linuxdabbler 2 жыл бұрын
Thanks for the tip! I haven't tried this with bookworm yet. Duely noted.
@lilith1504
@lilith1504 2 жыл бұрын
Holy sister, tysm, I just re-installed my root disk to btrfs by your option in fstab.
@WolfRites
@WolfRites Жыл бұрын
space_cache=v2 is used by default, if you don't specify.
@deliriumcode
@deliriumcode 3 жыл бұрын
Okay, we are now waiting for that snapper-gui video! ;)
@sohrobby
@sohrobby Жыл бұрын
This video was cool thank you. The only thing I wish you would have done differently is by adding more context to what you were doing and explaining why we had to have a different directory structure to begin with.
@colbybraden
@colbybraden 3 жыл бұрын
Really good info. Can't wait to dive into btrfs.
@BrucesWorldofStuff
@BrucesWorldofStuff 3 жыл бұрын
This all looks interesting but I'm just a plain linux guy that uses the standard partition install stuff. While I don't actively use Debian as it were I do use MX on one box and it is a standard install as I was lazy that day and just hit install... lol Kinda like you New Corner of the world look and remember the Tardis is expandable... :-) Oh! Congrats again on the "It's a Boy:".... :-D Thanks for the video LD! LLAP
@WC1376C22
@WC1376C22 3 жыл бұрын
That's what I get for not having alerts enabled. Congrats dad! I just had a mirrored BTRFS crash because I was not paying attention and did not add more space in time, lessons learned the hard way. This video was better than your first Deb/BTRFS one.
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@WC1376C. Hopefully you can salvage your array, or at least pull the data you need off of it from a live rescue disk. Thank you. I was much more confident making this video than the last btrfs video.
@WC1376C22
@WC1376C22 3 жыл бұрын
@@linuxdabbler What I meant to say and how it typed out...two different things. The other video was Great, in fact I made an install cheat text doc from your video for my installs. I had the opportunity to recover from FSTab but truly lacked the know how. There are many vids out there about this but they all kind of glance over the exact steps (barney). Now I will have to pull the drives and get what I need off of them, then reinstall. Keep the great videos coming! Edit: BTW this happened while I was installing Win10 in Virtual Machines...Microsoft strikes again.
@WC1376C22
@WC1376C22 3 жыл бұрын
@@linuxdabbler one question, ( @home /home ) have you tried to to direct fstab to use another drive? i.e. home on a separate UUID.
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@WC1376C. I used to install Linux with my home folder on a separate drive formatted to ext4. This was back when I had a 240gb ssd and a huge music and movie collection and no NAS. If you are looking to do this with btrfs, you can select the separate drive during the manual partitioning part of the expert install, assign it to /home, have it format to btrfs, and the installer should make a subvolume for it. You can check this by doing the same thing I did by bringing up a shell. If it doesn't, you can perform the same task as I did with the root drive, just make sure the UUID for /home is correct in the fstab file.
@WC1376C22
@WC1376C22 3 жыл бұрын
@@linuxdabbler Yep, I figured. I haven't mastered ProxMox yet. this is what I was planning, I just wasn't sure if there was a better way.
@KennyBentley7
@KennyBentley7 7 ай бұрын
Excellent and helpful video. I like your accent, and especially love how it sounds when you say "bullseye". ;) I'm actually adopting this guide to help me set up Gentoo on btrfs, with some obvious modifications. This would be a whole lot more helpful if you could explain the mount options and why you use them. The compress one is obvious, and I did a little research and lzo doesn't seem to impact performance, and I read what the noatime one does, but I'm not sure exactly what it does or how it increases performance. I have no idea what the space_cache does, though. It would also help to know why you chose those mount options and what other options are available, without getting too overwhelming because I'm sure there are a lot of them. Thanks for a great and informative video.
@BrentFraserWeatherall
@BrentFraserWeatherall 2 жыл бұрын
Really nice content and great instructions. Keep up the productions!
@Taribarti
@Taribarti 2 жыл бұрын
Thanks! Now I can use btrsf with timeshift in Bullseye
@Spaginni
@Spaginni 2 жыл бұрын
ive tried this multiple times. you really need to do this outside of a VM.
@joseffistus3058
@joseffistus3058 2 жыл бұрын
Thank you very much. This helped a lot.
@Little-bird-told-me
@Little-bird-told-me 2 жыл бұрын
Hiya ! I have been really liking your videos. I have been wanting ask you this question. I want to have a headless OS environment with Debian as its base. Would you suggest this to be a good choice for an _average_ linux user (someone who has installed Arch using the Installer, but doesn't want to play with the nity-gritties like chrooting to update Grub). How has been your Debian experience ? Do you suggest the Sid branch or would you say that beta branch (Bookworm) is better. I thought of going Debian Stable but that seems quite dated with kernel 1.13 or something. idk, you may even suggest Stable.
@linuxdabbler
@linuxdabbler 2 жыл бұрын
My debian experience has been quite good. No issues with my hardware with non-free firmware installed. I have been running stable on my home media server, but usually recommend testing for desktop usage since it stays more up to date. I think the kernel is up to 5.18 in testing right now. When you say headless... Are you wanting to run Debian as a home server/nas or use it as a base for virtual machines to connect over the network? For the first use case. Debian stable For the second use case, I would actually recommend proxmox. It is based on Debian, it has a really nice interface in a web browser and can be installed easily on a ZFS array if that is important to you.
@Little-bird-told-me
@Little-bird-told-me 2 жыл бұрын
@@linuxdabbler Many thanks. Oh, I meant headless from the point view of not have a DM /DE like Ubuntu or Fedora. I just like the the option of minimal install which directly boots to a Window manager like SpectrWM or DWM from a light weight login manager screen. I don't plan to use it as Server / nas or virtual machine (ssh)
@s__c__o
@s__c__o 2 жыл бұрын
This installed fine but Timeshift wouldn’t work properly. Fix was by using the subvolume name during setup/fstab instead of the subvolid’s. eg. subvol=@ and subvol=@home (after creating a new @ subvol and mv @rootfs contents.) Editing fstab post-installation to use subvol name’s will also work/make Timeshift function.
@peterjochum7652
@peterjochum7652 Жыл бұрын
I did a fresh install of Debian Bookworm (rc1) to an existing partition. The installer by default installs the system into a @rootfs subvolume when selecting a BTRFS partition as root filesystem.
@kozas0
@kozas0 Жыл бұрын
You wouldn't also select GPT for partitioning scheme if you are on BIOS. Nice video.
@marcello4258
@marcello4258 Жыл бұрын
Would have loved to see a best practice with encryption as this should always be used imo
@hansbentum4018
@hansbentum4018 Жыл бұрын
Thanks! For debian 12 bookworm alpha release I have to use space_cache=v2 (or skip it) because otherwise I got a btrfs error: cannot disable free space tree. As a result the system doesn't startup.
@linuxdabbler
@linuxdabbler Жыл бұрын
@hansbentum4018. I had heard about debian requiring v2 of space_cache soon. So when I made an update to this video, where I installed debian with encrypted btrfs subvolumes, space_cache=v2 was included in the mount options... as well as a few other updated mount options.
@lltechview
@lltechview Жыл бұрын
Just tried to install via Debian Live and Calamares with btrfs and it ended up with a @ and @home subvolume automatically but could not boot up into the UI as it mounts @ as read only which makes absolutely no sense at all. So basically for mortals who want a click click install scenario debian btrfs is a no go.
@linuxdabbler
@linuxdabbler Жыл бұрын
@techreviewpadcast. I have never installed Debian with the calamares installer, so I can't speak from experience, but if there is a way to check the mount options before the system gets installed, that may help troubleshoot the issue.
@wznvwyz553
@wznvwyz553 3 жыл бұрын
very cool - i like btrfs as root system. do you know the opensuse style of btrfs usage ? it makes possible to restore snapshots from the bootmenu
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@wzNvwYz5 wzNvwYz5. I'm not very familiar with opensuse and their btrfs configuration. I will definitely have to give it a try. Thanks for the tip!
@nevoyu
@nevoyu 2 жыл бұрын
@@linuxdabbler snapper with grub-btrfs both are available in the debian repos.
@wendaozheliu5678
@wendaozheliu5678 2 жыл бұрын
great video
@aronlinesl
@aronlinesl 2 жыл бұрын
Hi! Can you do this with in an encrypted partition for btrfs?
@JM-sn5eb
@JM-sn5eb 3 жыл бұрын
Great video 1GB for efi was to much as you said. How much of space would be enough in real hardware usage with debian only and one kernel only?
@linuxdabbler
@linuxdabbler 3 жыл бұрын
Honestly, 500M would be plenty
@TuxClaudiu
@TuxClaudiu 3 жыл бұрын
Hy there, nice videos you have. I'm curios if you can make a video also about hardware acceleration on browsers (Chromium, Vivaldi, Brave, etc) to decode vp9 codec with the gpu(nvidia) because i didnt get it to fully work, vaapi and vdpau are somehow working but not working, browser reports full hardware acceleration, but actually is not.
@marianorodrigocc
@marianorodrigocc 2 жыл бұрын
ok, but not working on btrfs , only rsync. no detecting the subvol.
@miyolinux
@miyolinux 3 жыл бұрын
Bring the bass back! It'll fit snuggly in the corner behind you...or hang it on the opposite wall (in the corner) from Doctor Who and Big Al. That's my computer technical advice for this video...whether you like it or not! Bwahaha!
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@Miyo Linux. I like that idea. Gonna have to get me a mount now. Lol
@lqlarry
@lqlarry 3 жыл бұрын
I got me one of them, got it at the Walmart.
@mrnetwork4472
@mrnetwork4472 3 жыл бұрын
select BTRFS system disk with root subvolume @ , when i snap ON timeshift i read this msg , fix if u not mind , thanks
@janulik9535
@janulik9535 Жыл бұрын
Hi,..could you please help, navigate how to create snapshot of / and than succesfully boot from it usig this configuration, and just post coment here? I have been looking , there is kind of a lot info related to fedora , arch etc but i did not find workind solution for me
@linuxdabbler
@linuxdabbler Жыл бұрын
@janulik9535. I have a script on my gitlab that automates the snapshotting part for me. It's called snapctl. If you'd like to have a look at it. gitlab.com/linuxdabbler/dotfiles It is in the rootscripts folder. As for booting the snapshot, I just change the subvolid in /etc/fstab. To get the subvolid you want, just run sudo btrfs subvolume list / And you should be ready to change the fstab file.
@KavicsZrt
@KavicsZrt 2 жыл бұрын
Lol, manjaro's installer knows it by default.
@snackman94
@snackman94 Жыл бұрын
Does it also create subvolumes on its own?
@KavicsZrt
@KavicsZrt Жыл бұрын
@@snackman94 Yes, full auto installer + auto settings btrfs backup/restore.
Install Debian/Devuan with Encrypted BTRFS subvolumes!
28:49
linux dabbler
Рет қаралды 6 М.
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
Thank you Santa
00:13
Nadir Show
Рет қаралды 53 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 3,6 МЛН
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 5 МЛН
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,1 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 98 МЛН
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 704 М.
File Systems | Which One is the Best? ZFS, BTRFS, or EXT4
12:07
Chris Titus Tech
Рет қаралды 212 М.
Easy Manual BTRFS Subvolume Snapshot Script
16:15
linux dabbler
Рет қаралды 4,1 М.
Debian 12 Bookworm Installation w/BTRFS/XFCE/TIMESHIFT & GRUB-BTRFS
44:25
pluginless neovim
15:28
linux dabbler
Рет қаралды 15 М.
A Special Debian Install
38:09
EF - Linux Made Simple
Рет қаралды 28 М.
Stop using APT
9:56
Chris Titus Tech
Рет қаралды 541 М.
Get the Most Out of Debian: 12 Essential Setup Tips
47:20
Learn Linux TV
Рет қаралды 372 М.
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН