Debian 12 Bookworm Minimal Install w/BTRFS

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 175

  • @YuriShevchouk
    @YuriShevchouk Рік тому +16

    Your video are great; however how do I know what you are saying is correct, how long have you been using linux, what's your background?

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому +52

      Not an expert. Just a Guy. It's free... which is what it's worth. 😉

    • @d1ryan
      @d1ryan Рік тому +26

      What do any of us know about linux? I have been a serious linux sys admin for 10 years, and every day I feel like a noob. Certifications are irrelevant. The “experts” tend to be closed minded. Max flex is my rule of thumb.

    • @anadolijamajh4181
      @anadolijamajh4181 Рік тому +7

      I can confirm.I installed debian this way and its working

    • @phonewithoutquestion80
      @phonewithoutquestion80 Рік тому +19

      Are you some kind of journalist or something? Actually watch more than one of his videos.

    • @DuckMan77
      @DuckMan77 Рік тому +6

      You can always look up information to verify, just because someone throws credentials at you doesnt mean they are 100% correct ALL the time. This sort of question has very little merit in the grand scheme of things

  • @jhboricua
    @jhboricua Рік тому +33

    A few observations/suggestions about the mount options for the btrfs partitions as Debian 12 ships with BTRFS version 6.2:
    - rw -> is really not needed. By default it will mount in rw mode.
    - space_cache=v2 has been a default option since btrfs version 4.5 - no need to specify it.
    - discard=async is the default as of version 6.2, but only as long as the SSD drive AND storage controller supports it, and this is important. You don't want to enable async otherwise as it can cause issues. It's better to be safe and let btrfs decide.
    - ssd = nowadays btrfs can autodetect SSDs and enable this options so no longer necessary to specify it. It was only needed on 1st generation SSDs due to how they reported to the Os.

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому +12

      Thanks. Always happy when a pro helps out.

    • @sceafa8370
      @sceafa8370 Рік тому +1

      @@JustAGuyLinux Does this mean we don't have to do what you did with the mount of the drives in the terminal or the editing of the files using nano?

    • @donaldwilliams6821
      @donaldwilliams6821 Рік тому +3

      @@sceafa8370 If you want to have compression enabled or use timeshift for btrfs snapshots later, then yes. The specific options of RW, and space_cache are now defaults in btrfs

    • @nildesperandum2034
      @nildesperandum2034 4 місяці тому

      Thx. So we don't have to make the settings after 7:03 right?

  • @Destide
    @Destide Рік тому +4

    This is one of those videos I'll always refer to over the years, super usful calling out the options as you were doing them allowed me to just follow along audibly

  • @d1ryan
    @d1ryan Рік тому +13

    I love your videos Drew. I am such a Debian fanatic, and I am very open to learning. Your content assumes nothing and has great depth. Personally, I prefer you walking through things (like your manual partition setup with BTRFS), so if people are "bored", they can fast forward.....
    Thank you!

  • @rawbeartoe_AK
    @rawbeartoe_AK Рік тому +3

    Nooice! Just installed Debian 12. Now I am going to go back and do a minimal install. Thanks for the great video.

  • @jimrayjoebob7441
    @jimrayjoebob7441 Рік тому +9

    Well done! Best I've seen on this subject. Thank you.

  • @lqlarry
    @lqlarry Рік тому +7

    Another great video, Drew. It seems Bookworm is getting a really good reviews from the community, probably the best a Debian release has received in a long time, if not the best. I think Flatpak's acceptance has helped with the popularity. Thanks for showing us the BTRFS setup again.

  • @GuardianEngraving
    @GuardianEngraving Рік тому +5

    Thank you for the videos, I find them very easy, simple and straight forward to learn from. I have been using DietPi for a while now to setup small servers but have always wanted to learn to do it manually. I usually just need a minimal install with ssh, samba/NFS, some security, backup and maybe a minecraft server or two running on the machine. Thanks to videos like yours I am edging ever closer to being able to do it manually. Thank you again.

  • @zeusthundr6876
    @zeusthundr6876 Рік тому +4

    Was literally looking a guide for this yesterday thanks for making this video

  • @markjones2349
    @markjones2349 Рік тому +3

    This was one of the top things that I was hoping that Debian would fix or adopt to get working out of the box when btrfs was chosen at install. But now is the perfect time for me to learn this, so your timing is perfect. I know that drive compression on things like Steam games can increase drive space. Thanks so much for this video, I'm going to watch it now and finally learn this. Edit: Yeah.......I'm never going to remember that.

  • @chrisg6091
    @chrisg6091 6 місяців тому +1

    Fascinating details. Good to have some insight into how this is is all put together.
    As a busy dad I used Spiral Linux to install a beautifully configured Debian 12.5 including btrfs & snapper. Saved me *hours*

  • @tenbitube
    @tenbitube Рік тому +1

    Thank you so much I've been using linux for a little bit now and your video has taught me a bit more of what btrfs is capable of! Im definitely adding this to my notes in the future.

  • @smokeyninja9920
    @smokeyninja9920 10 місяців тому +1

    I'm struggling to unmelt my brain, but I will be using this guide with much appreciation.

  • @joseffistus3058
    @joseffistus3058 Рік тому +1

    Sehr, sehr gut erklärt. Kann jeder komplett nachvollziehen. Uneingeschränkte Empfehlung! Super! Vielen Dank.

  • @deterdamel7380
    @deterdamel7380 Рік тому +15

    Good video. It can make sense to create more subvolumes, perhaps /var/cache, /var/log/, /var/spool, /var/tmp. Doing so, you can exclude these directories from the snapshot.

    • @leonbishop7404
      @leonbishop7404 Рік тому

      nice!

    • @JS-sf1dw
      @JS-sf1dw 8 місяців тому

      @deterdamel7380 Very good idea

    • @derrekvanee4567
      @derrekvanee4567 2 місяці тому

      Just do @var mounted to /var and keep it simple as get the opensuse wiki.

  • @demirmahir
    @demirmahir 11 місяців тому +1

    Well explained and simple to follow. Thanks!
    It would be nice to have an in-depth look into btrfs snapshots administration as a follow up to this video.

    • @JustAGuyLinux
      @JustAGuyLinux  11 місяців тому +1

      I kinda did on the next vid when I installed KDE minimal, but something I intend to address in the relatively near future.

    • @demirmahir
      @demirmahir 11 місяців тому

      @@JustAGuyLinux Great. There is not much good btrfs related content on UA-cam, so you'd be doing the Linux community a favour. In case you're doing something like that, please maybe include a segment for administering snapshots from the CLI.

  • @0xac829
    @0xac829 Рік тому +1

    Hey Drew, good to see you posting videos again!

  • @nyd3386
    @nyd3386 Рік тому +2

    Great video! I immediately subscribed :D Thanks for showing how to setup BTRFS. I was trying Bookworm in a VM, and was kind of lost when I had to set up subvolumes.

  • @giancarlolugo7048
    @giancarlolugo7048 Рік тому

    Thanks to your tutorial I am finally able to use Debian with BTRFS. I’ve done it before with other Debian based distros but never able to achieve it in Debian. So, thank you so much.

  • @Drugvigil
    @Drugvigil Рік тому +2

    Waiting for the next part. And my kind recommendation to you, make tutorial about server installation of Debain (minimal) like web server, mail server and how to create user credentials to several employees. Hopefully waiting for it.

  • @gui.ribeiro
    @gui.ribeiro 8 місяців тому

    Just did this, great vid thanks a lot
    One tip to those who are installing this on vm's, don't forget to activate the EFI option on the machine settings so you get the EFI system option

  • @marquisbynoe1829
    @marquisbynoe1829 Рік тому

    Just found this channel today! Subscribed instantly! Thank you for your time and detail

  • @mels4413
    @mels4413 Рік тому +1

    Love your videos, Drew! Keep going.

  • @patrickprucha5522
    @patrickprucha5522 Рік тому +2

    I just installed a minimal install of debian12. I was about to go through this procedure, however i took a gamble. I found on a website that the key thing is that debian will install gnome by default even if you uncheck it. However, because i didn't uncheck the first box "debian graphical ...." i still got gnome. I tried again, and voila, with out the expert mode, i have created a minimal debian12.
    Thanks for the info though. Its very well presented and i like your very precise way of showing how to do something! Keep it up!

  • @AndreaBorman
    @AndreaBorman Рік тому +1

    I installed Debian 12 a few days ago from the minimal install CD but I did pick a desktop as I wanted to make sure I got all of the hardware and drivers. I started with Gnome Flashback as it is one of the most minimal ones and is easy to remove once you have installed another desktop. Then I installed the Cinnamon desktop then removed Gnome Flashback and I am now running Cinnamon. I installed Cinnamon Core which gives you the desktop but not all of the unwanted bloatware like LibreOffice and other's I don't want. I must say that I am finding the Debian Cinnamon lighter and better than Linux Mints LMDE as Debian's one does not come with so much heavy stuff. Where as Linux Mints Cinnamon for some reason comes with the Mate Panel half of the Mate Desktop which I don't like. Because if I wanted that I would just install Mate Desktop and I don't seen the point in having a Panel from another desktop which kind of looks out of place on Cinnamon. Also Debian Cinnamon is not using much disk space at all only where as Mints version was using much more. Probably because of all of the apps and packages that get installed when you first use it. All of my drivers work out of the box so I did not have to configure anything. So yes this version of Debian is worth trying and I think the desktops are lighter than the Ubuntu versions as they don't have any Snaps or Flatpaks. Unless you want to install then that is. When I used Debian 11 it was not so user friendly as the network and some of the other settings were turned off but in 12 they have added support for drivers for the first time. Which makes it easier for users like myself who are coming over from Windows. The only thing I don't like is the Firefox ESR which is an out of date version but that you can change that by adding the repositories of the updated Firefox. Which is something you would have to do on Ubuntu as they only have the Snap version. These things are easily fixed. I am quite liking Debian and I may try another desktop on my other laptop as it does seem to be a lot lighter than Ubuntu. Although I like Ubuntu and Linux Mint as well.

  • @itsmith32
    @itsmith32 9 місяців тому +1

    Thank you for your efforts! Looks clear and very useful. By the way, ctrl+alt+F2 is not convinient, and ctrl+alt+F1 too. Use alt+→ and alt+← accordingly.

  • @吳炯仁
    @吳炯仁 8 місяців тому +1

    As an Arch user, I approve this.
    Jokes aside, this is a bless. Recently I test lmde, and use command line to do the partition in conjunction with gui installer. I just grab arch-install-script to setup fstab fast.

  • @sebastianriquelme3513
    @sebastianriquelme3513 Рік тому

    Thank you! Im running debian testing with snapshots in case something goes wrong now thanks to this guide.

  • @stevegerst5229
    @stevegerst5229 Рік тому +7

    Hello Drew. I enjoyed this install. I have a question if you feel it's in the scope of your channel. When your setting the options on your subvolume mounts these two were changed from your previous install demonstrations. rw was added and space_cache was changed to space_cache=v2. I'm just curious why you made the change. I'm just another guy using linux.

  • @Tekudachi
    @Tekudachi Рік тому +1

    Thank you so much! I've looking for this. So appreciated.

  • @phenoumene
    @phenoumene День тому

    As always computing science is full of surprises...
    - Force GRUB installation to the EFI removable media path? (didn't show)
    - Update NVRAM variables to automatically boot into Debian? (didn't show)
    Thanks for all your teaching :)

  • @jaelsonwagner
    @jaelsonwagner Рік тому +4

    I really would like to know which sources of reference we could use to understand what is being doing here. Too many concepts I don't know. There are things I never imagined we could do.

  • @graybri
    @graybri Рік тому +1

    Just starting a bookworm journey myself.
    I have used different distros in the past, Fedora, CentOS, and Mint mostly.
    Time for a change and refresh. Looking to build a custom workstation setup that includes a DE and possibly sway.
    If you are going to make this into an ongoing series I am subbed to come along for the ride.

  • @wildmanjeff42
    @wildmanjeff42 Рік тому +1

    Thanks for the video ! I tried timeshift istall on 3 different machines, on general install with KDE and could not get it to work, it would not even start, noticed there is a program called backup in the system. I need to get into more advanced installs with BTRFS and select my prefered software from the start !

  • @dktol56
    @dktol56 Рік тому +2

    Perhaps you could do a separate video where you configure this system with snapper to do snapshots. It's more complicated to setup but also more flexible than timeshift.

  • @davidwayne9982
    @davidwayne9982 Рік тому +1

    GREAT VIDEO-- I have this and LOVE IT-- I have added KDE to mine myself-- to build it the way I wanted. SUPER system-- rock solid- FASTER than the arch junk I was trying.. and just SUPER GOOD!!! I get RID of swap too... Today- I'm running SPARKY LINUX 7--- which is a GREAT distro - based on DEBIAN 12, and has good tool, is SIMPLE- light- VERY FAST- and GREAT-- with the stability of Debian 12.... LOVE IT-- Sparky has been my MAIN system for a LONg time-- and I ALWAYS go back to it when I hop-- ALWAYS-- it's just that GOOD... for beginners too!!!

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому +2

      Thanks for sharing. Sparky is a distro I have not tried.

    • @davidwayne9982
      @davidwayne9982 Рік тому +1

      @@JustAGuyLinux Put it on usb and give it a shot-- like the old Coca cola comercial use to say- "Try it , you'll LIKE it!!".. :)

  • @IoSonoPiero
    @IoSonoPiero Рік тому +1

    Hello! I'm new, and I think you're good. Why, at 18:16, did you not enable automatic updates?

  • @akshatjain754
    @akshatjain754 Рік тому +3

    Hey, great video. If you have a separate /home partition, what would be the changes in setting up BTRFS? My SSD is tiny so I generally have /home on Hard Disk.

  • @Johan87577
    @Johan87577 4 місяці тому +1

    A heads up if you following along inside a VM, setting up a EFI partition doesn't seem to be possible, at least I didn't get the option inside my QEMU VM.
    Edit: I’m a dumb dumb, if you configure your VM to use UEFI it’s available, virtmanager default to bios.

  • @AB-gt4oe
    @AB-gt4oe 3 місяці тому +1

    Brilliant, thank you ☺️

  • @genkiferal7178
    @genkiferal7178 Рік тому

    I don't recall Debian 11 taking nearly as long to update as the regular Debian 12, so am hoping minimally-installed is a lot better. Sure wish antiX was easier to use, because I love how minimal it is.

  • @marculix
    @marculix Рік тому +1

    Thanks for the post. Apart from your UEFI/EFI changes, I am asking myself why you not use the default BTRFS settings to install the Debian base system out of the box using the installer? Did you do it just to assign your a home subvolume and add your specific BTRFS mount options to fstab? Do you have indications, that the default mount options would not do the job installing the base system? Just curious and to understand what's the downside of not doing it the standard way using the standard expert BTRFS install procedure.

  • @sebsefyu
    @sebsefyu Рік тому +2

    Drew, will this perticular partition setup mess up dual boot that is already setup? I have Fedora 38 and Windows 11 setup already on REfind boot manager.

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому +1

      Not sure. I am thinking yes, but can't guarantee

  • @cryinkfly
    @cryinkfly 6 місяців тому +2

    Thanks to for this nice tutorial! 😀

  • @UltraZelda64
    @UltraZelda64 7 місяців тому +2

    What was the point in renaming the @rootfs subvolume to @ ? Could @ not coexist with @home? Or does @rootfs somehow imply that there are no additional subvolumes?
    I tend to not use btrfs because of its complexity, and subvolumes are one of the reasons for that. Yet, they are actually one of its most interesting features.

    • @JustAGuyLinux
      @JustAGuyLinux  7 місяців тому

      Getting timeshift to work correctly.

  • @fstoplive1991
    @fstoplive1991 Рік тому +1

    Excellent thank you. If only you could enlarge text display in your terminal input . I'll be watching this video many times till I can wright out the instructions in a note book, I keep notes for different distros, apps & processes🤣 Will the printer work work, It does in POP_OS out of the box, configuring printers has always been a breaking point for me. I just skip it most times. The PC I'll be installing Debian on will have 2 SATAs for storage & 1 NVME ssd . Can't just throw away those old hdds How & where do you buy debian install media to support it? Are there printed official manual like slackware?

  • @Zephyroths
    @Zephyroths Рік тому +2

    Too bad setting up subvolumes is still how I would do it on arch. Hopefully it would be made easier in the future

  • @Johnny-mp2ew
    @Johnny-mp2ew Місяць тому +1

    Im trying to do this on vmm/qemo virtual machine on linux mint, but sadly ctrl+alt+f2 just kicks me out into the Linux mint terminal. How do i get around this? Can i rebind these buttons on VMM? Anyone have any solutions?
    Update: I'm really dumb lol. On the top panel in qemu/kvm there's a button that says "send key" and it lets you click on the keys you want to press.

  • @ppaliwal89
    @ppaliwal89 Рік тому +2

    it's going to be wonderful if you can showcase a snapper rollback mechanism. With your current subvolume setup, it always fails for me

  • @pichincho7
    @pichincho7 Рік тому +1

    Can you made one fresh install video explaining the same but for a disk with partition root and partition home separated? Thanks.

  • @oSTREAMo
    @oSTREAMo Місяць тому

    I'm trying to follow your guide for installing into bare metal server throught KVM. In the partitioning step (i've raid 1), i can't create EFI partition because the opction isn't displayed. What can i do?

  • @jsizemo
    @jsizemo Рік тому +1

    As an aside at 16:41, I’ve always wondered what the proportion of people who refuse the non-free firmware and how does that ultimately work out for them? In practice, you and other UA-camrs say to just go ahead and accept the non-free. When it gets down to it, who really SHOULD refuse the nonfree?

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому +2

      Not sure but think a server is unlikely to need it. Desktop not so much

  • @steeltormentors
    @steeltormentors 6 днів тому

    is there a reason you setup zram and not zswap? I assume you didn't have a swap partition, hence the zram?

  • @nocodenoblunder6672
    @nocodenoblunder6672 Рік тому +1

    Could you explain what exacly you have done in the chang partition part and why you think that is the better setup?

  • @UlrichHoltzhausen
    @UlrichHoltzhausen Рік тому +3

    Do you have a Timeshift setup video to follow on from this video?

    • @blackmine57
      @blackmine57 Рік тому +1

      Wrong timestamp but it's at 3:06. I'm on mobile rn, sorry

  • @kryrek
    @kryrek 23 дні тому

    what a proper size of boot partition? I have seen in later videos that you're selecting 500M, while here you have 300M, is it a reason for that?

  • @stedew001
    @stedew001 Рік тому +1

    I followed along and successfully completed the minimal install. Thanks for the info.
    Since completing the install I have added cups, vim and tmux. I am trying to stay away from a gui as long as I can.
    Could you do a follow up video showing how to expand the install without adding a gui?
    Or could you or any readers suggest useful text only tools?

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому

      good suggestion. thought about it myself but never able to get a productive workflow.

  • @UlrichHoltzhausen
    @UlrichHoltzhausen Рік тому +1

    Very nice and informative.

  • @lennoxnicklas4466
    @lennoxnicklas4466 11 місяців тому

    I like this video I can't wait to see what have for us with hyperland on Debian that will be the best on how to configure it

  • @UlrichHoltzhausen
    @UlrichHoltzhausen Рік тому +1

    @JustAGuyLinux Should the ssd option within the fstab be set to something else if it's a mechanical drive or just omitted completely?

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому

      Omitted. I believe you can omit the discard=async too

  • @BandanazX
    @BandanazX Рік тому +2

    Legit content.

  • @sergei8337
    @sergei8337 Рік тому +4

    How did you manage to record a bare metal installation?!

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому +3

      I use a test machine and an external capture card hooked up to my production machine.

  • @pyntux
    @pyntux Рік тому +1

    Put "nosgx" in to /etc/default/grub" kernel line :D P.S. Can you make video of adding minimal install of KDE/Gnome of top of this?

  • @nildesperandum2034
    @nildesperandum2034 4 місяці тому

    Thx but what if we directly install it without doing any configuration? 7:03

    • @PianoStrummer1567
      @PianoStrummer1567 Місяць тому +1

      I learned this hard way. Basically debian chose to default the subvolumes in a way that's incompatible with timeshift. An incredibly strange decision considering it's the most common backup application. Debian apparently will set up the subvolumes correctly through the live iso so who knows why they didn't do it here. Would it be so hard to just make that an option in the netinst instead of having to go through all the terminal steps?

    • @nildesperandum2034
      @nildesperandum2034 Місяць тому

      @@PianoStrummer1567 THANK YOU SO MUCH I LEARNED IT HARD WAY TOO. DO NOT USE BTFRS FOR YOU MENTAL HEALTH. KEEP USING EXT4...

    • @PianoStrummer1567
      @PianoStrummer1567 Місяць тому

      @@nildesperandum2034 I agree, I spent hours on it yesterday and just went with ext4

  • @DugB0915
    @DugB0915 Рік тому +1

    Wouldn't it be prudent to HAVE a swap partition available, and configure Zram to use it if you ever DO run out of memory by
    adding a backup swap partition or file?

    • @act.13.41
      @act.13.41 Рік тому +1

      That would cause the swap to be on the same location of the SSD every time it writes and would wear out the drive quickly. Having a swap file, lets the SSD manage where to write.

  • @Apollucas
    @Apollucas Рік тому

    Question:
    I wanna install Debian in the way you described (alongside the suggestions from @jhboricua) on my machine (ergo, on metal), but I do have a Windows partition on it as well that I REALLY don't wish to lose.
    What are some things I need to do differently here aside from the obvious like not formatting my entire drive? What do I do with the EFI partition that already exists on my machine (it allows me to boot into Windows)?

  • @berndeckenfels
    @berndeckenfels 23 дні тому

    If you care about your ssd, using /tmp as tempfs?

  • @koevoet7288
    @koevoet7288 Рік тому +1

    Do you achieve the same as a seperate home partition with the terminal stuff?

  • @FunctionGermany
    @FunctionGermany Рік тому +1

    i have a bit of a general question about linux.
    i'm probably misunderstanding something, but if the instructions on how to mount the FS are stored on the FS itself in the fstab file, then how does the system read the fstab file without knowing how to access the FS in the first place?

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому +1

      Thanks for the question. This may be a little beyond my skill set.

  • @genkiferal7178
    @genkiferal7178 Рік тому

    Needing a network connection for netinstall is the major downside. I heard or read the other day that there is a version between regular Debian and the netinstall that already has the network files on it and I think it is contrib and non-free, but those can be commented out after install. Gawd, I hope I made a good note of where to find that .iso

  • @mangekyo_sharingan_
    @mangekyo_sharingan_ Рік тому

    5:26 for some reason the menu shows everything except efi partitioning. does anyone have an idea why?

  • @Malinkh
    @Malinkh 9 місяців тому

    Great video. I mounted the root partition with:
    mount -o rw,noatime,space_cache=v2,compress=zstd:3,ssd,discard=async,subvol=@ /dev/mmcblkop2 /target
    and the install isn't compressed.
    I den decided to change the compress option to: compress=ztsd:6 still nothing is compressed during install.
    So the question is. How can I have the installer compress while installing the system?

  • @goldibollocks
    @goldibollocks Рік тому +1

    Is there any security risk by using EFI instead of BIOS stemming from the fact that an extra ESP partition is required that cannot be encrypted via LUKS, etc?
    If I'm not mistaken, with BIOS boot you can use a single partition for everything and that is encryptable via LUKS. In EFI boot you have the bootloader and kernel on an unencrypted (as in: does not work with encryption) partition, right?
    Would that enable an adversary (i.e. thief of a laptop) to "simply" put a modified boot loader and/or kernel on the unencrypted /boot partition?
    I was always curious about this since EFI is supposed to be more secure than BIOS but the requirement of having a part of your system unencrypted sounds more like a security risk. Or did I understand something wrong?

    • @act.13.41
      @act.13.41 Рік тому

      If the thief replaced the bootloader and or kernel, the LUKS partition would still be encrypted and he would have gained nothing. As far as just wiping out the partitions and starting from scratch, he would have no problem there.

    • @goldibollocks
      @goldibollocks Рік тому

      @@act.13.41 Right, so the only situation where my data wouldn't be safe in that situation is when the thief is not interested in the physical laptop but the data on it and "returns/abandons" it after installing the root kit in which case I might unlock the LUKS partition myself and then use a compromised system without my knowledge? That would be prevented if all partitions were encrypted?

    • @act.13.41
      @act.13.41 Рік тому +1

      @@goldibollocks Correct. If you are RKed and unlock the partition, you would be vulnerable.
      My suggestion would be regular backup of the data on the the drive and if the laptop went missing and was returned would be an immediate wipe and re-partition/load with a restore of the backed up data.

    • @goldibollocks
      @goldibollocks Рік тому

      @@act.13.41 that sounds good and would definitely be a good idea to regard a laptop as compromised once it had been missing or stolen & returned.
      Only scenario I can think of now is the installation of a root kit not by a thief but by someone who doesn't physically move the laptop to install the RK, i.e. a spouse, parent or sibling who installs it without moving the laptop at all. In that case, one wouldn't have any idea the laptop is compromised and likely just unlock the LUKS on the next boot.
      Is there any chance to guard against that? I guess a BIOS level password would not prevent anyone from removing the HDD/SSD, installing the RK on the drive on another computer and then re-inserting it back into the original laptop? Basically only having unencrypted partitions read only or having no unencrypted partitions at all?

    • @act.13.41
      @act.13.41 Рік тому +1

      @@goldibollocks Technically, if anyone has physical access, you cannot assure safety of data. I would guess that if you have an unencrypted / drive, and you were suspicious, you could boot from a live USB and run rkhunter on it.

  • @luseho
    @luseho 7 місяців тому

    Great video! But what if i windows partitions and stuff?

  • @codingcats
    @codingcats 7 місяців тому

    don’t want mess up the @rootfs, can we just skip those commands and install? does that make any difference? does Nvme differ from sata ssd?

  • @cristianinujazznight3044
    @cristianinujazznight3044 Рік тому

    Hi.
    Getting trouble with snapper, could you help me?
    When I make a snapshot as default, then reboot, does not boot with the snapshot mark as default. How I can resolve this?
    Thanks.

  • @muhammedendesutku2714
    @muhammedendesutku2714 24 дні тому

    Sudo commant not found in my installation , why 😂

  • @2u263
    @2u263 Рік тому

    Why BTRFS vs EXT4? Currently running WattOS R12 love its clean simplicity, Was thinking if I could use it for my base template . Just learning I'm installing on an older laptop sata so I'll add swap .

  • @bluntex1
    @bluntex1 Рік тому

    Great video, well informative message thanks

  • @polnyjj
    @polnyjj Рік тому +1

    Hello, i'm new on linux so this could be an stupid question. i used opensuse for a while and iirc it creates 9 subvolumes by default like @, @tmp, @var, @home etc. but you created only @ and @home. what are differences between what you did and opensuse's default subvolumes?

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому +2

      no idea. sorry.

    • @hiralpatel3863
      @hiralpatel3863 Рік тому

      Opensuse and ArchInstall both had those additional subvol. For instance, it’s important to create @var subvol so that when you restore @root snapshot, it doesn’t wipe your logs. And having @logs on a separate subvol, it helps you with checking for error messages whenever you need it.

  • @ofHerWord
    @ofHerWord Рік тому

    I wonder how you can install Debian with an encrypted device and set up all of the kde and gnome package software installers.

  • @HuyTran-wt2qy
    @HuyTran-wt2qy Рік тому +1

    It's nice video . But i have a question . Can i dual boot with your way ? I am just a new with debian.

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому

      I am not sure, but I think the best way would be to install Windows first and then Debian.

  • @ioanstan
    @ioanstan 5 місяців тому

    How would we install Debian on RAID1 btrfs?

  • @act.13.41
    @act.13.41 Рік тому +3

    Another person who prefers Micro. 😀

  • @AS-bg5kg
    @AS-bg5kg Рік тому +1

    I ❤ your vids. Watch the all.
    However, today I wanted to make a request if you allow.
    Can you please mske a vid/tutorial for lmde6 btrfs install, preferably in expert install (for the mount options of the subvols).
    Thanks in advance in anticipation of a positive response.

  • @tigerbytes2399
    @tigerbytes2399 3 місяці тому

    Is this comparable to debootstrap or cdebootstrap?

  • @JoseGonzalez-su2sy
    @JoseGonzalez-su2sy 9 місяців тому

    Hi there Drew, thank you for the nice video! I'm currently trying to follow, but my PC is not UEFI but BIOS. What would the differences be in my case? I'm struggling specially to establish the boot position, since an EFI partition doesn't apply for me.
    Thanks a lot!

    • @markhawkes8006
      @markhawkes8006 Місяць тому

      At 5:03 you would choose msdos instead of gpt

  • @Well_Edumacated
    @Well_Edumacated 9 місяців тому +2

    is the install the same for NVME drives?

    • @JustAGuyLinux
      @JustAGuyLinux  9 місяців тому

      I believe so. I do remember doing this, but it has been a while.

    • @98SE
      @98SE 8 місяців тому +1

      Yes it's the exact same, you just have to keep in mind that it will be called `nvme0n1p1 and nvme0n1p2` instead of SDA1 and SDA2

  • @michaelplaczek9385
    @michaelplaczek9385 Рік тому +1

    Maybe you should experiment with Linux LVM?

  • @jsizemo
    @jsizemo Рік тому

    So I inferred that the Debian installer automatically created a BTRFS sub volume called @rootfs, but how did YOU figure that out?

  • @AxelWerner
    @AxelWerner Рік тому +2

    To my understanding btrfs is nothing but trouble. I'll stick with LVM

    • @blackmine57
      @blackmine57 Рік тому

      Never had any big issue with btrfs, but yeah LVM is fine too

    • @deterdamel7380
      @deterdamel7380 Рік тому

      btrfs- and of course zfs- are way better than using LVM + some-fs. If you're still using LVM today, your should try the modern approach. But do not use btrfs as RAID 5/6 right now.

    • @marculix
      @marculix Рік тому +1

      I prefer SUN's ZFS (or OpenZFS) for enterprise level data storage. This is unfortunately not easy to use in Debian for the root filesystem, so as an alternative BTRFS should do the job if you e.g. want to snapshot your installation quickly for business continuity (BCP) and recovery. For the OS, however, for data storage I still use ZFS which is the worlds largest enterprise storage champion.

  • @rickcontreras4943
    @rickcontreras4943 Рік тому +1

    I try to install it and Debian did not Recognize me ?

    • @marculix
      @marculix Рік тому

      Debian did not recognize you, because you've had random relationships with other distros which is not well appreciated by Debian. Sorry mate.

    • @mchi2214
      @mchi2214 Рік тому

      @@marculix man that killed me lol!

  • @Mug3nXK
    @Mug3nXK Рік тому

    nice vid very informative.. but why not to set up swap on ssd?

    • @JustAGuyLinux
      @JustAGuyLinux  Рік тому +1

      Using swap on SSD can cause unnecessary wear to the SSD from what I understand. That's why I use zram swap.

  • @iamrage4753
    @iamrage4753 Рік тому

    How would you do this on arm64 pi 4?

  • @TheBecke1983
    @TheBecke1983 Рік тому

    Thank you for this guide

  • @TheEricDangerous
    @TheEricDangerous Рік тому

    Perfect, Thx Sir.

  • @AM-jw1lo
    @AM-jw1lo 5 місяців тому +1

    Yah, you should have said in title... FOR SSD. Since i am not watching further, you don't even acknowledge not using an ssd. so whats the point.

  • @cwzialor
    @cwzialor 2 місяці тому +1

    micro gang

  • @bhadawang
    @bhadawang Рік тому +1

    wow, advance video, advance tutorial thanks

  • @frostplusplus
    @frostplusplus Рік тому +2

    I don't know why I'm watching this video and why youtube recommended to me but thanks.