Live data from Hacker News

Ask HN: Where can I find a primer on how computers boot?

news.ycombinator.com

41–50 of 96 posts

Re: Ask HN: Where can I find a primer on how computers boot?

#41

I honestly had a very good exchange about this exact topic with ChatGPT not too long ago. It was able to draw connections between the different stages that blog posts/wikis about each often do not. Specifically I was asking about the Linux boot process and it was able to go into enough detail for me to Google for the rest. Hope that helps.

Also, heads up: GPT-4 is night and day smarter than regular ChatGPT and totally worth the subscription price if using it for general research.

Re: Ask HN: Where can I find a primer on how computers boot?

#42
I wondered about an adjacent topic recently ("what IS the kernel actually") and found out that a great way to understand it, would be to start with the boot process. Once I felt less lost, I tried to capture my learnings [1]

The text is not edited yet, but as I had the benefit of learning about it with fresh eyes, it should be very approachable (and hopefully accurate enough)

[1] https://vsupalov.com/demystifying-kernel/

Re: Ask HN: Where can I find a primer on how computers boot?

#43
post #15

https://osdev.org has a lot of resources about this. Your computer and all of its hardware are built on standards. For the most part, they are adhered to by hardware and BIOS manufacturers. GRUB et al are just abstracting those away because they're obtuse and not very ergonomic to work with from day to day.

I also recommend the OSDev Wiki. It also includes information you’d need to write your own bootloader, if that’s what you want to do.

Re: Ask HN: Where can I find a primer on how computers boot?

#45

I honestly had a very good exchange about this exact topic with ChatGPT not too long ago. It was able to draw connections between the different stages that blog posts/wikis about each often do not. Specifically I was asking about the Linux boot process and it was able to go into enough detail for me to Google for the rest. Hope that helps.

I'd be very interested to know what Ask HN posts will actually be answered by HN better than by ChatGPT. Maybe those will be things that we excel at.

Re: Ask HN: Where can I find a primer on how computers boot?

#46

I wondered about an adjacent topic recently ("what IS the kernel actually") and found out that a great way to understand it, would be to start with the boot process. Once I felt less lost, I tried to capture my learnings [1] The text is not edited yet, but as I had the benefit of learning about it with fresh eyes, it should be very approachable (and hopefully accurate enough) [1] https://vsupalov.com/demystifying-ker…

> It’s firmware time. Your machine has a motherboard, there is a chip on it which has had BIOS (Basic Input/Output System) flashed on it.

I wonder if it's worth it to call out the "processor microcode" firmware? Any cool startup things happen at that low level as well?

Re: Ask HN: Where can I find a primer on how computers boot?

#48
post #25

Most of the links here help with your immediate questions, but if starting with base concepts and first principles is appealing to you, I have to recommend: - the MIT Operating Systems Engineering OCW course [^1] - specifically, Lecture #2 [^2] which describes the bootloader for 'xv6', a reimplementation of Unix v6, which does a great job showing what a solid OS with all the basics look like [^1]: https://ocw.mit.edu…

I'd also recommend this. There's even more information on a newer version of this course's site, 6.S081 [^1].

[^1]: https://pdos.csail.mit.edu/6.S081/2020/schedule.html

Re: Ask HN: Where can I find a primer on how computers boot?

#50
post #25

Most of the links here help with your immediate questions, but if starting with base concepts and first principles is appealing to you, I have to recommend: - the MIT Operating Systems Engineering OCW course [^1] - specifically, Lecture #2 [^2] which describes the bootloader for 'xv6', a reimplementation of Unix v6, which does a great job showing what a solid OS with all the basics look like [^1]: https://ocw.mit.edu…

[^1]: http://3zanders.co.uk/2017/10/13/writing-a-bootloader/ [^2]: https://wiki.osdev.org/Main_Page
Post reply on HN