Skip to main content

Posts

How Linux Boots

How Linux boots As it turns out, there isn't much to the boot process:    1. A boot loader finds the kernel image on the disk, loads it into memory, and starts it.    2. The kernel initializes the devices and its drivers.    3. The kernel mounts the root filesystem.    4. The kernel starts a program called init.    5. init sets the rest of the processes in motion.    6. The last processes that init starts as part of the boot sequence allow you to log in. Identifying each stage of the boot process is invaluable in fixing boot problems and understanding the system as a whole. To start, zero in on the boot loader, which is the initial screen or prompt you get after the computer does its power-on self-test, asking which operating system to run. After you make a choice, the boot loader runs the Linux kernel, handing control of the system to the kernel. There is a detailed discussion of the kernel elsewhere in this book from which this article is excerpted. This article cover

Hacking for Dummies

Hacking for Dummies Contents of Volume 2: Internet for Dummies Linux! Introduction to TCP/IP Port Surfing! ____________________________________________________________ GUIDE TO (mostly) HARMLESS HACKING Vol. 2 Number 1 Internet for Dummies -- skip this if you are a Unix wizard. But if you read on you’ll get some more kewl hacking instructions. ____________________________________________________________ The six Guides to (mostly) Harmless Hacking of Vol. 1 jumped immediately into how-to hacking tricks. But if you are like me, all those details of probing ports and playing with hypotheses and pinging down hosts gets a little dizzying. So how about catching our breath, standing back and reviewing what the heck it is that we are playing with? Once we get the basics under control, we then can move on to serious hacking. Also, I have been wrestling with my conscience over whether to start giving you step-by-step instructions on how to gain root access to other peoples’ computers. The litt