How Does Linux Boot Process Work?

How Does Linux Boot Process Work?

ByteByteGo

5 месяцев назад

478,115 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@user-hd3pz2ow1b
@user-hd3pz2ow1b - 29.02.2024 12:37

thanks

Ответить
@user-mc7kr5lm8q
@user-mc7kr5lm8q - 25.02.2024 18:08

Excellent demo

Ответить
@Crusaderon
@Crusaderon - 25.02.2024 10:41

Great descriptions... 😊

Ответить
@hammerheadcorvette4
@hammerheadcorvette4 - 23.02.2024 02:37

systemd-boot is great. No fuss just straight to the point !

Ответить
@user-uo6ym4ts3m
@user-uo6ym4ts3m - 20.02.2024 12:11

Anyone.. Which software is used to make this video (animations)?

Ответить
@Bollywood_Tiger
@Bollywood_Tiger - 19.02.2024 07:41

Technically, this is not the linux boot process as initramfs is part of it and not mentioned.

Ответить
@DaengRosanda
@DaengRosanda - 16.02.2024 14:37

very nice video... loved it...

Ответить
@empoweringDev
@empoweringDev - 15.02.2024 14:24

KUDOS! I've never seen such nicer explanation for this.

Ответить
@MartinCharles
@MartinCharles - 14.02.2024 22:19

The information density here is very high

Ответить
@chyldstudios
@chyldstudios - 12.02.2024 17:33

Well done!

Ответить
@bmiller949
@bmiller949 - 11.02.2024 17:16

Great overview. I think is good background info for any OS.

Ответить
@NextSlash69
@NextSlash69 - 10.02.2024 08:18

And imagine that systemd was initially implemented by a single guy named Lennart Poettering.

Ответить
@tyrisnolam
@tyrisnolam - 09.02.2024 04:08

I thought systemd was great until I started using OpenRC. Thanks for the video, nice summary!

Ответить
@piratestreasure2009
@piratestreasure2009 - 08.02.2024 13:11

It is possible to use gpt partitions without needing UEFI. Even old motherboards with intel 775 socket will boot using gpt partitions without UEFI:

"Yes, it is possible to use GPT (GUID Partition Table) partitions without UEFI (Unified Extensible Firmware Interface). GPT is a partitioning scheme for formatting and partitioning hard drives, and it's independent of the firmware interface being used (UEFI or BIOS).

However, the ability to boot from a GPT-partitioned disk depends on the firmware of your system. Most modern systems use UEFI firmware to boot, and UEFI is compatible with both GPT and the older MBR (Master Boot Record) partitioning scheme.

If your system uses the older BIOS (Basic Input/Output System) firmware instead of UEFI, it may have limitations when it comes to booting from GPT disks. Some BIOS systems can boot from GPT disks using a compatibility support module (CSM), while others may not support GPT booting at all.

So, in summary, while you can use GPT partitions without UEFI, the ability to boot from a GPT disk depends on the firmware capabilities of your system."

Ответить
@herrbonk3635
@herrbonk3635 - 07.02.2024 18:51

Does it still take ages (like 5-10 minutes) to start a Linux computer?
I haven't tried since 2003, when I gave up on Linux.

But on the other hand, Windows was almost as embarrassingly slow too at the time.
To me, a computer intended for consumers should start in a second or less, quite literally. Just like a calculator.

Ответить
@Dihmz
@Dihmz - 06.02.2024 16:47

So much nitpicking in the comments. I guess this is what happens when you try to teach linux users lol. Nice overview. Could be a nice quick ref for users.

With how short the common attention span is I think this is a nice start for people trying to learn more about linux.

Thank you

Ответить
@zeppelinmexicano
@zeppelinmexicano - 05.02.2024 21:21

Very nice.

Ответить
@apivovarov2
@apivovarov2 - 05.02.2024 01:31

GRUB2 can be replaced by SystemD-boot too...

Ответить
@maitreerimthong
@maitreerimthong - 04.02.2024 12:17

Great visualization of the entire boot process, Thank you.

Ответить
@mickeycavalier1693
@mickeycavalier1693 - 04.02.2024 07:47

good material.. ByteByteGo! keep it up!

Ответить
@sadeksadaoui8371
@sadeksadaoui8371 - 04.02.2024 05:34

Awsome, great job. thanks a lot for your time. excellent explanation!

Ответить
@Treviath
@Treviath - 03.02.2024 22:00

I think this video could have extended itself to include the graphical boot process. The display manager which boots up the desktop environment.

Ответить
@t1ntakulus
@t1ntakulus - 03.02.2024 03:50

How buggy systemd muddied/destroyed Linux.

Ответить
@AndriiKuftachov
@AndriiKuftachov - 02.02.2024 13:44

I bought your books 📚, but haven't had time to read, by I hope I will do soon.

Ответить
@Sabulany
@Sabulany - 02.02.2024 06:11

this is awesome, the same core idea when develop embedded firmware as well

Ответить
@riigel
@riigel - 30.01.2024 09:04

how do do you do these animations? its nice and clean!

Ответить
@hiteshparashar
@hiteshparashar - 29.01.2024 10:19

Power on karne tak to samajh aaya, chalo bios tak bhi theek hi tha par fir uske baad kuch samajh nahi aaya sasur ji.

Ответить
@MrPepyaker
@MrPepyaker - 28.01.2024 21:22

top screenshot is irrelevant on the kernel loading step

Ответить
@elektronischermeister
@elektronischermeister - 28.01.2024 01:14

In my experience most BIOS implementations boots faster than UEFI ones.

It depends on implementation, not the technology.

Ответить
@code5834
@code5834 - 27.01.2024 14:31

Content I liked

Ответить
@user-sl4th2pu1z
@user-sl4th2pu1z - 27.01.2024 00:42

No way. I just guessed it right. I told exact same on my interview 😂.

Ответить
@sodium.carbide
@sodium.carbide - 26.01.2024 07:19

which system? which linux?

Ответить
@Kevin_Long
@Kevin_Long - 25.01.2024 09:16

This was excellent, well done.

Ответить
@conradbriceno3804
@conradbriceno3804 - 24.01.2024 09:00

🤯

Ответить
@erbenton07
@erbenton07 - 23.01.2024 19:14

I hated systemd when my distro first started using it, but now i think its much better than system V

Ответить
@HN-oq3gf
@HN-oq3gf - 23.01.2024 02:21

thanks for the explanation! this helps!

Ответить
@TheIronSavior
@TheIronSavior - 22.01.2024 23:10

"gwid" 😬

Ответить
@cvabds
@cvabds - 22.01.2024 09:06

Can you do s video like that but about templeOS?

Ответить
@schwartzenheimer1
@schwartzenheimer1 - 20.01.2024 20:55

"Their greatest fear is that somewhere, somewhere, someone is having fun..."

These 'abolitionists' have no respect or esteem for women. The women need to be saved from themselves, because they are not fully volitional? Nonsense. At the core of this nonsense is womens' fear of loss of control of sex. Why would a man submit to the sexual manipulation that women so blithly wield, if it is available commercially?

People just need to mind their own business. More resources should be made available for mental health care, so these whiny idiots can work out their problems without imposing them on others...

Ответить
@trueriver1950
@trueriver1950 - 19.01.2024 15:13

As has already been said, there is a lot going on in each of these steps.

My major criticism is that step 5 simplifies away the usual mechanism of running some code from an initial ramdisk: this is done so that the kernel does not have to contain all the device drivers needed to load whatever modules it needs before the final root partition becomes readable.

That also means that an earlier step needed to load the initial ram disk into memory and tell the kernel where to find it. Grub (or some other boot program like Lilo) will have done this already, so the Grub step should mention that it loads a filesystem containing drivers as well as libraries into ram before passing control to the kernel.

And then, in my opinion, you need an extra step between 4 and 5 for the initial ram stage, that is used to get the system able to actually read the code it needs off the disks. While it does that the kernel only needs to know how to read the initial ramdisk.

More detail follows...

There are two exceptions to what i just said

1. If you compile your own kernel you can arrange that the kernel has all the drivers it needs built in (Gentoo users might do this, knowing in advance exactly what filesystem and hardware will hold the operating system)

2. Puppy (and most Live Disk systems) boot into the ramdisk and never leave it.

For different reasons, both these exceptions slow down system loading (because either the kernel or the ramdisk is huge) but often speeds up running once the boot is complete because the kernel has what it needs in memory at all times, one way or another.

Ответить
@thewelder3538
@thewelder3538 - 17.01.2024 07:44

The main problem with this video, and I don't want to be too critical, is that there's no real-depth in what is going on. Firstly the explanation about the BIOS and POST etc has nothing to do with Linux. That's the hardware initializing itself for the booting of an operating system. The video should have focused from this moment onwards and gone into the details.

Ответить
@GavinMeerwald
@GavinMeerwald - 17.01.2024 02:13

Would be interesting to know how and why BIOS is slower to boot than UEFI.

Ответить
@xuedi
@xuedi - 16.01.2024 19:49

Very lovely & professional made <3

Ответить
@RickySupriyadi
@RickySupriyadi - 16.01.2024 12:53

when I push power button in Linux machine I went into Trance

Ответить
@fhurqaan
@fhurqaan - 16.01.2024 03:03

Using Slackware, no systemd.

Ответить
@baumstamp5989
@baumstamp5989 - 15.01.2024 08:29

we dont use systemd where i live. only dinit

Ответить
@davidoflight1313
@davidoflight1313 - 15.01.2024 05:35

Excellent presentation and narration; whats' used for your animations?

Ответить
@zielony1212
@zielony1212 - 15.01.2024 03:30

This is very general information and explaining how x86 boot itself works is just a waste of time.

Ответить