Debian 12 "Net Install" Installation Walkthrough

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • Debian is a distribution loved by many, and one of the most popular of all time. If you're thinking of installing it on your computer, then this installation guide will cover the "Net Install" method from beginning to end. In this video, you'll see the process of wiping your drive and replacing your OS with Debian from start to finish!
    Note: The installation screen captures are a lower resolution than normal due to a screen recorder issue.
    - Thanks to Akamai for sponsoring today's video!
    Set up your very own Linux server with Akamai's Connected Cloud (Sponsor) ➜ learnlinux.link/akamai
    LEARN LINUX TV - YOUR HOME FOR LINUX-RELATED FUN AND LEARNING!
    Support Linux Learning (commission earned)
    • Receive a 5% discount on an LPI exam voucher ➜ learnlinux.link/lpi-voucher
    • Affiliate store for Linux compatible hardware/accessories ➜ learnlinux.link/amazon
    • Become a channel member here on CZcams ➜ learnlinux.link/join
    • Become a Patron on Patreon ➜ learnlinux.link/patron
    • Mastering Ubuntu Server 4th Edition ➜ ubuntuserverbook.com
    • Set up your own cloud server with Akamai's Connected Cloud ➜ learnlinux.link/akamai
    • Awesome KVM for your Homelab ➜ learnlinux.link/tinypilot
    ⏰ TIME CODES
    00:00 - Intro
    00:56 - Check out Akamai for your very own Cloud Linux server! (Sponsor)
    02:11 - First look at the Net Installer for Debian 12 "Bookworm"
    03:18 - Installation walkthrough, explanation of prompts
    04:51 - Setting the hostname while installing Debian 12 "Bookworm"
    05:43 - Adding a root password and administrator user during installation
    08:04 - Wiping the hard disk during installation
    10:59 - Setting up the preferred mirror/additional settings
    12:42 - Choosing a desktop environment during installation
    Full Courses from Learn Linux TV
    • Linux Crash Course series ➜ linux.video/cc
    • Learn how to exit use tmux ➜ linux.video/tmux
    • Learn how to use vim ➜ linux.video/vim
    • Bash Scripting Series ➜ linux.video/bash
    • Proxmox VE Cluster Full Course ➜ linux.video/pve
    • Learn Ansible ➜ linux.video/ansible
    🌐 LEARN LINUX TV ON THE WEB
    • Main site ➜ www.learnlinux.tv
    • Community ➜ community.learnlinux.tv
    • Official Github Account ➜ github.com/LearnLinuxTV
    • Enterprise Linux Security Podcast ➜ enterpriselinuxsecurity.show
    • The Homelab Show Podcast ➜ thehomelab.show
    • Jay on Udemy ➜ www.udemy.com/user/jay-lacroix-3
    • Jay on Twitter ➜ x.com/JayTheLinuxGuy
    • Content Ethics ➜ www.learnlinux.tv/content-ethics
    • Request Assistance ➜ www.learnlinux.tv/request-ass...
    ⚠️ DISCLAIMER
    LearnLinuxTV produces technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of the content and information that's being provided. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production software, systems and hardware.
    #Linux #LinuxTutorial #Debian
  • Věda a technologie

Komentáře • 92

  • @esra_erimez
    @esra_erimez Před 11 měsíci +7

    This is great, I hardly see videos about setting up Debian using the netinstaller. Thank you!!!

  • @POINTS2
    @POINTS2 Před rokem +7

    04:51 When I was installing Debian 12 myself, I wondered how it picked the hostname. I thought maybe it was reading the existing Linux filesystem but now I know that it is from the network DNS. Thanks for the info!

  • @jordanlivesey4715
    @jordanlivesey4715 Před rokem +7

    one of the best things for me at least is that now I don't have to press s for speech when I boot the installer, I can just leave it to idle when prompted and it will boot with speech automaticly after a timeout, very good for people like me who are visually impaired, further more its going to install the screen reader with the desktop I pick as well so that is awesome, arch doesn't even do that for you and yet it has an accessibility system, score 1 to debian, I upgraded from debian 11 ahead of time and learned about a new command in doing so, you might want to cover it, the extrepo command that lets you find and enable external repositories, I've decided to stop distro hopping all together and am now happily enjoying debian bookworm

  • @a7i3n93
    @a7i3n93 Před rokem +4

    This was useful. I had issues with the graphical installer. The standard seems to be the way to go.

  • @youtubeoneverything4581
    @youtubeoneverything4581 Před rokem +2

    Always wanted to watch a net install video from you

    • @LearnLinuxTV
      @LearnLinuxTV  Před rokem +5

      Glad you're excited for it - just wait for what's coming. In 15 minutes and then 30 minutes from right now. I'm not done yet!

  • @wisteela
    @wisteela Před 2 měsíci

    Great guide. Now to check out your guide to desktop environments.

  • @foxlife8278
    @foxlife8278 Před 11 měsíci +5

    Learn Linux this did not work for me the bios says there there is no boot loader and can't boot from the drive I installed debian on. Other distros iv used have never had this problem before please respond iv bin trying to install debian 12 for the past week and can't find a way to fix this issue

  • @kennethsimmons2003
    @kennethsimmons2003 Před rokem +38

    One thing to note is if you set a root password, you will need to su into root and put the user account into the sudo group to be able to perform administrator functions such as installing software. At least that is how it works in Debian 11. I don't know if that has changed for Debian 12.

    • @younesjaafar2216
      @younesjaafar2216 Před rokem +2

      Wish they change that

    • @somegeezer4058
      @somegeezer4058 Před rokem +6

      I was hoping the video would discuss the pros and cons of not setting a root password.

    • @JoeMooney
      @JoeMooney Před rokem

      Does Debian use the "Wheel" Group for Sudoers?

    • @kennethsimmons2003
      @kennethsimmons2003 Před rokem +3

      @@JoeMooney They use the "sudo" group instead of "wheel".

    • @RedBearAK
      @RedBearAK Před rokem +4

      Yep, ran into this with the Debian 12 DVD image. I’ve been testing an installer on about two dozen other distros, several based on Debian 11. None of them leave the initial user out of the administrator group by default. And the Debian installer doesn’t even show in any obvious way that you will have to go through a special procedure to get your user into the sudo group after the install.

  • @geometrikselfelsefesi

    Great video, switched to debian from arch linux and its better if you have big projects

  • @Crackalacking_Z
    @Crackalacking_Z Před rokem +3

    Big fan of the net install, quick and painless :D

  • @esra_erimez
    @esra_erimez Před 11 měsíci

    Akamai bought Linode, and they are still great.

  • @toddpark2893
    @toddpark2893 Před rokem

    Great video 🙂 Reserved blocks default is 5%. Is this overkill for a 1TB SSD drive that is set up with separate root and home partitions?

  • @TooSlowTube
    @TooSlowTube Před 7 měsíci +1

    Good, but is there a video where you covered manual partitioning? That's what I was hoping to learn from this.

  • @lawi1390
    @lawi1390 Před rokem +27

    it’s a shame u didn’t showcase the graphical installer it’s very new users friendly and well made

    • @emanbhatt3772
      @emanbhatt3772 Před 11 měsíci +3

      The one he showed looks cool tho (opinion might differ)

  • @steveu235
    @steveu235 Před rokem +3

    it's easy to choose the entire disk everything works easily Teaching something would show how to install alongside another OS.

  • @luigiprovencher8888
    @luigiprovencher8888 Před rokem +1

    How do you install wifi drivers or firmware in Debian 12 or 12.1 live during the installation process without a network connect? On HP Laptops it doesn't detect wifi automatically but on dell it does.

  • @theshowmanuk
    @theshowmanuk Před rokem +4

    That's a great walk through. Thanks.

  • @MrRoma70
    @MrRoma70 Před 11 měsíci +1

    Can the Network install be used to install on ProxMox 8, would love to see a step by step video

  • @maurolimaok
    @maurolimaok Před 11 měsíci +2

    hi!
    Could you make a MINIMAL install video.
    When I got the partition, it won't recognize the amount I set for him. With Ubuntu it does, but not with Debian on DualBoot with Windows.
    Thanks! This channel is very helpful!

  • @duanegcanaday8575
    @duanegcanaday8575 Před rokem +3

    I did the install yesterday from the DVD slash USB installer. I never encountered a place to put in a root password. Only the user name and password. Not sure how that happened.

  • @sr.oskar_alhos
    @sr.oskar_alhos Před 11 měsíci +1

    Hello, mate. How have you been?
    I wonder if you could make a video teaching how to install Debian 12 with wayfire.
    Best regards.

  • @MB982010
    @MB982010 Před rokem +1

    Hey hey, has anyone installed it without "standard system utilities" ? I would just like to avoid the installation of software that i don't plan on using for example libre office etc. Does unticking this field skip the installation of those packages? Thanks

  • @mathieuberthalay21
    @mathieuberthalay21 Před 9 měsíci

    Thank you for your video

  • @ednecker4525
    @ednecker4525 Před rokem

    hi i have 3 vms with 12 installed and same problem i have had firstly vm tools installed and on drag an drop no copy paste then theirs the issue were i cant play a movie from the network it wants to download it from the network then play it used to stream

  • @user-73ham
    @user-73ham Před měsícem

    Jay, I appreciate the detailed sequences that you provided to make the install process easy, BUT in the intervening year since your information, nothing looks the same! Maybe my approach missed a key route in the install or some "improvements" have been added. Further guidance would be appreciated.
    Art

  • @luigiprovencher8888
    @luigiprovencher8888 Před rokem +1

    Why do I not see anything about the network interface in the graphical installer?

  • @whocares3132
    @whocares3132 Před 8 měsíci +1

    why did recommend LVM? what is wrong with mdadm raid options?

  • @RenderingUser
    @RenderingUser Před rokem +4

    is there a full offline installer tho?

  • @user-fs5rk6yi1r
    @user-fs5rk6yi1r Před rokem

    Gecko Linux kernel loading problem. Not booting after fresh install . Anyone can help to fix this solution. I used mbr with manual partition. Leap edition wprkx well . Rolling edition fails to boot any desktop environment

  • @MaxWright7
    @MaxWright7 Před 3 měsíci

    The step with the desktop selection is a bit confusing. What does the top most selection "Debian desktop environment" mean? What happens if you select only "GNOME" and nothting else?

  • @borealisaristocles4825
    @borealisaristocles4825 Před 11 měsíci +1

    si ya ubuntu es pesado para mi pc, linux mint seria demasiado, intentare instalar debian ahora

  • @MrArshiyanShortsandfun
    @MrArshiyanShortsandfun Před rokem +1

    Will this work inside gnome boxes?

  • @egyeneskifli7808
    @egyeneskifli7808 Před rokem +1

    And when I hit Continue at the end of the installation it freezes at 85% (Gathering information for installation report...) What a crap.

  • @T4505.
    @T4505. Před 10 měsíci +4

    GNOME comes with some 'bloatware' and I hate it (some games and other software that I would never use). What I prefer to do during install is uncheck any DE and continue with the installation as normal. Then when the system reboots, I install 'gnome-core' & 'sudo' and I get the bare minimum.

    • @folksurvival
      @folksurvival Před 9 měsíci +1

      Do you know if they install unnecessary bloat with xfce or other DEs?

    • @T4505.
      @T4505. Před 9 měsíci +2

      @@folksurvival unfortunately I don't know. I've been using GNOME since I started using Linux due to its minimalism.
      You can run the live version of Debian with XFCE and see if it's good for you. Otherwise you could install a Debian (XFCE) VM and check both the full version of the DE and then the core version only.
      Should be noted that when I say 'bloatware', I mean stuff that I personally would never use. For others it may be completely fine. I like the DE completely 'barebones', so I can install anything else myself while starting with only the necessary apps.

  • @liviuheinrich9277
    @liviuheinrich9277 Před rokem

    Could you make a video tutorial explaining how to configure RAID1 with encryption and install Debian? And how to recover/rebuild an encrypted RAID1 when one disk dies?

    • @MarkusHobelsberger
      @MarkusHobelsberger Před rokem

      Would love to see something like that
      manual setup of madam and cryptsetup go :D I did all of this at least once, but it would nice to have a refresher from time to time and it would also help out people who didn't do this already^^

  • @samuelitooooo
    @samuelitooooo Před rokem +1

    4:29 If I choose wireless, are there extra steps that show up?

    • @MarkusHobelsberger
      @MarkusHobelsberger Před rokem +1

      I figure you might need to enter your wireless password, but apart from that it should be very similar.

  • @bakabaka8999
    @bakabaka8999 Před 10 měsíci +1

    2:11 "As soon as you start your computer or server from the NetInstall image, ..." O_o
    What?! How to start the computer with the image? The debian site (with "netinst" in the path) propose only CD-ROM images. Are they OK to be dd-ed to a flash drive and boot from them? What are the pitfalls with the modern UEFI-related stuff? (Now it is some magic: it is either works or fails with no apparent reason. (It was much simpler (in some way) when I was installing Slackware in 1997 from floppy-disks.))

    • @TooSlowTube
      @TooSlowTube Před 7 měsíci

      You can download an ISO and burn it to a USB thumb drive, with Rufus or Belena Etcher.

  • @borisderzhavets1566
    @borisderzhavets1566 Před 11 dny

    Skipping explanation of option of Manual partitioning seems to be a serious disadvantage for understanding Debian Network Installer for Enterprise deployments. It doesn't allow to compare Debian Installer with Suse Tumbleweed Installer as well as Fedora's Anaconda (Blivet GUI) .

  • @MarkusHobelsberger
    @MarkusHobelsberger Před rokem +6

    Interesting choice of the debian team to default to only 30 GB for / when doing automatic partition. While that should be enough for most systems, it's a really low default setting imo. I'd rather go for 50 GB in that scenario tbh.

  • @Pekhal82
    @Pekhal82 Před 9 měsíci +1

    I thought I gonna change OS finally. Soon as i hit enter to Install or Graphical install I get graphical errors, Ubuntu works fine. I have AMD 2400G apu. Maybe ten more years waiting will help.

    • @TooSlowTube
      @TooSlowTube Před 7 měsíci

      The non-graphical options are text based, using the keyboard arrows and Enter to select things. Probably a surer method.

  • @liet9280
    @liet9280 Před rokem +4

    Too bad there is no possibility to install BTRFS RAID from the installer :(

    • @MarkusHobelsberger
      @MarkusHobelsberger Před rokem

      Agreed. I'm not familiar with that installer, but is there really no option to launch a command line during or before the installation to set up partitioning? Also you might need to chroot into the newly installed system to update the initramfs if you want a custom mdadm or cryptsetup configuration.

  • @rondencer5227
    @rondencer5227 Před 11 měsíci

    My problem was it won't update.something about cdrom

  • @rondencer5227
    @rondencer5227 Před 11 měsíci +1

    I guess i will reinstall it and see did something wrong.

  • @jellobob3103
    @jellobob3103 Před 2 měsíci

    i cant get it to install???

  • @MirrorMingle
    @MirrorMingle Před rokem

    My Wi-Fi don't work on debian pls help

  • @RahMr2010
    @RahMr2010 Před 11 měsíci +1

    what is the loggin info for Debian 12

  • @ashbrmi
    @ashbrmi Před 5 měsíci

    Hi Jay, I signed up to your community 3 hours ago. Am still waiting for the confirmation email. (It is not in the spam folder.) Best regards, Michael Ashbrook

  • @jimmiejosefsson36
    @jimmiejosefsson36 Před rokem

    Has anybody tried to install it on laptop with emmc drive? It's a hazzle to find a distro that works on that. So far I only found one that works out of the box, and that is Deepin. Seems like all emmc laptops only recognizes Windows as operating system.

    • @Smittron
      @Smittron Před rokem +1

      I found that Debian 11 would install on eMMC devices but then wouldn't define the boot partition. I was able to use the tool on the Debian 11 installation media to fix this. I've had no problems installing Debian testing on eMMC for the last couple of months so I'm assuming Debian 12 will work too. I've also installed Linux Mint and the 'buntus 22.04 on eMMC devices.

    • @jockfaire
      @jockfaire Před 9 měsíci +1

      I installed it on an NVME SSD drive using the manual partitioning method but it won't boot. I'm getting an error about the vmlinuz file not found . However in the GRUB menu command line i can see the partitions.

  • @louchitchat
    @louchitchat Před rokem

    V nice video

  • @JO-zl7kl
    @JO-zl7kl Před rokem

    Holy, the definition of chatting.

  • @guilherme5094
    @guilherme5094 Před rokem

    👍

  • @JO-zl7kl
    @JO-zl7kl Před rokem

    4 minutes to set a domain. 4 minutes to set a password. 4 min to wipe drive. 4 min to pick gui. I see 4 patternz

  • @seabreeze9296
    @seabreeze9296 Před rokem +2

    just installed debian 12 an hour ago and already finding errors LOL can't install google chrome, terminal commands not working or not recognized. terminal saying in not part of some group everytime, getting errors trying to update.
    Do you Work for these people?

  • @peatmoss4415
    @peatmoss4415 Před rokem +1

    You'll be sorry! Just warning you. 1st you'll be disappointed then you'll be sorry....

  • @user-ir1ix8up8j
    @user-ir1ix8up8j Před 10 měsíci +2

    debian 12 will not boot

  • @lirics5864
    @lirics5864 Před 9 měsíci

    If you have no idea what I'm talking about 😂

  • @eglinfo1
    @eglinfo1 Před 9 měsíci +3

    I used the net install. I tried installing int on virtualbox and it just does not work period. So why don't do a video to install it on virtualbox. Real bad distro.

    • @mada_estampados
      @mada_estampados Před měsícem +1

      In my case it did work... What was the issue

    • @rockhopper01
      @rockhopper01 Před 13 dny

      Worked for me too, very easy. I would say check VM settings first. Did you set the Network to “bridged”?

  • @OG900Aero
    @OG900Aero Před rokem

    Nothing special. Would be great video for automatization install from file example.

  • @nelsono4315
    @nelsono4315 Před rokem +2

    does Debian 12 work on a non-UEFI system, like MBR?

  • @nelsono4315
    @nelsono4315 Před rokem +1

    so I am having the strangest problem. I tried installing Debian 12 and the install went just fine. When I reboot I get the Grub menu and then after that a script runs, then the screen goes blank. No login screen. I tried it on 2 different SSD drives, same thing. I have installed many different versions of Linux on hardware and in VMs, no issues like this. The computer I am typing this from is running the latest version of MX Linux. I did try using the same Debian 12 ISO on a VM and it worked just fine. I'm officially stumped. Any ideas? Thank You!

    • @romancvijanovic7130
      @romancvijanovic7130 Před rokem +2

      Have you tried switching to a different tty?
      Maybe the system booted, but something went wrong with the display manager, desktop environment oder graphics driver.
      Debian usually places the default tty to tty7 I believe (ctrl + alt + f7). You can swap to another by pressing for example ctrl + alt + f7.
      Alternatively. You can also install debian 12 without any desktop environments. Installing an environment is fairly easy nowadays and only requires you to install a desktop manager and a desktop environment. Hence it's no issue to install a desktop environment after installing a base system without a gui.

    • @nelsono4315
      @nelsono4315 Před rokem +2

      @@romancvijanovic7130 yeah, I'll skip the desktop environment and see how that goes. I had checked on Plasma as the DE but like you said, I can always do that later. I don't have much experience with Debian aside from using MX Linux. My daily driver for the most part has been Arch Linux. I do like to try different distros. Thanks for the suggestion.

    • @nelsono4315
      @nelsono4315 Před rokem +1

      @@romancvijanovic7130 it's been tricky but I finally got Debian 12 running. I installed without the desktop environment. I then found a video that showed me how to install a DE. Took about 20 minutes to install all. When I rebooted I got the same black screen. I decided to download the amd64 ISO even though I have an Intel processor. I did a straight install with KDE selected and when I rebooted I finally got to the login screen. Then I had to find a video on how to add my user account to the sudo group. Mission accomplished. Debian is up and running. Took some doing but I got it going. 🙂
      I am far from being an advanced Linux user so things take me longer to figure out. I rely quite a bit on CZcams University

    • @romancvijanovic7130
      @romancvijanovic7130 Před rokem +3

      @@nelsono4315 Ah, I see the issue here. You probably downloaded the intel386 iso, right?
      you interpreted it wrongly, but this easily happens because of the confusing names.
      amd64 and i386 don't necessarily mean they are for either amd or intel cpus. They describe which architectures is used. In laymen terms "architecture" can be described as what instruction sets the cpus use. As on what register is used in what case.
      i386 architecture is the oder 32 bit version of the cpus. It has the name "intel" in its name, because intel created that instruction set and popularized it.
      Simlarly amd64 - it simply means it's an instruction set for 64 bit cpus. As you can guess, the creator of the instruction set is amd. They popularized that instruction sets for the 64 bit infrastruction and now the majority of consumer cpus you find on the market are x86-64 capable.
      If you aren't sure which architecture your CPU is, you can simply google it. If you already have a running linux on it running "lscpu | grep -i archi" or "sudo dmidecode -t processor" and checking for the characteristics.
      Now I'm just guessing here and you really have a 32 bit cpu, but I doubt that considering your success with and amd64 architecture installer.
      But to summarize it (tl;dr)
      AMD64 means it's a 64 bit architecture which 64 bit intel cpus also use. if you have a 32 bit cpu you use i386 iso, if you have an arm64 cpu you use the arm64 iso.
      I hope this helps you.

    • @nelsono4315
      @nelsono4315 Před rokem +1

      @@romancvijanovic7130 yes, I initially downloaded the i386 ISO and that's the one that gave me problems. Like you said, the name threw me off. The AMD ISO is the one that worked. An innocent enough mistake I guess. Live and learn. Now Debian is running as I expected it to. I'm a longtime Windows user, since the mid 90s. I decided to dive into Linux during the pandemic shutdown. Most of the distros I tried were in a virtual machine. I then took the leap and installed a couple of distros on actual hardware. I converted one of my desktops to run Linux full time. I have preferred the Arch-based distros. But hey, I do appreciate all of your input and help. I'll continue on my Linux journey. 🙂