Linux Kernel Programming 01: Compile and Boot

Sdílet
Vložit
  • čas přidán 30. 06. 2024
  • In this video, we download the Linux Kernel source code, configure the development environment, compile the Kernel and boot it
  • Věda a technologie

Komentáře • 100

  • @michelef406
    @michelef406 Před 2 lety +62

    When you hear an Indian accent you know you will learn a lot of good stuff, but when you hear a german one oh boy, you know you are in for something epic.

    • @duckydude20
      @duckydude20 Před rokem +17

      i don't find first one to be true apart from memes. i skip Indian channels...

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

      @@duckydude20

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

      Ah yes, the two genders /s

    • @YourMom-rg5jk
      @YourMom-rg5jk Před 2 měsíci

      ​@@duckydude20nah they got good rundowns of some algorithms

    • @peepeepoopoo9113
      @peepeepoopoo9113 Před měsícem

      ​@@duckydude20Indian channels are what carried me in my computer architecture class.

  • @sourav_-_7038
    @sourav_-_7038 Před 2 lety +8

    youre a good and solid teacher.
    wish i had someone like you in my college, learned alot and it would be fun.

  • @RaveYoda
    @RaveYoda Před 3 lety +39

    This is the best channel on youtube...period! I feel like with how you explain things I'm really learning some new stuff I wasn't aware of and can infer from your explanations other topics for future research on my part. Thank you for being so awesome!!

  • @theoriginalneckbeard
    @theoriginalneckbeard Před 21 dnem

    You're one of the very few German programmers / tech dudes that don't drift off into cringey clickbait and thumbmail territory trying to serve the noobs just for traffic.
    To the point and informational.
    Ich danke dir!

  • @Zain-ks8ws
    @Zain-ks8ws Před rokem +13

    I came to this video a year ago, did not understand anything and was sad. I made a pact to learn Linux and return to this video one day. Now, I enjoy every second of it. Thank you.

    • @HK-sw3vi
      @HK-sw3vi Před rokem +1

      thats the way my dude

    • @225aked2
      @225aked2 Před rokem

      Please can we use another linux distro such as kali Linux to create our own distro ? Or it’s impossible and I must install necessarily arch Linux ?

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

      @@225aked2 Of course you can!

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

    Hi Viktor (hope I got the spelling close) , the YT algorithm queued this video up for me and I followed along using Ubuntu 20.4 atop the Linux 6.5 kernel. I successfully built and installed the 6.9 Linux kernel.
    Of course I ran into quite a few issues as you mentioned we would, but with a little thought and web searching simple solutions were found for each issue. Thanks for making a solid, content packed, educational video that stands the test of time. I'm looking forward to the next video in the series. THANKS!!!

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

    It's been some time since I've compiled a kernel. This was useful for showing me how to mess with grub for booting it or if something goes wrong.

  • @__J____ff
    @__J____ff Před měsícem +2

    many men went through this video as a rabbit hole - I would prefer it from a german !!!! Vielen Dank !

  • @edwardhong6631
    @edwardhong6631 Před 3 lety

    That's amazing !!! This is my first comment on youtube. Your channel is so awesome and i really learn a lot. Thank you, Sir! God bless you.

  • @takshpatel8109
    @takshpatel8109 Před 2 lety

    One of the best channel for linux. best for kernel and OS specific videos

  • @clinthsu7229
    @clinthsu7229 Před rokem +1

    It's a really good Linux kernel course, good to understand, easy to operate, thanks for sharing!

  • @dj_e8
    @dj_e8 Před rokem +2

    In our engineering studies we tried to harden a internet facing server (it was used to run wordpress in docker) and after scanning the vulnerabilities with lynis I thought to myself "how the hell are we going to fiddle with kernel to remove some of these vulnerable components to make this server more secure"... Fast forward 2 weeks and this video sums it up nicely. Thanks for this video series :)

  • @dr.deathvolt3058
    @dr.deathvolt3058 Před 3 lety +6

    Love this Original content ❤️ keep going sir we need more ❤️😉

  • @agranee98
    @agranee98 Před 3 lety +2

    The amount of information is mind blowing❤

  • @Sdirimohamedsalah
    @Sdirimohamedsalah Před rokem

    I have no words to say! you deserve thousands of thanks and likes. I which you all the best !

  • @benhurrodriguez1807
    @benhurrodriguez1807 Před 2 lety

    This is excellent, and I love it. Don't stop making videos, Thank you :)

  • @ranjanmangla
    @ranjanmangla Před měsícem

    this channel is pure gold...thank you very much for the content

  • @kanfotechnology4818
    @kanfotechnology4818 Před 3 lety +1

    Thank You so much sir for updating this i was waiting for updation of os development series and finally i got new stuffs in this ........Thank U Thank U so much sir...You are doing best job to teach about operating system development

  • @rotrose7531
    @rotrose7531 Před 2 lety +6

    I never dreamed anyone would make a series like this, absolutely fantastic.
    I would like to know how many lectures will have in this series? I just hope more and more
    Also a little request, could you please do a series on The Linux Programming Interface,
    The book I know it is good, but a little too hard for a beginners to follow.

  • @araujo_88
    @araujo_88 Před 2 lety

    This channel is a gem

  • @anthonyheak3479
    @anthonyheak3479 Před 3 měsíci +1

    Great step by step explanation, thanks!

  • @WebSurfingIsMyPastime
    @WebSurfingIsMyPastime Před 4 měsíci

    I was looking for this! Great content

  • @0xdeadbeer
    @0xdeadbeer Před 3 lety +1

    💪💪Love your series keep it up!💚

  • @srsr6099
    @srsr6099 Před 2 lety

    Wow, that was fab. Thanks man, you made my day.

  • @kavenderaspe6626
    @kavenderaspe6626 Před 2 lety

    My god, finally one channel youtube algorithm suggested me that make sense. Subscribed, :D

  • @mpwsh
    @mpwsh Před 3 lety

    Thanks a lot for this. You are an excellent teacher

  • @io_inc
    @io_inc Před 3 lety

    Great video man, I'm definitely subscribing to your channel... thanks again.

  • @user-ui7mj4kh3w
    @user-ui7mj4kh3w Před 2 lety

    These series that I love so much

  • @KwanLowe
    @KwanLowe Před 2 lety

    Excellent tutorial. Thank you for sharing.

  • @daniel-pineapple
    @daniel-pineapple Před 2 lety

    Thank you so much for this awesome video!

  • @trungthanhbp
    @trungthanhbp Před 3 lety

    really love this content

  • @HarryKiess-dz4ts
    @HarryKiess-dz4ts Před měsícem

    Appreciate your efforts

  • @4x5au
    @4x5au Před 2 lety

    Awesome video!

  • @ahmedwahdan672
    @ahmedwahdan672 Před 2 lety

    Thanks for the effort!

  • @user-ww6iq7te5p
    @user-ww6iq7te5p Před 2 lety

    great job!

  • @seanpayne9124
    @seanpayne9124 Před 2 lety +2

    I really appreciate you putting together these videos. I have a question. I've been reading through kernalnewbies and trying to find the current list of simple bugs they recommend for new contributors to solve, but it seems that most of the links are broken or that the site is not well maintained. Do you have a suggestion of where to simple bugs for new contributors?

  • @msr4553
    @msr4553 Před 3 lety

    very good teaching indeed..

  • @stebberg
    @stebberg Před 2 lety

    Very nice!!

  • @wilk85
    @wilk85 Před 8 měsíci

    Thank you that was really helpfull for beginning :)

  • @kumar2501
    @kumar2501 Před 2 lety

    excellent sir. like tutorial

  • @bambangndwi
    @bambangndwi Před 22 dny

    Keep up ❤

  • @AndrewCodeDev
    @AndrewCodeDev Před rokem

    Thank you!

  • @uwuwgrhdhwj
    @uwuwgrhdhwj Před 2 lety

    Saw this video, insta subscription

  • @lopyus
    @lopyus Před 3 lety

    I will click on ads if you keep uploading such content❤️

  • @drntrThGmr
    @drntrThGmr Před 2 lety +2

    16:25 If you can not find the config file in /proc, maybe it is located in /boot. In my case, for instance, the file is:
    _/boot/config-5.4.0-81-generic_

  • @farfaraway2006
    @farfaraway2006 Před 2 lety

    hello world was fantastic

  • @abdallahalsahhar9511
    @abdallahalsahhar9511 Před 3 lety +1

    Thanks a lot, if you could turn up the audio that would be great.

  • @kamalchan9756
    @kamalchan9756 Před 2 lety

    Love linux

  • @mkhan49497
    @mkhan49497 Před 8 měsíci

    Thanks a lot, It was a great course. if you have any linux kernel development course, let me know thanks

  • @billgatest7563
    @billgatest7563 Před 3 lety

    Thank youuu

  • @eibwen8228
    @eibwen8228 Před 2 lety +1

    A peculiar thing happened. I was unable to access the .config file, as it says there is no existing file with that name, however my "make menuconfig" appeared identical to yours. Any ideas as to why this is?

  • @HelloWorld-tn1tl
    @HelloWorld-tn1tl Před 2 lety

    Succeed to compile & install the new kernel ubuntu, and I don't have to edit grub related config file, new kernel become available & is the default one automatically. I prefer `mint mate` which is based on ubuntu, and very easy to use.

  • @AhmedEssam_eramax
    @AhmedEssam_eramax Před rokem

    thanks

  • @recepbashir7216
    @recepbashir7216 Před 2 lety

    nice, thanks, subscribe

  • @mohamedabdalhady3163
    @mohamedabdalhady3163 Před 3 lety

    What the technology should I know to build operating system
    I know programming language like c++
    What other things I should learn before starting this tetorial

  • @mousinahanger7621
    @mousinahanger7621 Před 4 měsíci +1

    imagine how hard would that be when there was no compiled linux, i mean who did it at the first place without using linux itself?

  • @dannydai1
    @dannydai1 Před 10 měsíci

    I love your channel name. Write ur own os. It surely is my desire. But I don’t anything about Linux programin. Just use C. Hope to learn from u.

  • @mehmetekyazilim5
    @mehmetekyazilim5 Před 3 lety

    How to make an icon that shows how much charge the computer has left?

  • @gauravpride1985
    @gauravpride1985 Před 2 lety

    Linux phy driver : Dear, Please how can I verify the kernel build-in modules' functionalities ( PhY driver /driver/net/PHY/ ) with small changes. I am able to build the kernel and modules. Do I need to compile and build a device tree?
    What is the procedure to verify the kernel modules on the target?
    I have copied the kernel to
    /boot/Image and
    modules to
    /usr/lib/uname -r/modules/ ..
    .but still on my target the module is not working ..Please suggest.

  • @ycombinator765
    @ycombinator765 Před rokem

    the background parses in kdevelop is stuck at 30% ... Please help me out, I devoured internet, but can't get it fixed. Thanks for putting this out

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

    Robert Paulson from Fight Club

  • @lunaticsugarboo9759
    @lunaticsugarboo9759 Před rokem

    Hey, I'm really intrigued by your videos, and want to discuss some topics. Is there a way we can communicate other than CZcams comments

  • @phicoding7533
    @phicoding7533 Před 2 lety

    chad.

  • @mpotane
    @mpotane Před 3 lety

    You don't need to install all the programs needed in the documentation, most of those aren't needed and some included in your base system.
    Personally I don't want modules , I want everything build directly to the hardware I am using.
    Instead of using `make mrproper` when the compiling result to error you should `make clean` instead.
    Here's what I do If I want to build kernel.
    1.) make mrproper # This command should be the 1st step.
    2.) make defconfig # This command will create the config file based on your architecture (~x86_64).
    3.) make menuconfig # This will spawn ncurses based menu to edit your configurations.
    4.) nice ionice -c 3 make -j`nproc`. # This command will compile the kernel, note install the tools needed by checking the errors.
    5.) copy the System.map and bzImage(vmlinuz) to boot directory.
    6.) update the grub configurations. # This is done better automatically, you can edit the vmlinuz like "vmlinuz-5.11_1000" to make it as default entry.
    Anyhow, what a great video not many are doing these things nowadays.

  • @wilfriedgoeh3351
    @wilfriedgoeh3351 Před 2 lety

    nice can you teach us how to create our own virtual device?

  • @bendywills859
    @bendywills859 Před 2 lety

    Can you make a tutorial on running this in a Virtual Machine?

  • @alexander3293
    @alexander3293 Před 3 lety +1

    genau das ist der content bei dem man seinen adblocker auch gerne mal deaktiviert!!

  • @Awwe12675
    @Awwe12675 Před 2 lety

    Brother can you help me i have been looking for books to learn kernel
    I know c language

  • @hp21693
    @hp21693 Před rokem

    Hi,
    I am using Ubuntu 18.04LTS with linux kernel max 5.4.0 version
    I installed it from the repository of Ubuntu
    But now I installed linux kernel 6.3.4 from source code (succeed), but I can not install linux-header-6.3.4 from source code. How do I can install linux-header-6.3.4?, the repository of Ubuntu not support linux-header-6.3.4 version.
    I need rebuild nividia driver from linux kerner 6.3.4 version.

  • @rajcodes100
    @rajcodes100 Před 3 lety

    hello sir - I don't have a linux machine so can I do all of this using a raspberrypi?

    • @samuelhulme8347
      @samuelhulme8347 Před 2 lety +1

      Raspberry pi runs Linux so yes, A Linux machine can be any computer, not a Mac!

    • @rajcodes100
      @rajcodes100 Před 2 lety

      @@samuelhulme8347 thanks @Samuel Hulme

    • @samuelhulme8347
      @samuelhulme8347 Před 2 lety

      @@rajcodes100 however the assembly code he makes is in x86 assembly, so look up for the other comments that talk about that

  • @volkerking5932
    @volkerking5932 Před 2 lety

    I'm sorry but I don't install a lot of need programmes. There is for example a 'Paket pahole kann nicht gefunden werden'? and others what can I do? Danke Volker aus Wien dann noche in kleiner Tipp bitte drehe dein Mikro um einiges lauter denn ich tue mir echt schwer die sanfte Stimme gut und laut zu hören trotzdem Super Video! (Wenn auch mit Fokus Troubles) :-) Thumbs up Nr.662
    Also the command zcat /proc/config.gz can't find the config file - I've a watch in /proc but there is no fiel exist where i can get my kernel config?
    Unfortunately in my Mint 20.2 the =off so there is no /proc/config.gz what can I do?

  • @HelloWorld-tn1tl
    @HelloWorld-tn1tl Před 2 lety

    `sudo apt install libelf-dev` I need this command to compile on ubuntu-based system.

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

    please for me recent get link download kernal , i can't known down where , please who for me

  • @batuhanbatuhan4131
    @batuhanbatuhan4131 Před rokem +1

    I have never had an OS course I would like to learn OS by watching this channel but maybe it's better learn OS before this channel. I dont know. Theory is boring.

  • @PauloConstantino167
    @PauloConstantino167 Před 3 lety +5

    you put some weight on since you started this series. you started thin and slim and now you are much bigger

    • @writeyourownoperatingsystem
      @writeyourownoperatingsystem  Před 3 lety +9

      I know. I'm working on losing that weight again

    • @DANiel25178
      @DANiel25178 Před 3 lety +2

      @@writeyourownoperatingsystem wishing you luck on that uneasy journey

    • @PauloConstantino167
      @PauloConstantino167 Před 3 lety +1

      @@writeyourownoperatingsystem But you're looking good and healthy!

    • @ujjwalarora4159
      @ujjwalarora4159 Před 3 lety +3

      I don't understand how that relates to him being an awesome programmer

    • @kaptam678
      @kaptam678 Před 3 lety +1

      @@writeyourownoperatingsystem goodluck man, you got this

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

    it's been two hours kdevelop is still loading

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

      is it because i am using an emulator? i don't wanna risk breaking my own pc. should i buy a rasperpie?

  • @AteebAslam-pz9lv
    @AteebAslam-pz9lv Před 2 měsíci

    Sir, Your voice is very low