Linux Kernel Programming 01: Compile and Boot

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 114

  • @DrVektor
    @DrVektor Месяц назад +4

    If someone decides to develop a kernel, they are probably past the stage of learning the package manager. But you are really thoughtful and kind.

    • @0xcoffee427
      @0xcoffee427 21 день назад

      Robert love Linux kernel development book 3rd edition is still good now to learn the basics?

  • @michelef406
    @michelef406 2 года назад +133

    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 Год назад +35

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

    • @amogu_07
      @amogu_07 8 месяцев назад +1

      @@duckydude20

    • @hope_canyon
      @hope_canyon 7 месяцев назад

      Ah yes, the two genders /s

    • @YourMom-rg5jk
      @YourMom-rg5jk 6 месяцев назад

      ​@@duckydude20nah they got good rundowns of some algorithms

    • @peepeepoopoo9113
      @peepeepoopoo9113 6 месяцев назад

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

  • @Diebe-ks8ws
    @Diebe-ks8ws 2 года назад +19

    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 2 года назад +1

      thats the way my dude

    • @225aked2
      @225aked2 Год назад

      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 8 месяцев назад

      @@225aked2 Of course you can!

  • @johnmoore8599
    @johnmoore8599 Год назад +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.

  • @RaveYoda
    @RaveYoda 3 года назад +41

    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!!

  • @dj_e8
    @dj_e8 Год назад +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 :)

  • @__J____ff
    @__J____ff 6 месяцев назад +3

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

  • @theoriginalneckbeard
    @theoriginalneckbeard 5 месяцев назад +4

    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!

  • @sourav_-_7038
    @sourav_-_7038 3 года назад +9

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

  • @anthonyheak3479
    @anthonyheak3479 8 месяцев назад +1

    Great step by step explanation, thanks!

  • @RetroEcoChicken
    @RetroEcoChicken 4 месяца назад

    great video, thank you for finally starting form scratch and explaining. i hate how so many people write all the code previously then want you to just do what they do......... i need to understand why im doing what im doing.

  • @araujo_88
    @araujo_88 2 года назад +1

    This channel is a gem

  • @clinthsu7229
    @clinthsu7229 Год назад +1

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

  • @ranjanmangla
    @ranjanmangla 6 месяцев назад

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

  • @takshpatel8109
    @takshpatel8109 2 года назад

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

  • @TopTierTales-ux4se
    @TopTierTales-ux4se Месяц назад +1

    I hope that I may one day contribute to the linux kernel.

  • @rotrose7531
    @rotrose7531 3 года назад +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.

  • @drntrThGmr
    @drntrThGmr 3 года назад +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_

  • @agranee98
    @agranee98 3 года назад +2

    The amount of information is mind blowing❤

  • @dr.deathvolt3058
    @dr.deathvolt3058 3 года назад +6

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

  • @kanfotechnology4818
    @kanfotechnology4818 3 года назад +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

  • @Sdirimohamedsalah
    @Sdirimohamedsalah Год назад

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

  • @jacekszymaniuk1394
    @jacekszymaniuk1394 Месяц назад

    Thanks for this tutorial, I will try to compile a minimalist kernel for an old nootebook with Intel Atom cpu. How can I generate a package with a ready-made kernel to transfer it to another computer?

  • @陈政友
    @陈政友 3 года назад

    These series that I love so much

  • @kavenderaspe6626
    @kavenderaspe6626 3 года назад

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

  • @Elbwen
    @Elbwen 3 года назад +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?

  • @mousinahanger7621
    @mousinahanger7621 9 месяцев назад +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?

  • @edwardhong6631
    @edwardhong6631 3 года назад

    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.

  • @WebSurfingIsMyPastime
    @WebSurfingIsMyPastime 9 месяцев назад

    I was looking for this! Great content

  • @zekochyoudesuyo
    @zekochyoudesuyo 6 месяцев назад +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!!!

  • @gauravpride1985
    @gauravpride1985 2 года назад

    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.

  • @Feedback406
    @Feedback406 2 месяца назад

    Your my hero thank you and automatic subscribe!!

  • @seanpayne9124
    @seanpayne9124 3 года назад +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?

  • @KwanLowe
    @KwanLowe 2 года назад

    Excellent tutorial. Thank you for sharing.

  • @benhurrodriguez1807
    @benhurrodriguez1807 3 года назад

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

  • @abdallahalsahhar9511
    @abdallahalsahhar9511 3 года назад +1

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

  • @RetroEcoChicken
    @RetroEcoChicken 4 месяца назад

    so cool ! i now have modules/6.10.0-rc6-SIULEI

  • @daniel-pineapple
    @daniel-pineapple 2 года назад

    Thank you so much for this awesome video!

  • @mpwsh
    @mpwsh 3 года назад

    Thanks a lot for this. You are an excellent teacher

  • @ycombinator765
    @ycombinator765 Год назад

    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

  • @mohamedabdalhady3163
    @mohamedabdalhady3163 3 года назад

    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

  • @srsr6099
    @srsr6099 3 года назад

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

  • @io_inc
    @io_inc 3 года назад

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

  • @HarryKiess-dz4ts
    @HarryKiess-dz4ts 6 месяцев назад

    Appreciate your efforts

  • @0xdeadbeer
    @0xdeadbeer 3 года назад +1

    💪💪Love your series keep it up!💚

  • @wilk85
    @wilk85 Год назад

    Thank you that was really helpfull for beginning :)

  • @HelloWorld-tn1tl
    @HelloWorld-tn1tl 3 года назад

    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.

  • @mkhan49497
    @mkhan49497 Год назад

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

  • @hp21693
    @hp21693 Год назад

    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.

  • @lunaticsugarboo9759
    @lunaticsugarboo9759 Год назад

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

  • @lopyus
    @lopyus 3 года назад

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

  • @volkerking5932
    @volkerking5932 2 года назад

    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?

  • @kumar2501
    @kumar2501 3 года назад

    excellent sir. like tutorial

  • @PauloConstantino167
    @PauloConstantino167 3 года назад +5

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

    • @writeyourownoperatingsystem
      @writeyourownoperatingsystem  3 года назад +9

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

    • @DANiel25178
      @DANiel25178 3 года назад +2

      @@writeyourownoperatingsystem wishing you luck on that uneasy journey

    • @PauloConstantino167
      @PauloConstantino167 3 года назад +1

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

    • @ujjwalarora4159
      @ujjwalarora4159 3 года назад +3

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

    • @kaptam678
      @kaptam678 3 года назад +1

      @@writeyourownoperatingsystem goodluck man, you got this

  • @bambangndwi
    @bambangndwi 5 месяцев назад

    Keep up ❤

  • @dannydai1
    @dannydai1 Год назад

    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.

  • @msr4553
    @msr4553 3 года назад

    very good teaching indeed..

  • @mpotane
    @mpotane 3 года назад

    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.

  • @trungthanhbp
    @trungthanhbp 3 года назад

    really love this content

  • @uwuwgrhdhwj
    @uwuwgrhdhwj 2 года назад

    Saw this video, insta subscription

  • @farfaraway2006
    @farfaraway2006 3 года назад

    hello world was fantastic

  • @batuhanbatuhan4131
    @batuhanbatuhan4131 2 года назад +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.

  • @ahmedwahdan672
    @ahmedwahdan672 2 года назад

    Thanks for the effort!

  • @kamalchan9756
    @kamalchan9756 3 года назад

    Love linux

  • @4x5au
    @4x5au 2 года назад

    Awesome video!

  • @bendywills859
    @bendywills859 3 года назад

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

  • @RetroEcoChicken
    @RetroEcoChicken 4 месяца назад

    if someone ends up with error message with db.lock file paste this in terminal sudo pacman -Syyu --debug

  • @mehmetekyazilim5
    @mehmetekyazilim5 3 года назад

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

  • @alexander3293
    @alexander3293 3 года назад +1

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

  • @stebberg
    @stebberg 2 года назад

    Very nice!!

  • @wilfriedgoeh3351
    @wilfriedgoeh3351 2 года назад

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

  • @Awwe12675
    @Awwe12675 3 года назад

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

  • @HelloWorld-tn1tl
    @HelloWorld-tn1tl 3 года назад

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

  • @范顺国
    @范顺国 3 года назад

    great job!

  • @ididthisforreddit2428
    @ididthisforreddit2428 8 месяцев назад

    Robert Paulson from Fight Club

  • @haionepiece
    @haionepiece 10 месяцев назад

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

  • @banyray682
    @banyray682 3 месяца назад

    Do you have link download Linux kernel

  • @AndrewCodeDev
    @AndrewCodeDev 2 года назад

    Thank you!

  • @theskepticcoder7883
    @theskepticcoder7883 7 месяцев назад

    it's been two hours kdevelop is still loading

    • @theskepticcoder7883
      @theskepticcoder7883 7 месяцев назад

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

  • @rajcodes100
    @rajcodes100 3 года назад

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

    • @samuelhulme8347
      @samuelhulme8347 3 года назад +1

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

    • @rajcodes100
      @rajcodes100 3 года назад

      @@samuelhulme8347 thanks @Samuel Hulme

    • @samuelhulme8347
      @samuelhulme8347 3 года назад

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

  • @AhmedEssam_eramax
    @AhmedEssam_eramax Год назад

    thanks

  • @phicoding7533
    @phicoding7533 2 года назад

    chad.

  • @billgatest7563
    @billgatest7563 3 года назад

    Thank youuu

  • @recepbashir7216
    @recepbashir7216 2 года назад

    nice, thanks, subscribe